/* Share Diagnostic Button */
.share-diagnostic-btn {
    height: 40px;
    padding: 10px 12px;
    background: white;
    border-radius: 8px;
    outline: 1px solid #312F2F;
    outline-offset: -1px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.share-diagnostic-btn:hover {
    background: #f8f9fa;
    text-decoration: none;
}

.share-diagnostic-text {
    color: #312F2F;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
}

/* New Evaluation Button */
.new-evaluation-btn {
    align-self: stretch;
    padding: 10px 12px;
    background: #312F2F;
    border: none;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.new-evaluation-btn:hover {
    background: #1F1E1E;
}

.new-evaluation-text {
    color: white;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
}

/* Welcome Header Styles */
.welcome-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1%
}

.col-table {
    flex: 0 0 auto;
    width: 96% !important;
    margin-left: 2%;
}

.welcome-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 95%;
    margin: 0 auto;
}

.welcome-header .logo {
    display: flex;
    align-items: center;
}

.welcome-header .logo-icon {
    height: 45.259px;
    width: 167.459px;
}

/* Welcome Header Auth Buttons */
.welcome-header .auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.2s ease;
}

.welcome-header .auth-btn-login {
    background: transparent;
    color: #4c4b4c;
    border-color: #cfcfcf;
}

.welcome-header .auth-btn-login:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.welcome-header .auth-btn-signup {
    background: transparent;
    color: #1f1f1f;
    border-color: #1f1f1f;
}

.welcome-header .auth-btn-signup:hover {
    background: #1f1f1f;
    color: white;
}

/* Dashboard Title */
.dashboard-title {
    color: #1A1A1A;
    font-size: 28px;
    font-family: Inter, sans-serif;
    font-weight: 600;
    word-wrap: break-word;
}

/* Loading Modal Styles */
.loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.loading-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    max-width: 400px;
    width: 90%;
    animation: modalFadeIn 0.3s ease-out;
}

/* Modern Assessment Interface Styles */
.assessment-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.assessment-card-modern {
    background: white;
    border-radius: 16px;
    outline: 1px #DCDCDC solid;
    outline-offset: -1px;
    padding: 2%;
    max-width: 70%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Progress Section */
.progress-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.question-counter {
    color: #414651;
    font-size: 16px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
}

.progress-indicators {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.progress-item {
    flex: 1;
    max-width: 57px;
}

.progress-bar-container {
    position: relative;
    height: 8px;
    border-radius: 8px;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: #E9EAEB;
    border-radius: 4px;
    position: absolute;
    top: 0;
    left: 0;
}

.progress-bar-fill {
    height: 8px;
    background: #0083FF;
    border-radius: 4px;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.3s ease;
}

/* Question Content Section */
.question-content-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Category Badge */
.category-badge {
    display: flex;
    justify-content: center;
}

.badge-content {
    padding: 4px 12px;
    background: #EFF8FF;
    border-radius: 16px;
    color: #175CD3;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
}

/* Question Title and Description */
.question-title-modern {
    text-align: center;
    color: #312F2F;
    font-size: 32px;
    font-family: Inter, sans-serif;
    font-weight: 600;
    line-height: 34px;
    margin-bottom: 14px;
}

.question-description {
    width: 594px;
    max-width: 100%;
    text-align: center;
    color: #736C74;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    line-height: 20px;
    margin: 0 auto;
}

/* Slider Section */
.slider-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 32px;
    display: flex;
    align-items: center;
}

.slider-track {
    width: 100%;
    height: 8px;
    background: #F5F5F5;
    border-radius: 4px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.slider-thumb {
    width: 32px;
    height: 32px;
    background: #C9EAFB;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
    left: 0%;
}

.slider-thumb:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.slider-thumb-inner {
    width: 20px;
    height: 20px;
    background: #0083FF;
    border-radius: 50%;
}

/* Slider Labels */
.slider-labels {
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    gap: 55px;
}

.slider-label-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.label-dot {
    width: 8px;
    height: 8px;
    background: #E9EAEB;
    border-radius: 50%;
}

.label-text {
    text-align: center;
    color: #312F2F;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    max-width: 99px;
}

/* Tooltip */
.slider-tooltip {
    position: relative;
    width: 129px;
    margin: 0 auto;
    box-shadow: 0px -2px 4px -2px rgba(10, 12.67, 18, 0.03);
    border-radius: 8px;
    display: none;
}

.tooltip-content {
    padding: 1px 2px;
    border-radius: 8px;
    color: black;
    font-size: 6px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    line-height: 10px;
    text-align: start;
}

.tooltip-arrow {
    width: 28px;
    height: 6px;
    position: relative;
    margin: 0 auto;
}

.navigation-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    bottom: 0;
    z-index: 100;
    margin-top: auto;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Button Styles */
.btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-secondary {
    background: white;
    color: #4C4B4C;
    outline: 1px #CFCFCF solid;
    outline-offset: -1px;
}

.btn-secondary:hover {
    background: #f8f9fa;
    color: #4C4B4C;
}

.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-ghost {
    background: transparent;
    color: #4C4B4C;
    border: none;
}

.btn-ghost:hover {
    background: rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background: #312F2F;
    color: white;
}

.btn-primary:hover {
    background: #CFCFCF;
}

.btn-primary.disabled {
    background: #E9EAEB;
    color: #BCBCBC;
    cursor: not-allowed;
}

/* Assessment Options - Tab Style */
.assessment-options {
    width: 80%;
    margin: 24px 0;
}

.tab-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.tab-trigger {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    min-height: 72px;
}

.tab-trigger:hover {
    border-color: #0083FF;
    background: #f8faff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 131, 255, 0.15);
}

.tab-trigger.active {
    border-color: #0083FF;
    background: #eff8ff;
    box-shadow: 0 0 0 3px rgba(0, 131, 255, 0.1);
}

.option-radio {
    position: relative;
    flex-shrink: 0;
}

.radio-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-indicator {
    width: 15px;
    height: 15px;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    background: white;
    transition: all 0.2s ease;
    position: relative;
}

.tab-trigger.active .radio-indicator {
    border-color: #0083FF;
    background: #0083FF;
}

.tab-trigger.active .radio-indicator::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.option-content {
    flex: 1;
}

.option-label {
    font-size: 16px;
    font-weight: 500;
    color: #2d3748;
    line-height: 1.4;
}

.selected-option-display {
    text-align: center;
    padding: 12px;
    background: #f7fafc;
    border-radius: 8px;
    font-weight: 500;
    color: #4a5568;
    margin-top: 16px;
    display: none;
}

/* Dynamic Sections */
.dynamic-sections {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 80%;
}

.definition-display-tablet {
    display: none;
}

.dynamic-section-modern {
    align-self: stretch;
    padding: 24px 14px;
    background: #FAFAFA;
    border-radius: 9px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    display: inline-flex;
    width: 100%;
    margin-top: 16px;
}

.dynamic-section-title-modern {
    text-align: left;
    color: #312F2F;
    font-size: 17px;
    font-family: Inter, sans-serif;
    font-weight: 600;
    line-height: 34px;
    word-wrap: break-word;
    width: 100%;
}

.dynamic-section-content {
    color: #736C74;
    font-size: 16px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    word-wrap: break-word;
    line-height: 1.5;
}

.definition-tooltip {
    position: absolute;
    background: white;
    border-radius: 9px;
    padding: 24px 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    max-width: 300px;
    z-index: 1000;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    pointer-events: none;
}

.definition-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tooltip-title {
    color: #312F2F;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 600;
    margin-bottom: 8px;
}

.tooltip-content {
    color: #736C74;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    line-height: 1.4;
}

.tooltip-arrow {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #FAFAFA;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-left: none;
    transform: translateX(-50%) rotate(45deg);
}

.matrix-container {
    margin-top: 32px;
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}

.matrix-header {
    text-align: center;
    margin-bottom: 24px;
}

.matrix-title {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.matrix-subtitle {
    font-size: 14px;
    color: #718096;
    margin-bottom: 0;
}

.dynamic-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #0083FF;
}

.dynamic-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dynamic-section-list {
    margin: 0;
    padding-left: 20px;
    color: #4a5568;
    line-height: 1.6;
}

.dynamic-section-list li {
    margin-bottom: 8px;
}

.dynamic-section-body {
    color: #4a5568;
    line-height: 1.6;
    font-size: 15px;
}
/*
.card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-top: 32px;
    overflow: hidden;
}
*/
.card-header {
    padding: 24px 24px 0;
    text-align: center;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.card-subtitle {
    font-size: 14px;
    color: #718096;
    margin-bottom: 0;
}

.card-content {
    padding: 24px;
}

.matrix-visual {
    position: relative;
}

.matrix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
}

.quadrant {
    background: #f7fafc;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.quadrant.active {
    background: #eff8ff;
    border: 2px solid #0083FF;
}

.quadrant-code {
    font-size: 12px;
    font-weight: 700;
    color: #718096;
    margin-bottom: 8px;
}

.quadrant-title {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.3;
}

.position-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #0083FF;
    border: 3px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 131, 255, 0.4);
}

.position-dot.visible {
    opacity: 1;
}

