 @import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');


.emlo-card-container {
    perspective: 1000px;
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    height:800px;
}

.emlo-advisor-card {
    max-width: 340px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: transform 1s ease-in-out;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transform-origin: left right;
}

.emlo-advisor-card.emlo-rotating {
    transform: rotateY(-180deg);
}

.emlo-advisor-card-inner {
    padding: 24px;
}

.emlo-advisor-image {
    max-width:340px;
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
}

/* .emlo-advisor-card::before {
    content: '📌';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
} */

.emlo-advisor-name {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
    color: #1A202C;
    margin-bottom: 16px;
}

.emlo-advisor-description {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: #4A5568;
    margin-bottom: 24px;
}

.emlo-advisor-price {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #1A202C;
    margin-bottom: 16px;
}

.emlo-advisor-price span {
    font-size: 16px;
    font-weight: 400;
    color: #718096;
}

.emlo-select-btn {
    width: 100%;
    background: linear-gradient(135deg, #5B9EFF 0%, #4A8FFF 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


.emlo-select-btn:hover {
    background: linear-gradient(135deg, #4A8FFF 0%, #3978E8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 143, 255, 0.4);
}

.emlo-select-btn:active {
    transform: translateY(0);
}

.emlo-analysis-screen,
.emlo-report-screen {
    max-width: 600px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.emlo-analysis-screen h3,
.emlo-report-screen h3 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #1A202C;
    margin-bottom: 32px;
}

.emlo-language-row {
    display: flex;
    gap: 20px;          /* space between the two dropdowns */
    margin-top: 15px;
}

.emlo-form-group {
    flex: 1;            /* make both equal width */
    display: flex;
    flex-direction: column;
}

.emlo-form-group label {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #2D3748;
    margin-bottom: 8px;
}

.emlo-audio-language,
.emlo-report-language {
    width: 100%;
    padding: 12px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #1A202C;
    background: #F7FAFC;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.emlo-audio-language:focus,
.emlo-report-language:focus {
    outline: none;
    border-color: #5B9EFF;
    background: #FFFFFF;
}

.emlo-drop-zone {
    border: 2px dashed #CBD5E0;
    border-radius: 12px;
    padding: 48px 24px;
    text-align: center;
    background: #F7FAFC;
    transition: all 0.3s ease;
    margin-bottom: 24px;
    cursor: pointer;
}

.emlo-drop-zone:hover {
    border-color: #5B9EFF;
    background: #EBF4FF;
}

.emlo-drop-zone.drag-over {
    border-color: #5B9EFF;
    background: #EBF4FF;
    transform: scale(1.02);
}

.emlo-drop-zone p {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #718096;
    margin: 8px 0;
}

.emlo-file-input {
    display: none;
}

.emlo-important-message {
    margin-top: 16px;
    padding: 12px;
    background: #FFF5E6;
    border-left: 4px solid #F6AD55;
    border-radius: 6px;
    font-size: 13px !important;
    color: #744210 !important;
    text-align: left;
}

.emlo-audio-min-length,
.emlo-audio-max-length {
    font-weight: 700;
    color: #C05621;
}

.emlo-uploaded-files {
    margin-bottom: 24px;
}

.emlo-uploaded-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #F7FAFC;
    border-radius: 10px;
    margin-bottom: 8px;
}

.emlo-uploaded-file span {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #2D3748;
}

.emlo-remove-file {
    background: none;
    border: none;
    color: #E53E3E;
    cursor: pointer;
    font-size: 18px;
}

.emlo-terms-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.emlo-terms-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #5B9EFF;
}

.emlo-terms-checkbox label {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #4A5568;
    cursor: pointer;
}

.emlo-price-display {
    background: #EBF4FF;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 24px;
    text-align: center;
}

.emlo-price-display,
.emlo-analysis-price {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #2C5282;
}

.emlo-analyze-btn {
    width: 100%;
    background: linear-gradient(135deg, #5B9EFF 0%, #4A8FFF 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.emlo-analyze-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 143, 255, 0.4);
}

.emlo-analyze-btn:disabled {
    background: #CBD5E0;
    cursor: not-allowed;
    transform: none;
}

.emlo-progress-bar {
    width: 100%;
    height: 48px;
    background: #F7FAFC;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
}

.emlo-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #5B9EFF 0%, #4A8FFF 100%);
    transition: width 0.3s ease;
    border-radius: 24px;
}

.emlo-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #1A202C;
}

.emlo-error-message {
    padding: 12px 16px;
    background: #FED7D7;
    border-left: 4px solid #E53E3E;
    border-radius: 6px;
    color: #742A2A;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    display: none;
}

.emlo-error-message.show {
    display: block;
}

.emlo-report-container {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    color: #2D3748;
}

/* Loading State */
.emlo-advisor-card.loading .emlo-advisor-name,
.emlo-advisor-card.loading .emlo-advisor-description {
    background: linear-gradient(90deg, #F7FAFC 0%, #E2E8F0 50%, #F7FAFC 100%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: 4px;
    color: transparent;
}

h6 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #1A202C;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    line-height: 24px !important;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .emlo-advisor-card,
    .emlo-analysis-screen,
    .emlo-report-screen {
        padding: 20px;
    }
    
    .emlo-advisor-name {
        font-size: 20px;
    }
    
    .emlo-analysis-screen h3,
    .emlo-report-screen h3 {
        font-size: 24px;
    }
}

/* General layout */
.emlo-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.emlo-analysis-screen {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    font-family: "DM Sans", sans-serif;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom:30px;
    transform: rotateY(180deg);
    transition: transform 1s ease-in-out;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transform-origin: right left;
    opacity: 0;
}

.emlo-analysis-screen.emlo-show {
    transform: rotateY(0deg);
    opacity: 1;
}

.emlo-analysis-screen h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Labels + Select boxes */
.emlo-form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.emlo-form-group select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #d4d7dd;
    background: #f7f8fa;
    font-size: 15px;
}

