@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

.emlo-card-container {
    /* perspective: 1000px; */
    position: relative;
/*     width: 25%; */
/* 	min-width: 404px; */
    max-width: 750px;
/*     margin: 0 auto; */
    /* height:800px; */
}

.emlo-advisor-container {
    display: flex;
    gap: 24px;
    /* max-width: 1100px; */
    max-width: 1522px;
    margin: 0 auto;
    height: 100%;
	flex-wrap: wrap;
/* 	width: calc(100% - 24px); */
}

/* .emlo-advisor-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
} */
.emlo-advisor-card {
    max-width: 340px;
    min-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 24px 6px 24px;
}

.emlo-advisor-image {
    /* max-width: 340px !important; */
    border-bottom-right-radius: 16px !important;
    border-bottom-left-radius: 16px !important;
    height: 220px !important;
	margin-top: auto;
    object-fit: cover;
}

/* .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;
    min-height: 60px;
}

.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-description h6 {
    min-height: 120px;
}

.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-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: 24px;
}

.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 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    padding: 32px;
    z-index: 9999;
    transform: rotateY(180deg);
    transition: transform 1s ease-in-out;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transform-origin: right center;
    opacity: 0;
    overflow-y: auto;
    display: flex;
}

.emlo-analysis-wrapper {
    background: #fff;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    align-self: center;
    max-width: 1260px;
    margin: 0 auto;
	width: 100%;
}

.emlo-analysis-screen.emlo-show {
    transform: rotateY(0deg);
    opacity: 1;
}

body:has(.emlo-analysis-screen.emlo-show) {
    overflow: hidden;
}

.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: 28px;
    color: #444;
    margin-bottom: 8px;
    border: 5px solid #4e9bf0;
    border-radius: 10px;
    width: 84px;
    height: 84px;
    display: flex;
    justify-content: center;
    align-items: center;
} */

.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; */
	margin: 12px;
    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: 0%;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    width: 100%;
    height: 1000px;
}

.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 svg {
    /* transform: rotate(-90deg); Default: pointing right (collapsed) */
    transition: transform 0.3s ease;
}

.profile-accordion-item.active .profile-accordion-icon svg {
    transform: rotate(0deg); /* When open: pointing down */
}


/* .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; */
    justify-content: start;
    width: 100%;
    border: 1px solid var(--borders, #a3aed0);
    border-radius: 12px;
    padding: 24px;
    max-height: initial !important;
    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;
}

.upload-icons-box {
    display: flex;
    gap: 48px;
}

.mic-icon {
    position: relative;
    z-index: 10;
    /* sit above the transparent file input overlay */
    pointer-events: auto;
    cursor: pointer;
}

/* ensure the file input overlay is under other clickable icons */
.emlo-upload-area .emlo-file-input {
    z-index: 1;
}

.emlo-upload-area span {
    font-size: 14px;
    color: #A3AED0;
    margin-top: 12px;
}

/* /////22-12-2025////// */
.emlo-advisor-card {
    display: flex;
    flex-direction: column;
}

.emlo-advisor-card-inner {
    min-height: 435px;
}

.analyze-btn-part {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: space-between;
    align-items: start;
}

.analyze-btn-part .emlo-analyze-btn {
    width: 233px;
    padding: 14px 72px;
    font-size: 14px;
    line-height: 14px;
    font-weight: bold;
    margin: 0px;
    align-self: center;
}

.analyze-btn-part .emlo-important-message {
    background: transparent;
    border: 0px;
    font-size: 16px !important;
    padding: 0px;
    color: #45557D !important;
    margin: 0px;
}

.emlo-analysis-wrapper .upload-session-title {
    font-size: 24px;
    font-weight: 500;
    color: #2A385D;
    line-height: 30px;
    margin: 0px;
}

.emlo-analysis-wrapper .upload-session-description {
    font-size: 18px;
    font-weight: 400;
    color: #45557D;
    margin: 0px;
}

@media (min-width: 1024px) and (max-width: 1280px) {
    .emlo-advisor-card {
        max-width: 280px;
    }

    .emlo-advisor-image {
        max-width: 340px !important;
    }

    .emlo-advisor-container {

        gap: 0px;
    }

    .emlo-advisor-container {

        padding: 10px;
    }
}

@media (max-width: 1023px) {
    .emotion-player-block-container .emotion-player-block-header {
        align-items: flex-start;
    }

    .sd-item {
        flex-direction: column !important;
    }

    .emlo-advisor-container {
        flex-wrap: wrap;
        gap: 0px;
    }

    .emlo-card-container {
        height: auto;
/* 		width: 50%; */
		padding: 10px;
    }
/* 	.emlo-advisor-card{
		min-width: 100%;
	} */
	

}

.button {
    font-size: 18px;
    padding: 8px 12px;
    cursor: pointer;
}

.button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Delete button red */
.delete-recording-btn i {
    color: #e53935;
}

/* Optional hover effect */
.delete-recording-btn:not(:disabled):hover i {
    color: #b71c1c;
}