.matrix-status {
    text-align: center;
    padding: 16px;
    background: #f7fafc;
    border-radius: 8px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.matrix-status.active {
    opacity: 1;
}

.status-icon {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

.status-text {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.status-subtext {
    font-size: 14px;
    color: #718096;
}

/* Responsive Design */
@media (max-width: 768px) {
    .assessment-card-modern {
        padding: 40px 20px;
        margin: 10px;
    }
    
    .question-description {
        width: 100%;
    }
    
    .tab-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .tab-trigger {
        padding: 16px;
        min-height: 60px;
    }
    
    .navigation-section {
        flex-direction: column;
        gap: 16px;
        padding: 16px 20px;
        position: sticky;
        bottom: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--gray-200);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        z-index: 100;
    }
    
    .nav-right {
        width: 100%;
        justify-content: center;
    }
    
    .dynamic-sections {
        margin-top: 24px;
        gap: 16px;
    }
    
    .dynamic-section {
        padding: 16px;
    }
    
    .card {
        margin-top: 24px;
    }
    
    .card-content {
        padding: 16px;
    }
    
    .quadrant {
        padding: 16px 12px;
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 32px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spinnerRotate 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(1) {
    animation-delay: -0.45s;
}

.spinner-ring:nth-child(2) {
    animation-delay: -0.3s;
    border-top-color: var(--primary-light);
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
}

.spinner-ring:nth-child(3) {
    animation-delay: -0.15s;
    border-top-color: var(--accent);
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
}

@keyframes spinnerRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-text-container {
    position: relative;
    height: 32px;
    margin-bottom: 16px;
    overflow: hidden;
}

.loading-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-800);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
}

.loading-text.active {
    opacity: 1;
    transform: translateY(0);
}

.loading-subtitle {
    font-size: 14px;
    color: var(--gray-600);
    margin-top: 8px;
}

/* Copy CSS from original index.html */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0066cc;
    --primary-light: #338fff;
    --primary-dark: #004499;
    --secondary: #64748b;
    --accent: #0ea5e9;
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --elyadata-blue: #0066cc;
    --elyadata-light: #e6f3ff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    min-height: 100vh;
    color: var(--gray-800);
    line-height: 1.6;
    font-size: 16px;
    display: flex;
    flex-direction: column;
}

.container {
    padding: 16px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    margin: -16px -16px 24px -16px;
    box-shadow: var(--shadow-sm);
}

.header-content {
    padding: 12px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    height: 28px;
    width: auto;
}

.logo-text {
    font-weight: 600;
    font-size: var(--body-sm-size);
    color: var(--elyadata-blue);
}

/* Accent dot before title to match Figma header */
.logo-text::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--elyadata-blue), var(--accent));
    margin-right: 8px;
    vertical-align: middle;
}

.progress-header {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 400px;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-dot.active {
    background: var(--elyadata-blue);
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.2);
}

.step-dot.completed {
    background: var(--success);
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--elyadata-blue), var(--accent));
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-text {
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 500;
    text-align: center;
    margin-top: 8px;
}

/* Cards */
.card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    margin-bottom: 24px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.card-header {
    padding: 24px 20px 20px 20px;
    border-bottom: 1px solid var(--gray-100);
    background: white !important;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.3;
}

.card-subtitle {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
}

.card-content {
    padding: 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.card-footer {
    padding: 20px;
    position: relative;
}

.card-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    min-height: 48px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: #312F2F;
    color: white;
    box-shadow: var(--shadow-md);
    font-weight: 700;
    border: 2px solid transparent;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover:not(:disabled) {
    background: #736C74;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: #736C74;
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
    transition: all 0.1s;
}

.btn:disabled {
    background: var(--gray-300) !important;
    color: var(--gray-500) !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    border-color: var(--gray-300) !important;
    opacity: 0.6;
}

.btn:disabled::before {
    display: none;
}

.btn-secondary {
    background: white;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--gray-50);
    border-color: var(--gray-300);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary:active:not(:disabled) {
    transform: translateY(0);
    background: var(--gray-100);
    transition: all 0.1s;
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
    box-shadow: none;
    border: 2px solid transparent;
}

.btn-ghost:hover:not(:disabled) {
    background: var(--gray-100);
    color: var(--gray-800);
    border-color: var(--gray-200);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-ghost:active:not(:disabled) {
    transform: translateY(0);
    background: var(--gray-200);
    transition: all 0.1s;
}

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: var(--shadow-md); }
    50% { box-shadow: 0 4px 20px rgba(0, 102, 204, 0.5), 0 0 0 4px rgba(0, 102, 204, 0.1); }
    100% { box-shadow: var(--shadow-md); }
}

/* FAB */
.fab {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--elyadata-blue), var(--primary-light));
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    font-size: 1.2rem;
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab:hover {
    transform: scale(1.1);
}