/* Drop zone */
.emlo-drop-zone {
    border: 2px dashed #bfc7d5;
    border-radius: 16px;
    background: #fafbff;
    margin-top: 20px;
    padding: 0;
}

.emlo-uploaded-top {
    display: flex;
    justify-content: flex-end;
    padding: 10px 14px;
    font-size: 14px;
    color: #555;
}

.emlo-upload-area {
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.upload-icon svg {
    display: block;
}

.upload-icon {
    font-size: 40px;
    color: #444;
    margin-bottom: 8px;
    border: 5px solid #4e9bf0;
    width: 90px;
    border-radius: 10px;
}

.upload-text {
    font-size: 16px;
    color: #555;
}

.upload-subtext {
    font-size:12px;
}

.emlo-file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    top: 0;
    left: 0;
}

.file-preview {
    margin-top: 10px;
    padding: 10px;
    border: 1px dashed #7a7a7a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
}

.file-preview span {
    font-size: 15px;
    flex: 1;
}


.play-btn, .delete-btn {
    font-size: 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    margin-left: 12px;
}

.play-btn:hover { color: green; }
.delete-btn:hover { color: red; }

.emlo-important-message {
    background: #fff4e6;
    border-top: 1px solid #f3cf9b;
    padding: 12px 18px;
    font-size: 14px;
    border-radius: 0 0 14px 14px;
}

/* Price row */
.emlo-price-box {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    background: #f0f6ff;
    border: 1px solid #d6e3ff;
    padding: 18px;
    border-radius: 12px;
    margin-top: 20px;
}

.price-item span {
    font-size: 13px;
    color: #667;
}

.price-item b {
    font-size: 17px;
    color: #1d3557;
}

/* Terms */
.emlo-terms-checkbox {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    font-size: 14px;
}

/* Analyze button */
.emlo-analyze-btn {
    width: 100%;
    background: #4a90ff;
    color: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
    border: none;
    font-size: 17px;
    cursor: pointer;
}

.emlo-loading-overlay {
    position: fixed;
    top: 0;
    left: -210px;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    width: 1200px;
    height: 800px;
}

.emlo-loading-content {
    text-align: center;
    width: 70%;
    padding: 40px;
}

.emlo-spinner {
    margin: 0 auto 30px;
    width: 80px;
    height: 80px;
}

.spinner-circle {
    width: 80px;
    height: 80px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.emlo-status-steps {
    width: 90%;
    margin: 40px auto 20px;
    position: relative;
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.emlo-status-steps::before {
    content: "";
    position: absolute;
    top: 25px; /* aligns with center of circles */
    left: 5%;
    width: 90%;
    height: 4px;
    background: #bcd4ff;
    border-radius: 5px;
    z-index: 1;
}

.step {
    width: 33.33%;
    position: relative;
    text-align: center;
    z-index: 2;
}

.step.active .step-number {
    background: #3f84f8;
    color: white;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #d7e7ff;
    border-radius: 50%;
    color: #3f84f8;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 10px;
    position: relative;
    z-index: 3;
}


.step.active .step-number {
    background: #2196F3;
    color: white;
}

.step-text {
    color: #7a8bb2;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 14px;
    display: block;
    max-width: 140px;
    margin: 0 auto;
}

.emlo-loading-message {
    color: #666;
    font-size: 14px;
    margin-top: 20px;
}

.emlo-results-content {
    padding: 20px;
}

.result-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.result-section h4 {
    margin-top: 0;
    color: #333;
}

.emlo-download-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.emlo-download-btn:hover {
    background: #45a049;
}


.summary-report {
    background: white;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    padding: 20px;
    width: 100%;
    font-family: inherit;
    max-height: fit-content;
}

.col-title {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 18px;
    margin-bottom: 15px;
}

.col-title svg {
    margin-right: 8px;
}

.styled-border {
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 15px;
}

.classification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copy-btn svg {
    cursor: pointer;
    transition: 0.2s ease;
}

.copy-btn svg:hover {
    opacity: 0.6;
}

.col-body--content {
    margin-top: 10px;
}

.text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 15px;
}

.classification-text {
    white-space: pre-wrap;
    line-height: 1.6;
    color: #333;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}

.custom-scroller {
    max-height: 400px;
    overflow-y: auto;
}

.hide-scroll::-webkit-scrollbar {
    width: 6px;
}

.hide-scroll::-webkit-scrollbar-thumb {
    background: #c5c5c5;
    border-radius: 3px;
}

.emlo-results-screen {
    max-width: 100% !important;
}

.accordion-container {
    width: 100%;
}
.accordion-container {
    width: 100%;
}

.accordion-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 15px 20px;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}


.accordion-icon {
    transition: transform 0.3s;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fff;
}

.accordion-item.active .accordion-content {
    padding: 20px;
}

.profile-accordion-container {
    width: 100%;
}

.profile-accordion-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.profile-accordion-header {
    width: 100%;
    padding: 15px 20px;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}



.profile-accordion-icon {
    transition: transform 0.3s;
}

.profile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fff;
}