.emlo-record-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Sans', sans-serif;
}

.emlo-record-modal-content {
    background: #fff;
    width: 440px;
    max-width: 95%;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;

}

/* HEADER */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #d6e3ff;
}

.modal-header h3 {
    font-size: 16px;
    margin: 0;
    color: #24356a;
}

.modal-header button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* BODY */
.modal-body {
    padding: 28px 20px 24px;
    text-align: center;
}

.modal-body h2 {
    font-size: 22px;
    margin-bottom: 6px;
    color: #4e8ef7;
}

.subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
}

/* RECORD OPTIONS */
.record-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 18px;
}

.record-option {
    width: 84px;
    height: 84px;
    border-radius: 12px;
    border: 3px solid #4e8ef7;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.record-option i {
    font-size: 28px;
    color: #4e8ef7;
}

.record-option:hover {
    background: #f3f7ff;
}

.record-option.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* CONTROLS */
.record-controls {
    display: none;
    justify-content: center;
    gap: 12px;
    margin: 14px 0;
}

.record-controls button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: #fff;
    cursor: pointer;
}

.record-controls i {
    font-size: 16px;
}

.delete-recording-btn i {
    color: #e53935;
}

/* CANCEL */
.cancel-btn {
    width: 100%;
    margin-top: 18px;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid #4e8ef7;
    background: #fff;
    color: #4e8ef7;
    font-weight: 600;
    cursor: pointer;
}

/* AUDIO */
.recording-player {
    display: none;
    margin-top: 14px;
    width: 100%;
}

/* Full-page recording interface */
.emlo-fullpage-recording {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Sans', sans-serif;
}

.emlo-recording-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.emlo-recording-header {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.emlo-recording-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.emlo-recording-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.emlo-recording-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    position: relative;
    padding: 40px 20px;

    background-image: url("../images/before-recording.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* or 'contain' if you prefer */
}


.emlo-recording-preview {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
}

.emlo-preview-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

/* Countdown overlay */
.emlo-countdown-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.emlo-countdown-number {
    font-size: 120px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    animation: countdownPulse 1s ease-in-out infinite;
}

.emlo-countdown-text {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes countdownPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Recording status */
.emlo-recording-status {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 12px 24px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(10px);
}

.emlo-recording-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.emlo-rec-dot {
    width: 12px;
    height: 12px;
    background: #ff3b3b;
    border-radius: 50%;
    animation: recordingPulse 1.5s ease-in-out infinite;
}

.emlo-rec-text {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.emlo-recording-timer {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

@keyframes recordingPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.9);
    }
}

/* Recording controls */
.emlo-recording-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.emlo-rec-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #000;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.emlo-rec-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.emlo-rec-btn:active {
    transform: scale(0.95);
}

.emlo-rec-btn i {
    font-size: 28px;
}

.emlo-rec-start-btn {
    background: #ff3b3b;
    color: #fff;
}

.emlo-rec-start-btn:hover {
    background: #e53935;
}

.emlo-rec-pause-btn {
    background: #ffa726;
    color: #fff;
}

.emlo-rec-pause-btn:hover {
    background: #fb8c00;
}

.emlo-rec-resume-btn {
    background: #66bb6a;
    color: #fff;
}

.emlo-rec-resume-btn:hover {
    background: #4caf50;
}

.emlo-rec-stop-btn {
    background: #fff;
    color: #ff3b3b;
    border: 3px solid #ff3b3b;
}

.emlo-rec-stop-btn:hover {
    background: #ff3b3b;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .emlo-recording-preview {
        max-width: 95%;
        margin-bottom: 30px;
    }

    .emlo-countdown-number {
        font-size: 80px;
    }

    .emlo-countdown-text {
        font-size: 18px;
    }

    .emlo-rec-btn {
        width: 60px;
        height: 60px;
    }

    .emlo-rec-btn i {
        font-size: 24px;
    }

    .emlo-recording-status {
        padding: 10px 20px;
    }

    .emlo-recording-timer {
        font-size: 16px;
    }
	.upload-icons-box{
		gap: 20px;
	}
	.upload-icons-box .upload-icon svg {
		height: 60px;
		width: 60px;
	}
	.emlo-language-row{
		flex-direction: column;
	}
}
@media(max-width: 767px){
	.emlo-advisor-container{
		padding: 20px 0;
/* 		width: 100%; */
	}
/* 	.emlo-card-container {     
		width: 100%;
    } */
}
@media(min-width: 1500px){
	.emlo-advisor-container {
		padding: 0;
		min-width: 350px;
	}
	.emlo-advisor-card {		
		min-width: 340px; 
	}
}

.emlo-advisor-card.emlo-card-drag-active {
    border: 2px dashed #2f80ed;
    background-color: rgba(47, 128, 237, 0.05);
    box-shadow: 0 4px 24px rgba(47, 128, 237, 0.15);
}
.emlo-drop-msg{
    margin-top: 4px;
    font-size: 12px;
    text-align: center;
}