/* Forms */
.form-grid {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.input, .textarea {
    padding: 16px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    background: white;
}

.input:focus, .textarea:focus {
    outline: none;
    border-color: var(--elyadata-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Action hints */
.action-hint {
    background: linear-gradient(135deg, #fef3c7, #fde047);
    border: 2px solid #f59e0b;
    border-radius: 16px;
    padding: 16px 20px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #92400e;
    box-shadow: var(--shadow-md);
}

.action-hint.primary {
    background: linear-gradient(135deg, var(--elyadata-light), rgba(0, 102, 204, 0.1));
    border-color: var(--elyadata-blue);
    color: var(--primary-dark);
}

.action-hint-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Step preview */
.step-preview {
    background: var(--elyadata-light);
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
    border: 2px solid rgba(0, 102, 204, 0.2);
}

.step-preview-title {
    font-weight: 700;
    color: var(--elyadata-blue);
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.step-preview-description {
    font-size: 0.8rem;
    color: var(--gray-600);
    line-height: 1.4;
}

/* Footer actions */
.footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    margin-bottom: 12px;
}

.footer-left {
    display: flex;
    justify-content: flex-start;
    flex: 0 0 auto;
}

.footer-right {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    flex: 0 0 auto;
}

.footer-scores {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
}

/* Question cards */
.question-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    padding: 24px 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.question-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.question-number {
    background: var(--elyadata-blue);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.question-content {
    flex: 1;
    min-width: 0;
}

.question-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.4;
}

.question-subtitle {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 12px;
    font-weight: 500;
}

.question-context {
    background: var(--elyadata-light);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: 10px;
    padding: 16px;
    font-size: 0.85rem;
    color: var(--gray-700);
    border-left: 4px solid var(--elyadata-blue);
    line-height: 1.5;
    max-height: 120px;
    overflow-y: auto;
}

/* Slider */
.slider-container {
    margin-top: 20px;
}

.slider-wrapper {
    position: relative;
    margin: 20px 0;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--gray-200);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--elyadata-blue);
    cursor: pointer;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
    transition: all 0.2s;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 0.7rem;
    color: var(--gray-500);
    line-height: 1.3;
}

.slider-labels span {
    flex: 1;
    text-align: center;
    padding: 4px 2px;
    font-weight: 500;
}

.slider-value {
    text-align: center;
    font-weight: 700;
    color: var(--elyadata-blue);
    margin-top: 12px;
    font-size: 0.9rem;
    padding: 8px 16px;
    background: var(--elyadata-light);
    border-radius: 20px;
    display: inline-block;
}

/* Matrix */
.matrix-visual {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gray-200);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.matrix-grid {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 3px;
    border: 3px solid var(--gray-600);
    border-radius: 8px;
    overflow: hidden;
}

.quadrant {
    background: var(--gray-100);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 16px 8px;
    opacity: 0.5;
}

.quadrant.enabled {
    opacity: 1;
}

.quadrant.enabled.explorateurs {
    background: linear-gradient(135deg, #fef2f2, #fecaca);
}
.quadrant.enabled.strateges {
    background: linear-gradient(135deg, #fffbeb, #fed7aa);
}
.quadrant.enabled.executants {
    background: linear-gradient(135deg, #f0fdf4, #bbf7d0);
}
.quadrant.enabled.transformateurs {
    background: linear-gradient(135deg, #eff6ff, #bfdbfe);
}

.quadrant.active {
    background: linear-gradient(135deg, var(--elyadata-blue), var(--primary-light)) !important;
    color: white;
    border: 3px solid var(--primary-dark);
    box-shadow: var(--shadow-xl);
    opacity: 1;
    z-index: 10;
    transform: scale(1.02);
}

.quadrant-code {
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 6px;
    font-family: 'Monaco', 'Menlo', monospace;
}

.quadrant-title {
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.position-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--elyadata-blue);
    border: 3px solid white;
    border-radius: 50%;
    margin-left: -8px;
    margin-top: -8px;
    box-shadow: var(--shadow-lg);
    z-index: 20;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.position-dot.visible {
    opacity: 1;
    animation: pulse 2s infinite;
}

/* Results */
.results-center {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}

.results-header {
    background: transparent;
    color: white;
    border-radius: 20px;
    padding: 32px 20px;
    text-align: center;
    margin-bottom: 24px;
}

.results-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.results-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.score-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.score-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gray-100);
    transition: all 0.3s;
}

.score-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--elyadata-blue);
    margin-bottom: 8px;
}

.score-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.score-bar {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    margin-top: 12px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--elyadata-blue), var(--accent));
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tabs */
.tabs {
    margin-top: 24px;
}

.tab-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    background: var(--gray-100);
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.tab-trigger {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 6px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--gray-600);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab-trigger.active {
    background: white;
    color: #0083FF;
    box-shadow: var(--shadow-sm);
    font-weight: 700;
    border-color: #0083FF;
}

.tab-content {
    display: none;
    max-height: 700px;
    overflow-y: auto;
    padding-top: 20px;
}

.tab-content.active {
    display: block;
}

/* Recommendations */
.recommendation-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.recommendation-title {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    font-size: 1rem;
}

.recommendation-description {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Progress */
.progress-container {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gray-100);
}

.progress-header-detailed {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.progress-title {
    font-weight: 700;
    color: var(--gray-800);
    font-size: 1.1rem;
}

.progress-percentage {
    font-weight: 900;
    color: var(--elyadata-blue);
    font-size: 1rem;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-secondary {
    background: var(--gray-200);
    color: var(--gray-700);
}

/* Status */
.matrix-status {
    text-align: center;
    padding: 20px;
    background: var(--gray-50);
    border-radius: 12px;
    margin-top: 20px;
    border: 2px dashed var(--gray-300);
    transition: all 0.3s;
}

.matrix-status.active {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-color: var(--success);
    color: var(--success);
}

.status-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
}

.status-text {
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.status-subtext {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Results Page Matrix Styles */
.results-matrix-container {
    width: 600px;
    height: 650px;
    position: relative;
    margin: 46px ;
    padding: 80px 60px 100px 100px;
}

/* Matrix Axes */
.results-matrix-axis-vertical {
    position: absolute;
    left: 60px;
    top: 30px;
    width: 1px;
    height: 560px;
    background: #7A7A7A;
}

.results-matrix-axis-horizontal {
    position: absolute;
    left: 60px;
    top: 590px;
    width: 500px;
    height: 1px;
    background: #7A7A7A;
}

/* Matrix Axis Ticks - Vertical */
.results-matrix-tick-vertical {
    position: absolute;
    left: 54px;
    width: 12px;
    height: 1px;
    background: #7A7A7A;
}

.results-matrix-tick-vertical.tick-1 { top: 70px; }
.results-matrix-tick-vertical.tick-2 { top: 130px; }
.results-matrix-tick-vertical.tick-3 { top: 190px; }
.results-matrix-tick-vertical.tick-4 { top: 250px; }
.results-matrix-tick-vertical.tick-5 { top: 370px; }
.results-matrix-tick-vertical.tick-6 { top: 430px; }
.results-matrix-tick-vertical.tick-7 { top: 490px; }
.results-matrix-tick-vertical.tick-8 { top: 550px; }

/* Matrix Axis Ticks - Horizontal */
.results-matrix-tick-horizontal {
    position: absolute;
    top: 584px;
    width: 1px;
    height: 12px;
    background: #7A7A7A;
}

.results-matrix-tick-horizontal.tick-1 { left: 110px; }
.results-matrix-tick-horizontal.tick-2 { left: 170px; }
.results-matrix-tick-horizontal.tick-3 { left: 230px; }
.results-matrix-tick-horizontal.tick-4 { left: 370px; }
.results-matrix-tick-horizontal.tick-5 { left: 430px; }
.results-matrix-tick-horizontal.tick-6 { left: 490px; }

/* Matrix Axis Labels */
.results-matrix-axis-label {
    position: absolute;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.results-matrix-axis-label.vertical {
    left: -60px;
    top: 310px;
    justify-content: flex-end;
}

.results-matrix-axis-label.horizontal {
    left: 260px;
    top: 620px;
    justify-content: center;
}

.results-matrix-axis-label-text {
    text-align: right;
    color: #1F1F1F;
    font-size: 16px;
    font-family: Inter;
    font-weight: 600;
    line-height: 17.92px;
    word-wrap: break-word;
}

.results-matrix-axis-label.horizontal .results-matrix-axis-label-text {
    text-align: left;
}

.results-matrix-axis-label-circle {
    width: 19px;
    height: 19px;
    background: white;
    border-radius: 50%;
    outline: 1px #1F1F1F solid;
    outline-offset: -0.50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.results-matrix-axis-label-number {
    color: #1F1F1F;
    font-size: 9.50px;
    font-family: Inter;
    font-weight: 600;
}

/* Matrix Quadrant Cards */
.results-matrix-quadrant {
    width: 255px;
    height: 284px;
    padding: 16px;
    position: absolute;
    background: white;
    border-radius: 16px;
    outline: 0.80px #E0E0E0 solid;
    outline-offset: -0.80px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    display: flex;
}

.results-matrix-quadrant.active {
    box-shadow: inset 0 0 0 1px #0083FF;
}

.results-matrix-quadrant.bottom-left {
    left: 70px;
    top: 285px;
}

.results-matrix-quadrant.top-left {
    left: 70px;
    top: -3px;}

.results-matrix-quadrant.bottom-right {
    left: 330px;
    top: 285px;
}

.results-matrix-quadrant.top-right {
    left: 330px;
    top: -3px;
}

.results-matrix-quadrant-header {
    align-self: stretch;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    display: flex;
}

.results-matrix-quadrant-header-row {
    align-self: stretch;
    justify-content: space-between;
    align-items: center;
    display: flex;
}

.results-matrix-quadrant-badge {
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 6px;
    padding-bottom: 6px;
    background: white;
    border-radius: 47.15px;
    outline: 1px #1F1F1F solid;
    outline-offset: -1px;
    justify-content: center;
    align-items: center;
    gap: 4.71px;
    display: flex;
}

.results-matrix-quadrant-badge-text {
    text-align: justify;
    color: #1F1F1F;
    font-size: 10px;
    font-family: Inter;
    font-weight: 600;
    line-height: 14px;
    word-wrap: break-word;
}

.results-matrix-quadrant-description {
    align-self: stretch;
    color: #1F1F1F;
    font-size: 8px;
    font-family: Inter;
    font-weight: 500;
    line-height: 11.20px;
    word-wrap: break-word;
}

.results-matrix-quadrant-title {
    align-self: stretch;
    color: #0083FF;
    font-size: 14px;
    font-family: Inter;
    font-weight: 700;
    line-height: 16.80px;
    word-wrap: break-word;
}

/* Matrix Position Dot */
.results-matrix-position-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #0066cc;
    border: 3px solid white;
    border-radius: 50%;
    margin-left: -8px;
    margin-top: -8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 20;
}

/* Action Buttons Section */
.results-action-buttons-container {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.results-action-buttons-group {
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
    display: flex;
}

.results-action-button {
    align-self: stretch;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: flex;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.results-action-button.secondary {
    background: white;
    outline: 1px #CFCFCF solid;
    outline-offset: -1px;
}

.results-action-button.primary {
    background: #312F2F;
}

.results-action-button-text {
    text-align: center;
    font-size: 16px;
    font-family: Inter;
    font-weight: 500;
    word-wrap: break-word;
}

.results-action-button.secondary .results-action-button-text {
    color: #4C4B4C;
}

.results-action-button.primary .results-action-button-text {
    color: white;
}

/* CTA */
.cta-mega {
    background: transparent;
    border-radius: 20px;
    padding: 36px 24px;
    text-align: center;
    margin: 40px;
}

.cta-mega-content {
    position: relative;
    z-index: 2;
}

.cta-mega h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.cta-mega p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* Next action banner */
.next-action-banner {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-gradient-info);
    color: black;
    padding: 16px;
    text-align: center;
    z-index: 40;
    margin: 20px -20px -20px -20px;
}

.next-action-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.next-action-text {
    font-weight: 600;
    font-size: 0.9rem;
}

.next-action-button {
    background: white;
    color: #0083FF;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

/* Disabled states */
.disabled-hint {
    position: absolute;
    top: 100%;
    right: 0;
    font-size: 0.7rem;
    color: var(--gray-500);
    text-align: right;
    margin-top: 4px;
    font-style: italic;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.footer-right:has(.btn:disabled) .disabled-hint {
    opacity: 1;
    transform: translateY(0);
}

/* Keyboard navigation */
.btn:focus {
    outline: 2px solid var(--elyadata-blue);
    outline-offset: 2px;
}

.btn:focus:not(:focus-visible) {
    outline: none;
}

/* Loading state */
.btn-loading {
    pointer-events: none;
    position: relative;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Progress feedback */
.progress-feedback {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.progress-feedback.show {
    opacity: 1;
    pointer-events: auto;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Utility classes */
.hidden { display: none !important; }
.fade-in { animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.slide-in { animation: slideInRight 0.5s cubic-bezier(0.4, 0, 0.2, 1); }

/* Mobile-first responsive design */
@media (max-width: 639px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 8px;
        min-height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
    }
    
    .header {
        margin: -8px -8px 12px -8px;
        position: relative;
    }
    
    .header-content {
        padding: 8px 12px;
        gap: 8px;
    }
    
    .logo-text {
        font-size: 0.9rem;
    }
    
    .progress-header {
        max-width: 100%;
    }
    
    .progress-text {
        font-size: 0.7rem;
        margin-top: 4px;
    }
    
    .card {
        margin-bottom: 12px;
        border-radius: 12px;
        flex: none;
        height: auto;
        min-height: calc(100vh - 180px);
        display: flex;
        flex-direction: column;
    }
    
    .card-content {
        padding: 12px;
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: visible;
    }
    
    .question-card {
        margin-bottom: 0;
        padding: 12px;
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }
    
    .question-header {
        margin-bottom: 12px;
        flex-shrink: 0;
    }
    
    .question-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .question-content {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }
    
    .question-title {
        font-size: 0.9rem;
        line-height: 1.2;
        margin-bottom: 4px;
    }
    
    .question-subtitle {
        font-size: 0.7rem;
        margin-bottom: 8px;
    }
    
    .question-context {
        font-size: 0.75rem;
        padding: 8px;
        max-height: 60px;
        overflow-y: auto;
        margin-bottom: 12px;
        flex-shrink: 0;
    }
    
    .slider-container {
        margin-top: 8px;
        flex-shrink: 0;
    }
    
    .slider-wrapper {
        margin: 12px 0;
    }
    
    .slider {
        height: 8px;
    }
    
    .slider::-webkit-slider-thumb {
        width: 24px;
        height: 24px;
    }
    
    .slider-labels {
        font-size: 0.6rem;
        margin-top: 6px;
        line-height: 1.1;
    }
    
    .slider-labels span {
        padding: 1px;
        text-align: center;
    }
    
    .slider-value {
        font-size: 0.75rem;
        padding: 4px 8px;
        margin-top: 8px;
    }
    
    .footer-actions {
        margin: 8px -12px 0 -12px;
        padding: 12px;
        flex-shrink: 0;
        position: sticky;
        bottom: 0;
        background: white;
        border-top: 1px solid var(--gray-200);
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
    }
    
    .footer-left {
        flex: 0 0 auto;
    }
    
    .footer-right {
        flex: 0 0 auto;
        gap: 6px;
    }
    
    .footer-scores {
        margin: 0 -12px -12px -12px;
        padding: 8px 12px 12px 12px;
        background: white;
        position: sticky;
        bottom: 0;
        border-top: none;
        padding-top: 0;
        gap: 6px;
    }
    
    .btn {
        padding: 10px 14px;
        font-size: 0.8rem;
        min-height: 40px;
        border-radius: 8px;
    }
    
    .fab {
        bottom: 70px;
        right: 12px;
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
    
    .matrix-visual {
        padding: 12px;
        max-width: 280px;
        margin: 8px auto;
    }
    
    .quadrant {
        padding: 6px 3px;
    }
    
    .quadrant-code {
        font-size: 0.7rem;
        margin-bottom: 2px;
    }
    
    .quadrant-title {
        font-size: 0.55rem;
        line-height: 1.1;
    }
    
    /* Dynamic content sections */
    .dynamic-content {
        max-height: 100px;
        overflow-y: auto;
        margin-top: 8px;
    }
    
    .dynamic-content div {
        padding: 8px;
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    /* Progress indicators */
    .step-dot {
        width: 8px;
        height: 8px;
    }
    
    .progress-bar {
        height: 4px;
    }
}

@media (min-width: 640px) {
    .container {
        padding: 24px;
        max-width: 640px;
    }

    .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .tab-list {
        flex-wrap: nowrap;
    }
    
    .tab-trigger {
        font-size: 0.875rem;
        padding: 1%;
    }
    
    .footer-actions {
        position: sticky;
        bottom: 0;
        background: white;
        border-top: 1px solid var(--gray-100);
        margin: 20px -24px 0 -24px;
        padding: 20px 24px 12px 24px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
        display: flex;
        justify-content: space-between;
        gap: 16px;
    }
    
    .footer-scores {
        margin: 0 -24px -20px -24px;
        padding: 0 24px 20px 24px;
        background: white;
        position: sticky;
        bottom: 0;
        border-top: none;
        padding-top: 8px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        padding: 20px 28px;
    }
}

/* Touch improvements for mobile */
@media (pointer: coarse) {
    .btn {
        min-height: 48px;
        padding: 14px 20px;
        touch-action: manipulation;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .slider {
        height: 12px;
        touch-action: pan-x;
    }
    
    .slider::-webkit-slider-thumb {
        width: 32px;
        height: 32px;
    }
    
    .tab-trigger {
        min-height: 52px;
        padding: 16px 4px;
        touch-action: manipulation;
        font-size: 0.7rem;
    }
    
    .tab-list {
        flex-wrap: nowrap;
        gap: 2px;
        padding: 4px;
    }
}

/* Improve touch feedback */
.footer-actions {
    padding-bottom: 16px;
}

.disabled-hint {
    font-size: 0.65rem;
    margin-top: 2px;
}

.assessment-options {
    margin: 24px 0;
}

.assessment-options .tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    background: var(--gray-100);
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 16px;
    overflow-x: auto;
}

.assessment-options .tab-trigger.assessment-option {
    flex: 1 1 0;
    min-width: 0;
    padding: 16px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--gray-600);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    justify-content: flex-start;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    min-height: 60px;
}

.assessment-options .tab-trigger.assessment-option:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.assessment-options .tab-trigger.assessment-option.active {
    background: white;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    border-left: 2px solid #0083FF;
}

.assessment-options .option-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 1;
}

/* Radio Button Styling */
.assessment-options .option-radio {
    position: relative;
    flex-shrink: 0;
}

.assessment-options .radio-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.assessment-options .radio-indicator {
    height: 20px;
    width: 20px;
    background-color: white;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.assessment-options .radio-indicator::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0083FF;
    transform: scale(0);
    transition: transform 0.2s ease;
}

.assessment-options .tab-trigger.assessment-option.active .radio-indicator {
    border-color: #0083FF;
    background-color: white;
}

.assessment-options .tab-trigger.assessment-option:hover .radio-indicator {
    border-color: #0083FF;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.assessment-options .option-label {
    font-size: 0.75rem;
    line-height: 1.3;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.assessment-options .option-percentage {
    font-size: 0.7rem;
    font-weight: 600;
    color: #0083FF;
    opacity: 0.8;
}

.assessment-options .tab-trigger.assessment-option.active .option-percentage {
    opacity: 1;
}

.selected-option-display {
    text-align: center;
    padding: 12px;
    background: var(--elyadata-light);
    border-radius: 8px;
    font-weight: 600;
    color: var(--elyadata-blue);
    font-size: 0.9rem;
}

/* Touch-friendly enhancements for assessment options */
@media (pointer: coarse) {
    .assessment-options .tab-trigger.assessment-option {
        min-height: 72px;
        padding: 20px 12px;
        touch-action: manipulation;
        font-size: 0.75rem;
        gap: 16px;
    }
    
    .assessment-options .tab-trigger.assessment-option:active {
        transform: scale(0.98);
    }
    
    .assessment-options .tab-list {
        gap: 6px;
        padding: 8px;
    }
    
    .assessment-options .radio-indicator {
        height: 24px;
        width: 24px;
        border-width: 3px;
    }
    
    .assessment-options .radio-indicator::after {
        width: 10px;
        height: 10px;
    }
}

/* Hide tab-list on smaller screens to show vertical radio layout */
@media screen and (max-width: 1220px) {
    .tab-list {
        display: none !important;
    }
}

/* Vertical Radio Button Options Styling - Mobile and Tablet Only */
@media screen and (max-width: 1220px) {
    .radio-options-container {
        align-self: stretch;
        padding-top: 12px;
        padding-bottom: 12px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 24px;
        display: flex;
    }

    .radio-option-wrapper {
        align-self: stretch;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 12px;
        display: flex;
        cursor: pointer;
    }

    .radio-option-card {
        align-self: stretch;
        padding-left: 6px;
        padding-right: 6px;
        padding-top: 8px;
        padding-bottom: 8px;
        border-radius: 12px;
        outline: 1px #E9EAEB solid;
        outline-offset: -1px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 10px;
        display: flex;
        transition: all 0.2s ease;
    }

    .radio-option-wrapper.selected .radio-option-card {
        outline: 1px #0083FF solid;
        outline-offset: -1px;
    }

    .radio-option-content {
        align-self: stretch;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 10px;
        display: flex;
    }

    .radio-option-header {
        align-self: stretch;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 32px;
        display: flex;
    }

    .radio-button-container {
        padding-top: 2px;
        justify-content: center;
        align-items: center;
        display: flex;
        flex: 0 0 auto;
    }

    .radio-input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

    .custom-radio {
        width: 16px;
        height: 16px;
        position: relative;
        background: #FAFAFA;
        border-radius: 8px;
        border: 1px #E8E8E8 solid;
        justify-content: center;
        align-items: center;
        display: flex;
        transition: all 0.2s ease;
    }

    .custom-radio.checked {
        background: #F5F8FF;
        outline: 1px #0083FF solid;
        outline-offset: -1px;
        border: none;
    }

    .radio-dot {
        width: 6px;
        height: 6px;
        background: #0083FF;
        border-radius: 50%;
        opacity: 0;
        transform: scale(0);
        transition: all 0.2s ease;
    }

    .custom-radio.checked .radio-dot {
        opacity: 1;
        transform: scale(1);
    }

    .option-text {
        flex: 1 1 0;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        display: flex;
        gap: 4px;
    }

    .option-title {
        align-self: stretch;
        color: #312F2F;
        font-size: 14px;
        font-family: Inter, sans-serif;
        font-weight: 500;
        line-height: 20px;
        word-wrap: break-word;
    }

    .option-description {
        align-self: stretch;
        color: #535862;
        font-size: 14px;
        font-family: Inter, sans-serif;
        font-weight: 400;
        line-height: 20px;
        word-wrap: break-word;
    }

    .examples-section {
        align-self: stretch;
        padding: 12px;
        background: #FAFAFA;
        border-radius: 9px;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 12px;
        display: flex;
        margin-top: 10px;
    }

    .examples-title {
        text-align: center;
        color: #312F2F;
        font-size: 14px;
        font-family: Inter, sans-serif;
        font-weight: 500;
        line-height: 34px;
        word-wrap: break-word;
    }

    .examples-content {
        align-self: stretch;
        color: #736C74;
        font-size: 14px;
        font-family: Inter, sans-serif;
        font-weight: 400;
        word-wrap: break-word;
        line-height: 1.4;
    }

    /* Hover effects */
    .radio-option-wrapper:hover .radio-option-card {
        outline: 1px #0083FF solid;
        outline-offset: -1px;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0, 131, 255, 0.1);
    }

    .radio-option-wrapper:hover .custom-radio {
        border-color: #0083FF;
    }
}

/* Tablet-specific optimizations for longer assessment card */
@media screen and (max-width: 1220px) {
    .assessment-card-modern {
        min-height: 80vh; /* Make card longer on tablets */
        max-height: none;
        max-width: none; /* Remove max-width constraint on tablets */
    }
    
    .question-content-section {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 24px;
    }
    
    .assessment-options {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .radio-options-container {
        flex: 1;
    }
    
    
    .radio-option-card {
        padding: 12px 8px;
    }
    
    .option-title {
        font-size: 15px;
        line-height: 22px;
    }
    
    .option-description {
        font-size: 14px;
        line-height: 18px;
    }
    
    .options-header-tablet {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px;
        background: #F8F9FA;
        border-radius: 12px;
        cursor: pointer;
        margin-bottom: 12px;
        border: 1px solid #E9EAEB;
        transition: all 0.2s ease;
    }
    
    .options-header-tablet:hover {
        background: #E9ECEF;
        border-color: #0083FF;
    }
    
    .options-title {
        font-size: 16px;
        font-weight: 600;
        color: #312F2F;
    }
    
    .collapse-icon {
        font-size: 14px;
        color: #535862;
        transition: transform 0.2s ease;
    }
    
    .options-header-tablet.collapsed .collapse-icon {
        transform: rotate(-90deg);
    }
    
    .options-content-collapsible {
        overflow: hidden;
        transition: max-height 0.3s ease;
        max-height: 1000px;
    }
    
    .options-content-collapsible.collapsed {
        max-height: 0;
        margin-bottom: 0;
    }
    
    .radio-option-wrapper.selected .custom-radio,
    .custom-radio.checked {
        border-color: #0083FF !important;
        background-color: #F0F8FF !important;
    }
    
    .radio-option-wrapper.selected .custom-radio .radio-dot,
    .custom-radio.checked .radio-dot {
        background-color: #0083FF !important;
        opacity: 1 !important;
        transform: scale(1) !important;
    }
    
    .options-content-collapsible {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 8px 0;
    }
    
    .options-content-collapsible .radio-option-wrapper:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
    
    @media screen and (max-width: 1220px) and (min-height: 1800px) {
        .options-content-collapsible {
            grid-template-columns: 1fr;
            gap: 16px;
        }
        
        .options-content-collapsible .radio-option-wrapper:last-child:nth-child(odd) {
            grid-column: auto;
        }
    }
    
    @media screen and (max-width: 1220px) and (orientation: portrait) and (min-height: 1600px) {
        .options-content-collapsible {
            grid-template-columns: 1fr;
        }
        
        .options-content-collapsible .radio-option-wrapper:last-child:nth-child(odd) {
            grid-column: auto;
        }
    }
    
    .options-content-collapsible .radio-option-wrapper {
        margin-bottom: 0 !important;
        width: 100%;
    }
    
    .radio-options-container {
        gap: 0 !important;
    }
    
    .definition-display-tablet {
        display: block !important;
        margin-top: 20px;
        padding: 16px;
        background: #F8F9FA;
        border-radius: 12px;
        border: 1px solid #E9EAEB;
        min-height: 60px;
    }
    
    .definition-title-tablet {
        font-size: 16px;
        font-weight: 600;
        color: #312F2F;
        margin-bottom: 8px;
    }
    
    .definition-content-tablet {
        font-size: 14px;
        color: #535862;
        line-height: 1.5;
        min-height: 20px;
    }
    
    .definition-tooltip {
        display: none !important;
    }
    
    .tab-options-container {
        display: none !important;
    }
    
    .radio-options-container {
        display: flex !important;
    }
}

@media screen and (min-width: 1100px) and (max-width: 1300px) and (min-height: 1800px) {
    .dynamic-sections {
        margin-top: 8px;
        gap: 8px;
    }
    
    .dynamic-section-modern {
        margin-top: 6px;
        gap: 12px;
        padding: 16px 12px;
    }
    
    .radio-option-card {
        padding: 20px 16px;
        min-height: 80px;
    }
    
    .option-title {
        font-size: 18px;
        font-weight: 600;
    }
    
    .option-description {
        font-size: 15px;
        line-height: 1.4;
    }
    
    .options-content-collapsible {
        gap: 12px; /* Reduced from 16px */
    }
}

@media screen and (min-height: 1900px) {
    .dynamic-sections {
        margin-top: 4px;
        gap: 6px;
    }
    
    .dynamic-section-modern {
        margin-top: 4px;
        gap: 8px;
        padding: 14px 10px;
    }
    
    .radio-option-card {
        padding: 24px 20px;
        min-height: 90px;
    }
    
    .option-title {
        font-size: 19px;
        font-weight: 600;
    }
    
    .option-description {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .options-content-collapsible {
        gap: 10px;
    }
    
    .question-container {
        gap: 16px;
    }
}

@media screen and (max-width: 1220px) and (min-height: 1900px) {
    .dynamic-sections {
        gap: 12px;
    }
    
    .dynamic-section-modern {
        margin-top: 12px;
        gap: 16px;
        padding: 20px 14px;
    }
}

@media screen and (min-width: 1221px) {
    .options-header-tablet {
        display: none;
    }
    
    .definition-display-tablet {
        display: none !important;
    }
    
    .tab-list {
        display: flex !important;
    }
}

@media (pointer: coarse) and (max-width: 1220px) {
    .radio-option-wrapper {
        min-height: 72px;
    }
    
    .radio-option-card {
        padding: 16px 12px;
        min-height: 60px;
    }
    
    .custom-radio {
        width: 20px;
        height: 20px;
    }
    
    .radio-dot {
        width: 8px;
        height: 8px;
    }
    
    .option-title {
        font-size: 16px;
        line-height: 22px;
    }
    
    .option-description {
        font-size: 15px;
        line-height: 20px;
    }
}

/* Hide vertical radio layout on desktop screens (1221px and above) */
@media screen and (min-width: 1221px) {
    .radio-options-container {
        display: none;
    }
    
    /* Restore original tab-list styling on desktop */
    .tab-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 4px;
        background: var(--gray-100);
        border-radius: 12px;
        padding: 6px;
        margin-bottom: 16px;
        overflow-x: auto;
    }
}

/* Language Selector Styles */
.language-selector {
    margin-right: 16px;
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-btn {
    background: white;
    border: 1px solid #e5e7eb;
    color: #374151;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.language-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.language-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    min-width: 120px;
    margin-top: 4px;
    display: none;
}

.language-dropdown .dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.language-option {
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.language-option:hover {
    background-color: #f3f4f6 !important;
    color: #374151;
}

.language-option:focus {
    outline: none;
    background-color: #f3f4f6 !important;
}

/* Auth menu layout adjustments */
.auth-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== MODERN LOGIN INTERFACE STYLES ===== */

/* Login Page Layout */
.login-page {
    min-height: 100vh;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Login Language Selector */
.login-language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.login-language-selector .language-btn {
    background: white;
    border: 1px solid #e5e7eb;
    color: #374151;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.login-language-selector .language-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.login-language-selector .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    min-width: 120px;
    margin-top: 4px;
    display: none;
    list-style: none;
    padding: 0;
    margin-left: 0;
}

.login-language-selector .dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.login-language-selector .language-option {
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    padding: 8px 16px;
}

.login-language-selector .language-option:hover {
    background-color: #f3f4f6 !important;
    color: #374151;
}

/* Login Container */
.login-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Login Card */
.login-card {
    width: 667px;
    max-width: 100%;
    padding: 96px;
    background: white;
    border-radius: 16px;
    border: 1px solid #DCDCDC;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
}

/* Login Content */
.login-content {
    width: 100%;
    padding: 32px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 46px;
}

/* Login Header */
.login-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.login-title {
    width: 100%;
    text-align: center;
    color: #312F2F;
    font-size: 32px;
    font-family: Inter, sans-serif;
    font-weight: 600;
    line-height: 34px;
    word-wrap: break-word;
    margin: 0;
}

.login-subtitle {
    text-align: center;
    color: #736C74;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    word-wrap: break-word;
    margin: 0;
}

/* Login Form Section */
.login-form-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 32px;
}

/* Login Messages */
.login-messages {
    width: 100%;
    margin-bottom: 16px;
}

.login-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 500;
}

.login-message--error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.login-message--info {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.login-message--success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* Login Form */
.login-form {
    width: 100%;
}

.login-form-fields {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
}

/* Form Field */
.form-field {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.form-field-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 6px;
}

/* Form Label */
.form-label {
    color: #414651;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    line-height: 20px;
    word-wrap: break-word;
    margin: 0;
}

/* Form Input Container */
.form-input-container {
    width: 100%;
    padding: 10px 14px;
    background: white;
    box-shadow: 0px 1px 2px rgba(10, 12.67, 18, 0.05);
    border-radius: 8px;
    border: 1px solid #D5D7DA;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    position: relative;
}

.form-input-container:focus-within {
    border-color: #0083FF;
    box-shadow: 0px 1px 2px rgba(10, 12.67, 18, 0.05), 0 0 0 3px rgba(0, 131, 255, 0.1);
}

/* Form Input */
.form-input {
    flex: 1;
    color: #717680;
    font-size: 16px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 24px;
    word-wrap: break-word;
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
}

.form-input::placeholder {
    color: #717680;
}

.form-input:focus {
    color: #312F2F;
}

/* Password Toggle Icon */
.password-toggle-icon {
    width: 16px;
    height: 16px;
    position: relative;
    cursor: pointer;
}

.eye-icon {
    width: 12px;
    height: 4px;
    position: absolute;
    left: 2px;
    top: 4.67px;
    border: 1.5px solid #717680;
    border-radius: 2px;
}

.eye-icon::after {
    content: '';
    width: 4px;
    height: 4px;
    position: absolute;
    left: 4px;
    top: 2.66px;
    border: 1.5px solid #717680;
    border-radius: 50%;
    background: transparent;
}

/* Form Error */
.form-error {
    color: #dc2626;
    font-size: 12px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    margin-top: 4px;
}

/* Forgot Password Link */
.forgot-password-link {
    text-align: center;
    color: #0083FF;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    word-wrap: break-word;
    text-decoration: none;
    align-self: flex-start;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

/* Login Submit Section */
.login-submit-section {
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
}

/* Login Submit Button */
.login-submit-btn {
    flex: 1;
    height: 40px;
    padding: 10px 24px;
    background: #312F2F;
    border-radius: 8px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.login-submit-btn:hover {
    background: #1f1d1d;
}

.login-submit-btn:active {
    transform: translateY(1px);
}

.login-submit-btn {
    text-align: center;
    color: white;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    word-wrap: break-word;
}

/* Resend Verification */
.resend-verification {
    width: 100%;
    padding: 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    margin-top: 16px;
}

.resend-verification strong {
    color: #1d4ed8;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 600;
}

.resend-verification p {
    color: #1e40af;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    margin: 8px 0;
}

.resend-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.resend-btn:hover {
    background: #1d4ed8;
}

/* Login Footer */
.login-footer {
    text-align: center;
    margin-top: 16px;
}

.login-footer-text {
    color: #736C74;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    word-wrap: break-word;
}

.login-footer-link {
    color: #312F2F;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 700;
    word-wrap: break-word;
    text-decoration: none;
}

.login-footer-link:hover {
    text-decoration: underline;
}

/* Responsive Design for Login */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .login-card {
        width: 667px;
        padding: 96px;
    }
    
    .login-title {
        font-size: 32px;
        line-height: 34px;
    }
    
    .login-subtitle {
        font-size: 14px;
    }
}

/* Desktop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .login-card {
        width: 600px;
        padding: 80px;
    }
    
    .login-title {
        font-size: 28px;
        line-height: 32px;
    }
    
    .login-subtitle {
        font-size: 14px;
    }
}

/* Tablet Landscape (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .login-card {
        width: 520px;
        padding: 60px 40px;
        margin: 20px;
    }
    
    .login-title {
        font-size: 26px;
        line-height: 30px;
    }
    
    .login-subtitle {
        font-size: 13px;
    }
    
    .login-content {
        gap: 40px;
        padding: 24px 0;
    }
    
    .login-language-selector {
        top: 15px;
        right: 15px;
    }
}

/* Tablet Portrait (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .login-card {
        width: 90%;
        max-width: 480px;
        padding: 48px 32px;
        margin: 20px auto;
    }
    
    .login-title {
        font-size: 24px;
        line-height: 28px;
    }
    
    .login-subtitle {
        font-size: 13px;
    }
    
    .login-content {
        gap: 36px;
        padding: 20px 0;
    }
    
    .login-language-selector {
        top: 12px;
        right: 12px;
    }
    
    .form-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Mobile Large (480px to 575px) */
@media (min-width: 480px) and (max-width: 575px) {
    .login-card {
        width: 95%;
        padding: 40px 24px;
        margin: 15px auto;
    }
    
    .login-title {
        font-size: 22px;
        line-height: 26px;
    }
    
    .login-subtitle {
        font-size: 12px;
    }
    
    .login-content {
        gap: 32px;
        padding: 16px 0;
    }
    
    .login-language-selector {
        top: 10px;
        right: 10px;
    }
    
    .login-language-selector .language-btn {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .form-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-input-container {
        padding: 12px 14px; /* Slightly larger touch targets */
    }
}

/* Mobile Medium (375px to 479px) */
@media (min-width: 375px) and (max-width: 479px) {
    .login-card {
        width: 95%;
        padding: 32px 20px;
        margin: 12px auto;
    }
    
    .login-title {
        font-size: 20px;
        line-height: 24px;
    }
    
    .login-subtitle {
        font-size: 12px;
    }
    
    .login-content {
        gap: 28px;
        padding: 12px 0;
    }
    
    .login-language-selector {
        top: 8px;
        right: 8px;
    }
    
    .login-language-selector .language-btn {
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .form-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-input-container {
        padding: 14px; /* Larger touch targets for mobile */
    }
    
    .login-submit-btn {
        height: 44px; /* Larger touch target */
        font-size: 16px;
    }
    
    .forgot-password-link {
        font-size: 13px;
    }
}

/* Mobile Small (320px to 374px) */
@media (max-width: 374px) {
    .login-page {
        padding: 8px;
    }
    
    .login-card {
        width: 100%;
        padding: 24px 16px;
        margin: 8px 0;
        border-radius: 12px;
    }
    
    .login-title {
        font-size: 18px;
        line-height: 22px;
    }
    
    .login-subtitle {
        font-size: 11px;
    }
    
    .login-content {
        gap: 24px;
        padding: 8px 0;
    }
    
    .login-language-selector {
        top: 6px;
        right: 6px;
    }
    
    .login-language-selector .language-btn {
        padding: 4px 6px;
        font-size: 11px;
    }
    
    .form-label {
        font-size: 13px;
    }
    
    .form-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-input-container {
        padding: 14px 12px; /* Optimized for small screens */
    }
    
    .login-submit-btn {
        height: 48px; /* Even larger touch target for small screens */
        font-size: 16px;
    }
    
    .forgot-password-link {
        font-size: 12px;
    }
    
    .login-footer-text,
    .login-footer-link {
        font-size: 12px;
    }
}

/* Landscape orientation adjustments for mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
    .login-page {
        padding: 10px 0;
    }
    
    .login-container {
        padding: 10px 20px;
    }
    
    .login-card {
        padding: 20px 32px;
        margin: 5px auto;
    }
    
    .login-content {
        gap: 20px;
        padding: 8px 0;
    }
    
    .login-title {
        font-size: 20px;
        line-height: 24px;
    }
    
    .login-subtitle {
        font-size: 12px;
    }
    
    .login-language-selector {
        top: 5px;
        right: 10px;
    }
}

/* High DPI / Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .eye-icon,
    .eye-icon::after {
        border-width: 1px; /* Thinner borders on high DPI displays */
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .login-submit-btn {
        min-height: 44px; /* Apple's recommended minimum touch target */
    }
    
    .forgot-password-link {
        padding: 8px 4px; /* Larger touch area */
        margin: 4px 0;
    }
    
    .login-language-selector .language-btn {
        min-height: 44px;
        padding: 8px 12px;
    }
    
    .form-input-container {
        min-height: 44px;
    }
}

/* Accessibility - Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .login-submit-btn,
    .form-input-container,
    .login-language-selector .language-btn,
    .forgot-password-link {
        transition: none;
    }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
    .login-page {
        background: #1a1a1a;
    }
    
    .login-card {
        background: #2d2d2d;
        border-color: #404040;
    }
    
    .login-title {
        color: #ffffff;
    }
    
    .login-subtitle {
        color: #b0b0b0;
    }
    
    .form-label {
        color: #e0e0e0;
    }
    
    .form-input-container {
        background: #3a3a3a;
        border-color: #555555;
    }
    
    .form-input {
        color: #ffffff;
    }
    
    .form-input::placeholder {
        color: #888888;
    }
}

/* ===== MODERN REGISTER INTERFACE STYLES ===== */

/* Register Page Layout */
.register-page {
    min-height: 100vh;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    position: relative;
}

.padding-form {
    padding: 0.75rem !important;
}

/* Register Language Selector */
.register-language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.register-language-selector .language-btn {
    background: white;
    border: 1px solid #e5e7eb;
    color: #374151;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.register-language-selector .language-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.register-language-selector .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    min-width: 120px;
    margin-top: 4px;
    display: none;
    list-style: none;
    padding: 0;
    margin-left: 0;
}

.register-language-selector .dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.register-language-selector .language-option {
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    padding: 8px 16px;
}

.register-language-selector .language-option:hover {
    background-color: #f3f4f6 !important;
    color: #374151;
}

/* Register Container */
.register-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Register Card */
.register-card {
    width: 1016px;
    max-width: 100%;
    padding: 72px 113px 46px 113px;
    background: white;
    border-radius: 16px;
    border: 1px solid #DCDCDC;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

/* Register Content */
.register-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 46px;
}

/* Register Header */
.register-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 14px;
}

.register-title {
    width: 100%;
    text-align: center;
    color: #312F2F;
    font-size: 32px;
    font-family: Inter, sans-serif;
    font-weight: 600;
    line-height: 34px;
    word-wrap: break-word;
    margin: 0;
}

.register-subtitle {
    text-align: center;
    color: #736C74;
    font-size: 18px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    word-wrap: break-word;
    margin: 0;
}

/* Register Form Section */
.register-form-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 46px;
}

/* Register Messages */
.register-messages {
    width: 100%;
    margin-bottom: 16px;
}

.register-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 500;
}

.register-message--error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.register-message--info {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.register-message--success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* Register Form */
.register-form {
    width: 100%;
}

.register-form-fields {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
}

/* Form Row */
.form-row {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
}

/* Register Submit Section */
.register-submit-section {
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
}

/* Register Submit Button */
.register-submit-btn {
    flex: 1;
    height: 40px;
    padding: 10px 24px;
    background: #312F2F;
    border-radius: 8px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    color: white;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    word-wrap: break-word;
}

.register-submit-btn:hover {
    background: #1f1d1d;
}

.register-submit-btn:active {
    transform: translateY(1px);
}

/* Register Footer */
.register-footer {
    text-align: center;
    margin-top: 16px;
}

.register-footer-text {
    color: #736C74;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    word-wrap: break-word;
}

.register-footer-link {
    color: #312F2F;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 700;
    word-wrap: break-word;
    text-decoration: none;
}

.register-footer-link:hover {
    text-decoration: underline;
}

/* Responsive Design for Register */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .register-card {
        width: 1016px;
        padding: 72px 113px 46px 113px;
    }
    
    .register-title {
        font-size: 32px;
        line-height: 34px;
    }
    
    .register-subtitle {
        font-size: 18px;
    }
}

/* Desktop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .register-card {
        width: 900px;
        padding: 60px 80px 40px 80px;
    }
    
    .register-title {
        font-size: 28px;
        line-height: 32px;
    }
    
    .register-subtitle {
        font-size: 16px;
    }
}

/* Tablet Landscape (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .register-card {
        width: 95%;
        max-width: 750px;
        padding: 50px 40px 35px 40px;
        margin: 20px;
    }
    
    .register-title {
        font-size: 26px;
        line-height: 30px;
    }
    
    .register-subtitle {
        font-size: 15px;
    }
    
    .register-content {
        gap: 40px;
    }
    
    .register-form-fields {
        gap: 20px;
    }
    
    .register-language-selector {
        top: 15px;
        right: 15px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .register-card {
        width: 95%;
        padding: 40px 32px 30px 32px;
        margin: 20px auto;
    }
    
    .register-title {
        font-size: 24px;
        line-height: 28px;
    }
    
    .register-subtitle {
        font-size: 14px;
    }
    
    .register-content {
        gap: 36px;
    }
    
    .register-form-fields {
        gap: 18px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .register-language-selector {
        top: 12px;
        right: 12px;
    }
    
    .form-input {
        font-size: 16px;
    }
}

@media (min-width: 480px) and (max-width: 575px) {
    .register-card {
        width: 95%;
        padding: 32px 24px 24px 24px;
        margin: 15px auto;
    }
    
    .register-title {
        font-size: 22px;
        line-height: 26px;
    }
    
    .register-subtitle {
        font-size: 13px;
    }
    
    .register-content {
        gap: 32px;
    }
    
    .register-form-fields {
        gap: 16px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .register-language-selector {
        top: 10px;
        right: 10px;
    }
    
    .register-language-selector .language-btn {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .form-input {
        font-size: 16px;
    }
    
    .form-input-container {
        padding: 12px 14px;
    }
}

@media (min-width: 375px) and (max-width: 479px) {
    .register-card {
        width: 95%;
        padding: 28px 20px 20px 20px;
        margin: 12px auto;
    }
    
    .register-title {
        font-size: 20px;
        line-height: 24px;
    }
    
    .register-subtitle {
        font-size: 12px;
    }
    
    .register-content {
        gap: 28px;
    }
    
    .register-form-fields {
        gap: 14px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 14px;
    }
    
    .register-language-selector {
        top: 8px;
        right: 8px;
    }
    
    .register-language-selector .language-btn {
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .form-input {
        font-size: 16px;
    }
    
    .form-input-container {
        padding: 14px;
    }
    
    .register-submit-btn {
        height: 44px;
        font-size: 16px;
    }
}

@media (max-width: 374px) {
    .register-page {
        padding: 8px;
    }
    
    .register-card {
        width: 100%;
        padding: 24px 16px 16px 16px;
        margin: 8px 0;
        border-radius: 12px;
    }
    
    .register-title {
        font-size: 18px;
        line-height: 22px;
    }
    
    .register-subtitle {
        font-size: 11px;
    }
    
    .register-content {
        gap: 24px;
    }
    
    .register-form-fields {
        gap: 12px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .register-language-selector {
        top: 6px;
        right: 6px;
    }
    
    .register-language-selector .language-btn {
        padding: 4px 6px;
        font-size: 11px;
    }
    
    .form-label {
        font-size: 13px;
    }
    
    .form-input {
        font-size: 16px;
    }
    
    .form-input-container {
        padding: 14px 12px;
    }
    
    .register-submit-btn {
        height: 48px;
        font-size: 16px;
    }
    
    .register-footer-text,
    .register-footer-link {
        font-size: 12px;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .register-page {
        padding: 10px 0;
    }
    
    .register-container {
        padding: 10px 20px;
    }
    
    .register-card {
        padding: 20px 32px 16px 32px;
        margin: 5px auto;
    }
    
    .register-content {
        gap: 20px;
    }
    
    .register-form-fields {
        gap: 12px;
    }
    
    .register-title {
        font-size: 20px;
        line-height: 24px;
    }
    
    .register-subtitle {
        font-size: 12px;
    }
    
    .register-language-selector {
        top: 5px;
        right: 10px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .register-submit-btn {
        min-height: 44px;
    }
    
    .register-language-selector .language-btn {
        min-height: 44px;
        padding: 8px 12px;
    }
    
    .form-input-container {
        min-height: 44px;
    }
}

@media screen and (max-width: 1220px) {
    .results-cards-container {
        flex-direction: column !important;
        gap: 20px !important;
        margin: 15px 0 !important;
    }
    
    .results-cards-container > .card {
        flex: none !important;
        width: 100% !important;
    }
}

@media screen and (max-width: 768px) {
    .results-cards-container {
        gap: 15px !important;
        margin: 10px 0 !important;
    }
    
    .results-cards-container > .card .card-content {
        padding: 16px !important;
    }
}

/* Modern Stats Cards */
.stats-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
}

.modern-stats-card {
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
}

.modern-stats-card:hover {
    border-color: #e2e8f0;
}

.stat-icon-container {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.stat-icon-blue {
    background: #eff6ff;
    color: #2563eb;
}

.stat-icon-green {
    background: #f0fdf4;
    color: #16a34a;
}

.stat-icon-orange {
    background: #fff7ed;
    color: #ea580c;
}

.stat-icon-purple {
    background: #faf5ff;
    color: #9333ea;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.4;
}

/* Responsive adjustments for modern stats cards */
@media screen and (max-width: 1220px) {
    .stats-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        background: white;
        padding: 20px;
    }
    
    .modern-stats-card {
        padding: 20px;
    }
    
    .stat-icon-container {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .stat-number {
        font-size: 24px;
    }
}

@media screen and (max-width: 768px) {
    .stats-cards-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .modern-stats-card {
        padding: 18px;
        gap: 12px;
    }
    
    .stat-icon-container {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .stat-number {
        font-size: 22px;
    }
    
    .stat-label {
        font-size: 13px;
    }
}

/* Assessment Table Card */
.assessment-table-card {
    background: white;
    border: 1px solid #EBEBEB;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

/* Responsive Assessment Table */
.responsive-assessment-table {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 20px;
}

.responsive-assessment-table li {
    border-radius: 8px;
    padding: 15px 24px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.assessment-table-header {
    color: #525661;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #EBEBEB;
    background-color: white;
}

.assessment-table-row {
    background-color: white;
    border: 1px solid #e5e7eb;
}


.responsive-assessment-table .col-1 {
    flex-basis: 10%;
    min-width: 80px;
}

.responsive-assessment-table .col-2 {
    flex-basis: 18%;
    min-width: 140px;
}

/* Assessment Badges */
.assessment-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
}

.assessment-badge.completed {
    background: #E5FBE6;
    color: #12B76A;
}

.assessment-badge.in-progress {
    background: #FBEBE5;
    color: #F08838;
}

.assessment-badge.archived {
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
    color: white;
}

.assessment-badge.all {
    background: #00D4FF;
    color: white;
}

/* Filter Badge Styles */
.filter-item {
    margin-right: 16px;
}

.filter-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid #D1D5DB;
    border-radius: 3px;
    background: white;
    cursor: pointer;
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    pointer-events: none;
}

/* All filter checkbox */
.filter-all .filter-checkbox:checked {
    background: #0d6efd;
    border-color: #0d6efd;
}

.filter-all .filter-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: bold;
}

/* Completed filter checkbox */
.filter-completed .filter-checkbox:checked {
    background: #12B76A;
    border-color: #12B76A;
}

.filter-completed .filter-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: bold;
}

/* In-progress filter checkbox */
.filter-in-progress .filter-checkbox:checked {
    background: #F08838;
    border-color: #F08838;
}

.filter-in-progress .filter-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: bold;
}

/* Archived filter checkbox */
.filter-archived .filter-checkbox:checked {
    background: #6b7280;
    border-color: #6b7280;
}

.filter-archived .filter-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: bold;
}

/* Default gray appearance for all filter badges */
.filter-badge {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    color: #6B7280;
}

/* Specific filter badge styles (inactive state) */
.filter-badge.filter-all,
.filter-badge.filter-completed,
.filter-badge.filter-in-progress,
.filter-badge.filter-archived {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    color: #6B7280;
}

/* Active/Checked state for filter badges */
.btn-check:checked + .filter-badge.filter-all {
    background: #F9FAFB;
    color: #0d6efd;
    border: 1px solid #0d6efd;
}

.btn-check:checked + .filter-badge.filter-completed {
    background: #F9FAFB;
    color: #12B76A;
    border: 1px solid #12B76A;
}

.btn-check:checked + .filter-badge.filter-in-progress {
    background: #F9FAFB;
    color: #F08838;
    border: 1px solid #F08838;
}

.btn-check:checked + .filter-badge.filter-archived {
    background: #F9FAFB;
    color: #6b7280;
    border: 1px solid #6b7280;
}

/* Hover effects */
.filter-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Assessment Actions */
.assessment-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.container-dashboard {
  width: 95%;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-right: auto;
  margin-left: auto;
}
.assessment-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #D5D7DA;
    border-radius: 6px;
    background: #FFFFFF;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 14px;
    margin: 0 2px;
}

.assessment-action-btn i {
    width: 14px;
    height: 14px;
    color: #1F1F1F;
    font-size: 14px;
}

.assessment-action-btn:hover {
    background: #E0E2E4;
    transform: translateY(-1px);
}

.assessment-action-btn:hover i {
    color: #1F1F1F;
}

.assessment-action-btn.warning {
    background: #FFF4E6;
    border-color: #FFB020;
}

.assessment-action-btn.warning:hover {
    background: #FFE4B5;
}

.assessment-action-btn.warning i {
    color: #FF8C00;
}

.assessment-action-btn.success {
    background: #E8F5E8;
    border-color: #28A745;
}

.assessment-action-btn.success:hover {
    background: #D4EDDA;
}

.assessment-action-btn.success i {
    color: #28A745;
}

.assessment-action-btn.danger {
    background: #FFEBEE;
    border-color: #DC3545;
}

.assessment-action-btn.danger:hover {
    background: #FFCDD2;
}

.assessment-action-btn.danger i {
    color: #DC3545;
}

.assessment-action-btn.info {
    background: #E3F2FD;
    border-color: #2196F3;
}

.assessment-action-btn.info:hover {
    background: #BBDEFB;
}

.assessment-action-btn.info i {
    color: #1976D2;
}

/* Responsive behavior for mobile */
@media screen and (max-width: 767px) {
    .assessment-table-header {
        display: none;
    }
    
    .responsive-assessment-table li {
        display: block;
        padding: 20px;
    }
    
    .responsive-assessment-table .col {
        flex-basis: 100% !important;
        display: flex;
        padding: 12px 0;
        border-bottom: 1px solid #f3f4f6;
        align-items: center;
    }
    
    .responsive-assessment-table .col:last-child {
        border-bottom: none;
    }
    
    .responsive-assessment-table .col:before {
        content: attr(data-label);
        flex-basis: 40%;
        font-weight: 600;
        color: #374151;
        padding-right: 16px;
        text-align: left;
    }
    
    .responsive-assessment-table .col-1:before {
        content: "Titre:";
    }
    
    .responsive-assessment-table .col-2:before {
        content: "Date:";
    }
    
    .responsive-assessment-table .col-3:before {
        content: "Statut:";
    }
    
    .responsive-assessment-table .col-4:before {
        content: "Actions:";
    }
    
    .assessment-badge {
        margin-left: 0;
        margin-top: 4px;
        display: block;
        width: fit-content;
    }
    
    .assessment-actions {
        justify-content: flex-start;
    }
}

/* Dashboard Section Header - Custom Flex Justify Between */
.dashboard-section-header .d-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.dashboard-section-header h5 {
    flex-shrink: 1;
    margin: 0;
}

.dashboard-section-header .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Modern User Profile Styles */
.modern-user-profile {
    width: 250px;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.modern-user-profile:hover {
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.15);
}

.user-profile-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.user-avatar-section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}

.user-avatar {
    width: 51px;
    height: 51px;
    border-radius: 50%;
    background: #EFF8FF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #175CD3;
    font-size: 20px;
}

.user-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 115px;
}

.user-name {
    color: black;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 600;
    word-wrap: break-word;
    display: flex;
    align-items: center;
    gap: 4px;
}

.premium-crown {
    color: #ffd700;
    font-size: 12px;
}

.user-role {
    color: #B3B3B3;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    word-wrap: break-word;
}

.dropdown-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1A1A1A;
    transition: transform 0.2s ease;
}

.modern-user-profile.active .dropdown-arrow {
    transform: rotate(180deg);
}

.modern-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 4px;
    padding: 8px 0;
    list-style: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.modern-user-profile.active .modern-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.modern-dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    transition: all 0.2s ease;
}

.modern-dropdown-link:hover {
    background: #f3f4f6;
    color: #1f2937;
    text-decoration: none;
}

.modern-dropdown-link i {
    width: 16px;
    font-size: 14px;
}

.premium-link {
    color: #f59e0b !important;
}

.premium-link:hover {
    background: #fef3c7 !important;
    color: #d97706 !important;
}

.logout-link {
    color: #dc2626 !important;
}

.logout-link:hover {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}

.dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 4px 16px;
    list-style: none;
}

/* Responsive behavior for mobile */
@media screen and (max-width: 768px) {
    .modern-user-profile {
        width: 200px;
        padding: 6px;
    }
    
    .user-profile-content {
        gap: 16px;
    }
    
    .user-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .user-details {
        width: 100px;
    }
    
    .user-name {
        font-size: 12px;
    }
    
    .user-role {
        font-size: 12px;
    }
    
    .dropdown-arrow {
        width: 20px;
        height: 20px;
    }
}

/* Responsive behavior for mobile */
@media screen and (max-width: 768px) {
    .dashboard-section-header .d-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .dashboard-section-header .btn {
        align-self: flex-end;
    }
}

@media (prefers-reduced-motion: reduce) {
    .register-submit-btn,
    .form-input-container,
    .register-language-selector .language-btn,
    .register-footer-link,
    .stats-card {
        transition: none;
    }
}

/* Dashboard Full Width Container */
.dashboard-container {
    width: 100vw;
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.stats-container {
    align-self: stretch;
    padding: 2%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    display: inline-flex;
    margin-bottom: 2rem;
    width: 100%;
}

.stats-cards-wrapper {
    align-self: stretch;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    display: flex;
}

.stats-cards-container {
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 2%;
    display: inline-flex;
    flex-wrap: wrap;
}

.stats-card {
    height: 110px;
    padding: 16px 18px 16px 24px;
    background: white;
    box-shadow: 1px 0.75px 4.6px rgba(179, 179, 179, 0.50);
    border-radius: 4px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    display: inline-flex;
    margin-bottom: 10px;
}

.stats-card-gray {
    border-left: 4px #D6D7D7 solid;
}

.stats-card-blue {
    border-left: 4px #768CA5 solid;
    box-shadow: 1px 1px 5.7px rgba(179, 179, 179, 0.50);
}

.stats-card-orange {
    border-left: 4px #FFAF0B solid;
    box-shadow: 1px 1px 5.7px rgba(179, 179, 179, 0.50);
}

.stats-card-light-blue {
    border-left: 4px #4591CC solid;
    box-shadow: 1px 1px 5.7px rgba(179, 179, 179, 0.50);
}

.stats-card-red {
    border-left: 4px #FF5454 solid;
    box-shadow: 1px 1px 5.7px rgba(179, 179, 179, 0.50);
}

.stats-card-content {
    align-self: stretch;
    height: 80px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    display: flex;
}

.stats-card-inner {
    align-self: stretch;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    display: flex;
}

.stats-card-header {
    align-self: stretch;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    display: inline-flex;
}

.stats-card-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-card-icon i {
    font-size: 20px;
    color: #4591CC;
    opacity: 0.8;
}

.stats-card-title {
    color: #9EA0A2;
    font-size: 16px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 14px;
    word-wrap: break-word;
}

.stats-card-value {
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    display: inline-flex;
}

.stats-number {
    color: #1F1F1F;
    font-size: 40px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    line-height: 32px;
    word-wrap: break-word;
}

/* Responsive adjustments for stats cards */
@media (max-width: 1400px) {
    .stats-cards-container {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stats-card {
        width: 220px;
        margin: 5px;
    }
}

@media (max-width: 1200px) {
    .stats-cards-container {
        justify-content: center;
        gap: 15px;
    }
    
    .stats-card {
        width: 200px;
        margin: 5px;
    }
}

@media (max-width: 992px) {
    .stats-cards-container {
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 15px;
    }
    
    .stats-card {
        width: 280px;
        margin: 5px 0;
    }
}

@media (max-width: 576px) {
    .stats-container {
        padding: 5px;
    }
    
    .stats-card {
        width: 100%;
        max-width: 320px;
    }
    
    .stats-card-title {
        font-size: 14px;
        line-height: 16px;
    }
    
    .stats-number {
        font-size: 32px;
        line-height: 28px;
    }
}

/* User Management Table Column Layout - 7 columns total */
.responsive-assessment-table .col-1 {
    flex-basis: 10%;
    min-width: 80px;
}

.responsive-assessment-table .col-2 {
    flex-basis: 18%;
    min-width: 140px;
}

/* Additional columns for user management table */
.responsive-assessment-table .col-3 {
    flex-basis: 16%;
    min-width: 120px;
}

.responsive-assessment-table .col-4 {
    flex-basis: 12%;
    min-width: 100px;
}

.responsive-assessment-table .col-5 {
    flex-basis: 14%;
    min-width: 110px;
}

.responsive-assessment-table .col-6 {
    flex-basis: 16%;
    min-width: 120px;
}

.responsive-assessment-table .col-7 {
    flex-basis: 14%;
    min-width: 110px;
}

/* Ensure table doesn't overflow */
.responsive-assessment-table {
    overflow-x: auto;
    width: 100%;
}

.responsive-assessment-table li {
    min-width: 900px; /* Minimum width to show all columns */
}

/* User Management Table Specific Column Layout */
.responsive-assessment-table .user-col {
    flex: 0 0 20%;
    min-width: 180px;
}

.responsive-assessment-table .role-col {
    flex: 0 0 12%;
    min-width: 100px;
}

.responsive-assessment-table .status-col {
    flex: 0 0 15%;
    min-width: 120px;
}

.responsive-assessment-table .eval-col {
    flex: 0 0 9%;
    min-width: 80px;
    text-align: center;
}

.responsive-assessment-table .email-col {
    flex: 0 0 14%;
    min-width: 120px;
    text-align: center;
}

.responsive-assessment-table .date-col {
    flex: 0 0 12%;
    min-width: 100px;
}

.responsive-assessment-table .actions-col {
    flex: 0 0 20%;
    min-width: 180px;
}

/* Ensure all columns are visible */
.responsive-assessment-table li {
    display: flex;
    flex-wrap: nowrap;
    min-width: 950px;
}

.table-container {
    overflow-x: auto;
    width: 100%;
}
/* Use dashboard full height styles */
.profile-full-height {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.profile-content {
    flex: 1;
    display: flex;
    align-items: stretch;
}

.profile-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.profile-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 120px);
}

/* Modern form styling inspired by login/register */
.form-field {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.form-input-container {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #D1D5DB;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Stats cards matching dashboard style */
.stats-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.modern-stats-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.modern-stats-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.stat-icon-container {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.stat-icon-blue { background: #3B82F6; }
.stat-icon-green { background: #10B981; }
.stat-icon-orange { background: #F59E0B; }
.stat-icon-purple { background: #8B5CF6; }

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #6B7280;
    margin-top: 4px;
}

/* Profile header */
.profile-header-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #E5E7EB;
}

.profile-title {
    padding-left: 10px;
    font-size: 28px;
    font-weight: 600;
    color: #312F2F;
    margin-bottom: 10px;
}

.profile-subtitle {
    color: #6B7280;
    font-size: 16px;
}

/* Status badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.premium-badge {
    background: #F3E8FF;
    color: #7C3AED;
}

.free-badge {
    background: #DBEAFE;
    color: #2563EB;
}

/* Form section */
.form-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #E5E7EB;
}

/* Buttons */
/* Custom button styles matching user specification */
.btn-custom-primary {
    align-self: stretch;
    padding: 10px 24px;
    background: #312F2F;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: inline-flex;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-custom-primary:hover {
    background: #1F1D1D;
    transform: translateY(-1px);
}

.btn-custom-primary .btn-text {
    text-align: center;
    color: white;
    font-size: 14px;
    font-family: Inter;
    font-weight: 500;
    word-wrap: break-word;
}

.btn-custom-primary .btn-icon {
    width: 20px;
    height: 20px;
    position: relative;
    overflow: hidden;
}

.btn-custom-primary .btn-icon::after {
    content: '';
    width: 15px;
    height: 14.17px;
    left: 2.50px;
    top: 2.92px;
    position: absolute;
    outline: 1.50px white solid;
    outline-offset: -0.75px;
}

.btn-secondary-modern {
    background: white;
    color: #374151;
    border: 1.5px solid #D1D5DB;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    font-family: Inter;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary-modern:hover {
    background: #F9FAFB;
    border-color: #9CA3AF;
    color: #374151;
    text-decoration: none;
}

/* Premium upgrade card */
.premium-upgrade-card {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    border-radius: 12px;
    color: white;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

/* Danger zone */
.danger-zone-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #FCA5A5;
}

.danger-zone-header {
    background: #FEE2E2;
    color: #DC2626;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.btn-danger-modern {
    background: #DC2626;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-danger-modern:hover {
    background: #B91C1C;
}

/* Form error styling */
.form-error {
    color: #DC2626;
    font-size: 14px;
    margin-top: 0.5rem;
}