.profile-accordion-item.active .profile-accordion-content {
    padding: 20px;
}

.channel-accordion-container {
    width: 100%;
}

.channel-accordion-item {
    border: 0;
    border-radius: 4px;
    overflow: hidden;
}

.channel-accordion-header{
    width: 100%;
    padding: 0;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
    background-color: transparent;
    gap: 12px;
}
.channel-accordion-title {
  width: 100%;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -.02em;
  color: #2a385d;
}
.channel-accordion-container + .channel-accordion-container {
  border-top: 1px solid #a3aed0;
  padding-top: 24px;
}


.channel-accordion-icon {
    transition: transform 0.3s;
}

.channel-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fff;
}

.channel-accordion-item.active .channel-accordion-content {
    padding: 20px;
}

.segment-accordion-container {
    width: 100%;
}

.segment-accordion-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.segment-accordion-header {
    width: 100%;
    padding: 15px 20px;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}


.segment-accordion-icon {
    transition: transform 0.3s;
}

.segment-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fff;
}

.segment-accordion-item.active .segment-accordion-content {
    padding: 20px;
}
.emlo-accordion-item{
    border: 0;
}
.emlo-accordion-item > button {
    outline: 0;
    background: transparent;
    padding: 0;
}
.emlo-accordion-item .emlo-accordion-title{
    width: 100%;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -.02em;
  color: #2a385d;
}
.channel-accordion-container {
  border-top: 1px solid #a3aed0;
  padding-top: 24px;
}
.emlo-accordion-item.active .emlo-accordion-content{
    padding: 12px 0 0;
    gap: 24px;
    display: flex;
    flex-wrap: wrap;
}
#nms-dr-stt-segment-analysis-list{
    width: 100%;
  max-height: 528px;
  overflow: auto;
  padding-right: 10px;
}

#nms-dr-stt-segment-analysis-list::-webkit-scrollbar-track
{
	border-radius: 10px;
	border: 1px solid #abb5d4;
}

#nms-dr-stt-segment-analysis-list::-webkit-scrollbar
{
	width: 8px;
	background-color: #fff;	
}

#nms-dr-stt-segment-analysis-list::-webkit-scrollbar-thumb
{
	border-radius: 10px;	
	background-color: #abb5d4;
}

/* Firefox */
#nms-dr-stt-segment-analysis-list -moz-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #b0b0b0 transparent;
}
.accordion-item.emotion-diamond-item.active .accordion-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  border: 1px solid var(--borders,#a3aed0);
  border-radius: 12px;
  padding: 24px;
  margin: 12px 0 0;
}
.channel-filter-container{
    max-width: 277px;
}
.channel-filter-container select{
    height: 38px;
  min-height: 38px;
  padding: 10px 16px;
  border: 1px solid #a3aed0;
  border-radius: 8px;
  background-color: #fff;
  outline: none;
  width: 100%;
  line-height: 1;
  background-image: url('../select-arrow.svg');
  background-repeat: no-repeat;
  background-position: calc(100% - 10px);
  background-size: 25px;
  appearance: none;
}
.emotion-player-block-container{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.emotion-player-block-container .emotion-player-block-header {
    display: flex;
    justify-content: space-between;
    align-items:flex-end;
    flex: 0 0 100%;
    max-width: 100%;
}
.emotion-player-block-container .emotion-player-block-header .title{
    font-size: 16px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: -.02em;
    color: #2a385e;
    margin: 0;
}
.analysis-channel .analysis-channel-diamond {
    width:60%;
}
.analysis-channel .analysis-p-line-title {
    font-size: 14px !important;
}
.emotion-player-section {
    display:flex;
}