/**
 * ENNU Life Frontend Assessment Forms CSS
 * Modern Neutral Grey Color Scheme
 * Version: 97.0.2
 */

/* Slider Error Styling for Height/Weight Validation */
.slider-container.error {
    border: 2px solid #e74c3c;
    border-radius: 8px;
    padding: 10px;
    background-color: rgba(231, 76, 60, 0.1);
}

.slider-container.error .form-slider {
    border: 1px solid #e74c3c;
}

.slider-container.error .slider-value-display {
    color: #e74c3c;
    font-weight: bold;
}

input[type="range"].error {
    border: 2px solid #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
}


@media (max-width: 768px) {


.dob-dropdowns {
    display: flex;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
    flex-direction: column;
}
}

.privacy-notice p small {
    color: #000;
}

 .dob-dropdowns label {
    display: none;
}

.calculated-age-display {
    color: #fff !important;
}

.privacy-notice small {
    color: #fff;
}




.ennu-logo-container {
    margin-bottom: 15px !important;
    position: relative !important;
    z-index: 2 !important;
    text-align: center !important;
}

.ennu-logo {
    height: 40px !important;
    width: auto !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    margin: 0 auto !important;
}

.ennu-header-content {
    position: relative !important;
    z-index: 2 !important;
}

.ennu-header-title {
    font-size: 2.4rem !important;
    font-weight: 300 !important;
    color: #212529 !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    letter-spacing: -0.5px !important;
    position: relative !important;
}

.ennu-header-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: -8px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 40px !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, #374151, transparent) !important;
}

.ennu-header-subtitle {
    font-size: 1.1rem !important;
    color: #6c757d !important;
    margin: 0 0 0px 0 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    font-weight: 400 !important;
    opacity: 0.8 !important;
}



/* Mobile responsiveness for header */
    
    .ennu-logo {
        height: 32px !important;
    }
    
    .ennu-header-title {
        font-size: 1.8rem !important;
    }
    
    .ennu-header-subtitle {
        font-size: 1rem !important;
    }
}

/* Assessment Form Container */
.ennu-assessment-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 0px 20px;
    border-radius: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-align: center;
}

/* Force light mode for assessments - ensures consistent appearance */
.ennu-assessment-form {
    background-color: transparent!important;
    color: #333333 !important;
}

.question-container {
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
}

.answer-option label {
    background-color: #ffffff !important;
    border-color: #e0e0e0 !important;
    color: #333333 !important;
}

.answer-option label:hover {
    background-color: #f8f9fa !important;
}

.navigation-buttons {
    background: rgba(255, 255, 255, 0.95) !important;
    border-top-color: #e0e0e0 !important;
}

/* New styles for the main assessment container */
.ennu-assessment {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

/* New styles for the main assessment header */
.assessment-header {
    text-align: center;
    margin-bottom: 0px !important;
} 

.assessment-title {
    font-size: 36px;
    font-weight: 700;
    color: #212529;
    margin: 0 0 10px 0;
    /* display: none; */
}

.assessment-description {
    font-size: 18px;
    color: #6c757d;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 0;
    text-align: center;
}

.progress-bar {
    width: 100%;
    max-width: 200px;
    height: 8px;
    background-color: #f1f3f4;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto 15px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ennu-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d69f01, #ffbe03, #dae0de);
    background-size: 200% 200%;
    border-radius: 4px;
    transition: width 0.4s ease-in-out;
    animation: pulsate-progress 2s ease-in-out infinite;
    box-shadow: 0 1px 3px rgb(255 255 255 / 30%);
}

@keyframes pulsate-progress {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.progress-text {
    font-size: 18px;
    font-weight: 600;
    color: #4c4c4c9e;
    margin-top: 10px;
}

/* Question Slides */
.question-slide {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.question-slide.active {
    display: block;
}

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

/* Question Styling */
.question-title {
    font-size: 1.5em;
    font-weight: 300;
    color: #212121;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.3;
    margin-top: 0;
}

.question-subtitle, .question-description {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.5;
}

.question-description {
    font-size: 14px;
    color: #515151;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.5;
}

/* Answer Options */
/* Enhanced Responsive Answer Options Grid */
.answer-options {
    display: grid;
    gap: 16px;
    margin: 0 auto 0 auto;
    width: 100%;

    /* Let the column-specific styles handle the layout */
}

/* Horizontal Layout for Radio Options (Single Row) */
.answer-options.layout-horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    max-width: 100%;
}

/* Specific Column Layouts for Desktop */
.answer-options.columns-2 { 
    grid-template-columns: repeat(2, 1fr); 
    max-width: 500px; 
    gap: 18px;
}

.answer-options.columns-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
    gap: 5px;
}

.answer-options.columns-4 { 
    grid-template-columns: repeat(4, 1fr); 
    max-width: 900px; 
    gap: 14px;
}

.answer-options.columns-5 { 
    grid-template-columns: repeat(5, 1fr); 
    max-width: 1100px; 
    gap: 12px;
}

.answer-options.columns-6 { 
    grid-template-columns: repeat(6, 1fr); 
    max-width: 1300px; 
    gap: 10px;
}


/* Modern Pill-Shaped Answer Options */
.answer-option {
    position: relative;
    font-weight: 400 !important;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.answer-option input[type="radio"],
.answer-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.answer-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 100%;
    padding: 8px 20px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
    text-align: center;
    position: relative;
    overflow: hidden;
    line-height: 1.3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
    margin: 0px !important;
    pointer-events: none;
}

.answer-option label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
}

.answer-option label:hover {
    border-color: #6c757d;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.answer-option label:hover::before {
    opacity: 1;
}

.answer-option input[type="radio"]:checked + label,
.answer-option input[type="checkbox"]:checked + label {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 50%, #1a202c 100%);
    border-color: #2d3748;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(45, 55, 72, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
}

/* Ensure all text inside selected options is white */
.answer-option input[type="radio"]:checked + label *,
.answer-option input[type="checkbox"]:checked + label * {
    color: #ffffff !important;
}

.answer-option input[type="radio"]:checked + label::after,
.answer-option input[type="checkbox"]:checked + label::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
    border-radius: 9px;
    pointer-events: none;
}

.answer-option input[type="radio"]:checked + label::before,
.answer-option input[type="checkbox"]:checked + label::before {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Contact Information Form */
.contact-fields {
    display: grid;
    gap: 0;
    margin-bottom: 30px;
}

.contact-field {
    display: flex;
    flex-direction: column;
}

.contact-field label {
    display: none; /* Hide labels as requested */
}

.contact-field input,
.contact-field select {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    background: #ffffff;
    transition: border-color 0.3s ease;
}

.contact-field input::placeholder {
    color: #6c757d;
    font-size: 16px;
}

.contact-field input:focus,
.contact-field select:focus {
    outline: none;
    border-color: #6c757d;
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.1);
}

/* Height & Weight Fields */
.height-weight-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    justify-content: center;
    max-width: 450px;
    margin: 1rem auto 0;
    align-content: center;
}

.hw-field {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.hw-field label {
    margin-bottom: 0.5rem;
    font-weight: 100;
    color: #4a5568;
    font-size: 16px;
}

.hw-field input {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
}

/* Validation & Interactivity */
input:required:invalid {
    border-color: #e2e8f0; /* Keep it subtle */
}

/* Date of Birth Fields */
.dob-container {
    margin-bottom: 30px;
}

.dob-container label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 15px;
    text-align: center;
}

.dob-dropdowns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.dob-age-display {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 20px;
}

.dob-field {
    display: flex;
    flex-direction: column;
}

.dob-field label {
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 5px;
    text-align: center;
}

.dob-field select {
    padding: 0 30px 0 15px !important;
    border: 2px solid #e9ecef;
    border-radius: 8px !important;
    font-size: 16px;
    background: #ffffff;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    text-align: center;
}

.dob-field select:focus {
    outline: none;
    border-color: #6c757d;
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.1);
}

/* Navigation Buttons */
/* Modern Navigation Buttons */
.question-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 24px;
    padding: 0 30px 30px;
}

.nav-button {
    padding: 11px 32px;
    border: 1px solid transparent;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800 !important;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 160px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
}

.nav-button.prev {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    border-color: #dee2e6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-button.prev:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #adb5bd;
}

.nav-button.prev:hover::before {
    opacity: 1;
}

.nav-button.next,
.nav-button.submit {
    background: linear-gradient(135deg, #e38c23 0%, #d8be36 50%, #ffdd00 100%);
    color: #ffffff;
    border-color: #ac8300;
    box-shadow: 
        0 6px 20px rgba(45, 55, 72, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    text-shadow: 0px -1px 0px #0000004a;
}

.nav-button.next:hover,
.nav-button.submit:hover {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 50%, #0f1419 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 35px rgba(45, 55, 72, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    border-color: #1a202c;
}

.nav-button.next:hover::before,
.nav-button.submit:hover::before {
    opacity: 1;
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%) !important;
    color: #6c757d !important;
    border-color: #ced4da !important;
    box-shadow: none !important;
}

/* Success Message */
.assessment-success {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #d1e7dd 0%, #a3cfbb 100%);
    border-radius: 12px;
    margin-top: 30px;
}

.assessment-success h3 {
    color: #0f5132;
    font-size: 24px;
    margin-bottom: 15px;
}

.assessment-success p {
    color: #146c43;
    font-size: 16px;
    line-height: 1.6;
}

/* Error States */
.error {
    border-color: #ff0018 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

.error-message {
    color: #9ca3af;
    font-size: 14px;
    margin-top: 5px;
    font-weight: 500;
}

/* Loading State */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .nav-button {
    position: relative;
}

.loading .nav-button::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;
    margin-left: 10px;
}

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

/* Enhanced Responsive Design for Modern Assessment Interface */
@media (max-width: 1024px) and (min-width: 769px) {
    .answer-options.columns-4,
    .answer-options.columns-5,
    .answer-options.columns-6 {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    
    .answer-option label {
        height: 75px;
        padding: 15px 18px;
    }
}

@media (max-width: 480px) {
    .answer-options.columns-2,
    .answer-options.columns-3,
    .answer-options.columns-4,
    .answer-options.columns-5,
    .answer-options.columns-6 {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .answer-option label {
        height: 60px;
        padding: 12px 14px;
        font-size: 0.8rem;
    }
    
    .nav-button {
        padding: 16px 20px;
        font-size: 14px;
    }
    
    .question-navigation {
        margin-top: 25px;
        gap: 16px;
        display: flex !important;
        flex-direction: row !important;
    }
}

/* Mobile Responsive */
/* Enhanced Mobile Responsive Design */
@media (max-width: 768px) {
    /* Touch-friendly form elements */
    .ennu-assessment-form input,
    .ennu-assessment-form select,
    .ennu-assessment-form textarea {
        min-height: 44px; /* iOS minimum touch target */
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 12px 16px;
        border-radius: 8px;
        border: 2px solid #e0e0e0;
        transition: border-color 0.3s ease;
    }
    
    .ennu-assessment-form input:focus,
    .ennu-assessment-form select:focus,
    .ennu-assessment-form textarea:focus {
        border-color: #007cba;
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
    }
    
    /* Improved button sizing */
    .ennu-btn {
        min-height: 44px;
        padding: 12px 24px;
        font-size: 16px;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .ennu-btn:active {
        transform: scale(0.98);
    }
    
    /* Better spacing for mobile */
    .question-container {
        padding: 20px 16px;
        margin-bottom: 24px;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* Optimized answer options */
    .answer-option label {
        min-height: 60px;
        padding: 16px 20px;
        border-radius: 12px;
        font-size: 16px;
        line-height: 1.4;
        border: 2px solid #e0e0e0;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        cursor: pointer;
    }
    
    .answer-option label:hover {
        border-color: #007cba;
        background-color: #f8f9fa;
    }
    
    .answer-option input:checked + label {
        border-color: #007cba;
        background-color: #e3f2fd;
    }
    
    /* Improved navigation */
    .navigation-buttons {
        position: sticky;
        bottom: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 16px;
        border-top: 1px solid #e0e0e0;
        display: flex;
        gap: 12px;
        justify-content: space-between;
    }
    
    /* Progress indicator */
    .progress-indicator {
        padding: 16px;
        background: #f8f9fa;
        border-radius: 8px;
        margin-bottom: 20px;
    }
    
    .progress-bar {
        height: 8px;
        background: #e0e0e0;
        border-radius: 4px;
        overflow: hidden;
    }
    
    .progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #007cba, #005a87);
        transition: width 0.3s ease;
    }
}

/* Responsive adjustments for answer options */
@media (max-width: 768px) {
    /* Stack to 2 columns on tablets and large phones */
    .answer-options.columns-3,
    .answer-options.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Horizontal layout adjustments for tablets */
    .answer-options.layout-horizontal {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Stack to 1 column on small phones */
    .answer-options.columns-2,
    .answer-options.columns-3,
    .answer-options.columns-4 {
        grid-template-columns: 1fr;
    }

    /* Stack horizontal layout vertically on mobile */
    .answer-options.layout-horizontal {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .answer-options.layout-horizontal .answer-option {
        flex: none;
        width: 100%;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .answer-option label {
        border-width: 3px;
    }
    
    .answer-option input[type="radio"]:checked + label {
        border-width: 3px;
    }
}

/* Focus Visible for Keyboard Navigation */
.answer-option label:focus-visible,
.nav-button:focus-visible,
.contact-field input:focus-visible,
.contact-field select:focus-visible {
    outline: 3px solid #495057;
    outline-offset: 2px;
}

/* Multi-select Checkbox Grid */
.multiselect-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

/* Contact Info Form Styling */
.contact-fields {
    max-width: 500px;
    margin: 0 auto;
}

.contact-field input {
    text-align: center;
}

/* "Why" Tooltip Styling */
.why-tooltip { /* ... styles for the 'i' icon */ }
.ennu-tooltip-popup { /* ... styles for the tooltip box that appears on hover */ }

/* Option Description Styling */
.option-description {
    display: block;
    font-size: 0.9em;
    color: #6c757d;
    margin-top: 5px;
}

/* Follow-up Question Styling */
.follow-up-question-container {
    margin-top: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    border-radius: 8px;
}

/* New Styles for Symptom Qualification Engine */
.qualifiers-container {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.qualifiers-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #eee;
    margin-bottom: 15px;
}

.qualifier-group {
    margin-bottom: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.qualifier-question .qualifier-title {
    font-size: 1rem;
    font-weight: 500;
    color: #ddd;
    margin-bottom: 10px;
}

.qualifier-question .answer-options {
    justify-content: flex-start; /* Align radio buttons to the left */
}

.qualifier-question .answer-option {
    margin-bottom: 5px; /* Reduce margin for a more compact layout */
}

/* Contact Form Specific Styles */
.contact-field-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-field {
    flex: 1;
    margin-bottom: 15px;
}

.contact-field label {
    display: none;
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
    font-size: 14px;
}

.contact-field input {
    width: 100%;
    padding: 12px 15px !important;
    border: 2px solid #e9ecef;
    border-radius: 8px !important;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background-color: #fff;
    line-height: 1;
    max-width: 300px;
    margin: 0 auto;
}

.contact-field input:focus {
    outline: none;
    border-color: #495057;
    box-shadow: 0 0 0 3px rgba(73, 80, 87, 0.1);
}

.contact-field input.error {
    border-color: #9ca3af;
    background-color: #fff5f5;
}

.contact-field .field-note {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
}

.contact-form-notice {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 4px solid #495057;
}

.contact-form-notice i {
    color: #495057;
    margin-right: 8px;
}

.contact-form-notice p {
    margin: 0;
    color: #495057;
}

/* Auto-submit styling */
input[data-auto-submit="true"] {
    display: none;
}

/* Error message styling */
.ennu-error-message {
    margin-top: 10px;
    padding: 10px 15px;
    background: #fcf0f1;
    color: #d63638;
    border: 1px solid #d63638;
    border-radius: 8px;
    font-size: 14px;
    animation: errorSlideIn 0.3s ease-out;
}

@keyframes errorSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Login Required Message Styles */
.ennu-login-required {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    border: 1px solid #e3e6f0;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.5s ease-out;
}

.ennu-login-required .login-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.ennu-login-required h2 {
    color: #2d3748;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.ennu-login-required .login-message {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.ennu-login-required .login-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ennu-login-required .login-actions .btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    min-width: 140px;
}

.ennu-login-required .login-actions .btn-primary {
    background: #374151;
    color: white;
    border: 2px solid #374151;
}

.ennu-login-required .login-actions .btn-primary:hover {
    background: #374151;
    border-color: #374151;
    transform: translateY(-1px);
}

.ennu-login-required .login-actions .btn-secondary {
    background: white;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.ennu-login-required .login-actions .btn-secondary:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    transform: translateY(-1px);
}

.ennu-login-required small {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.4;
}

.ennu-login-required small a {
    color: #374151;
    text-decoration: none;
}

.ennu-login-required small a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .ennu-login-required {
        padding: 30px 20px;
        margin: 15px 0;
    }
    
    .ennu-login-required h2 {
        font-size: 1.5rem;
    }
    
    .ennu-login-required .login-message {
        font-size: 1rem;
    }
    
    .ennu-login-required .login-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .ennu-login-required .login-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Contact form responsive design */
@media (max-width: 768px) {
    .contact-field-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-field {
        margin-bottom: 15px;
    }
}

/* ===== SIGNUP PAGE STYLES ===== */

.ennu-signup-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Hero Section */
.ennu-signup-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.ennu-signup-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.ennu-signup-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.ennu-signup-hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.ennu-signup-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    color: #ffd700;
}

.hero-stat .label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Process Steps */
.ennu-signup-process {
    margin: 4rem 0;
}

.ennu-signup-process h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #2d3748;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.process-step .step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.process-step p {
    color: #718096;
    line-height: 1.6;
}

/* Product Cards */
.ennu-signup-products {
    margin: 4rem 0;
}

.ennu-signup-products h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #2d3748;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.product-card.featured {
    border: 3px solid #667eea;
    transform: scale(1.05);
}

.product-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 20px;
    right: -30px;
    background: #667eea;
    color: white;
    padding: 8px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 10;
}

.product-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.product-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-header .price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.product-header .price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.product-header .billing {
    font-size: 0.9rem;
    opacity: 0.8;
}

.product-body {
    padding: 2rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.product-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    color: #4a5568;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li::before {
    content: '✓';
    color: #48bb78;
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.product-cta {
    text-align: center;
}

.product-cta .btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
}

.product-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.product-cta .btn.secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.product-cta .btn.secondary:hover {
    background: #cbd5e0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.ennu-signup-contact {
    background: #f7fafc;
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin: 4rem 0;
}

.ennu-signup-contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
}

.ennu-signup-contact p {
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #4a5568;
}

.contact-item .icon {
    width: 40px;
    height: 40px;
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.product-card.featured {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ennu-signup-hero h1 {
        font-size: 2.5rem;
    }
    
    .ennu-signup-hero .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card.featured {
        transform: none;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .ennu-signup-container {
        padding: 1rem 0.5rem;
    }
    
    .ennu-signup-hero {
        padding: 2rem 1rem;
    }
    
    .ennu-signup-hero h1 {
        font-size: 2rem;
    }
    
    .product-header {
        padding: 1.5rem;
    }
    
    .product-header .price {
        font-size: 2.5rem;
    }
    
    .product-body {
        padding: 1.5rem;
    }
}

/* Loading States */
.ennu-signup-container.loading {
    opacity: 0.7;
    pointer-events: none;
}

.ennu-signup-container.loading::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1000;
}

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .ennu-signup-hero h1,
    .ennu-signup-hero p,
    .ennu-signup-hero .hero-stats,
    .process-step,
    .product-card {
        animation: none;
        transition: none;
    }
    
    .product-card.featured {
        animation: none;
    }
}

/* Focus States */
.btn:focus,
.product-card:focus-within {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .ennu-signup-hero {
        background: #000;
        color: #fff;
    }
    
    .product-card {
        border: 2px solid #000;
    }
    
    .btn {
        border: 2px solid #000;
    }
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 768px) {
    /* Touch-friendly form elements */
    .ennu-assessment-form input,
    .ennu-assessment-form select,
    .ennu-assessment-form textarea {
        min-height: 44px; /* iOS minimum touch target */
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 12px 16px;
        border-radius: 8px;
        border: 2px solid #e0e0e0;
        transition: border-color 0.3s ease;
    }
    
    .ennu-assessment-form input:focus,
    .ennu-assessment-form select:focus,
    .ennu-assessment-form textarea:focus {
        border-color: #007cba;
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
    }
    
    /* Improved button sizing */
    .ennu-btn {
        min-height: 44px;
        padding: 12px 24px;
        font-size: 16px;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .ennu-btn:active {
        transform: scale(0.98);
    }
    
    /* Better spacing for mobile */
    .question-container {
        padding: 20px 16px;
        margin-bottom: 24px;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* Optimized answer options */
    .answer-option label {
        min-height: 60px;
        padding: 16px 20px;
        border-radius: 12px;
        font-size: 16px;
        line-height: 1.4;
        border: 2px solid #e0e0e0;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        cursor: pointer;
    }
    
    .answer-option label:hover {
        border-color: #007cba;
        background-color: #f8f9fa;
    }
    
    .answer-option input:checked + label {
        border-color: #007cba;
        background-color: #e3f2fd;
    }
    
    /* Improved navigation */
    .navigation-buttons {
        position: sticky;
        bottom: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 16px;
        border-top: 1px solid #e0e0e0;
        display: flex;
        gap: 12px;
        justify-content: space-between;
    }
    
    /* Progress indicator */
    .progress-indicator {
        padding: 16px;
        background: #f8f9fa;
        border-radius: 8px;
        margin-bottom: 20px;
    }
    
    .progress-bar {
        height: 8px;
        background: #e0e0e0;
        border-radius: 4px;
        overflow: hidden;
    }
    
    .progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #007cba, #005a87);
        transition: width 0.3s ease;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .ennu-assessment-form {
        border: 2px solid currentColor;
    }
    
    .answer-option label {
        border: 2px solid currentColor;
    }
    
    .ennu-btn {
        border: 2px solid currentColor;
    }
    
    .progress-fill {
        background: currentColor;
    }
}

/* Focus Management */
.ennu-assessment-form *:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* Screen Reader Support */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Live regions for dynamic content */
[aria-live="polite"] {
    position: relative;
}

[aria-live="assertive"] {
    position: relative;
}

/* Error states */
.ennu-assessment-form .error {
    border-color: #9ca3af !important;
    background-color: #fff5f5;
}

.error-message {
    color: #9ca3af;
    font-size: 14px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-message::before {
    content: "⚠️";
    font-size: 16px;
}

/* Success states */
.ennu-assessment-form .success {
    border-color: #374151 !important;
    background-color: #f8fff9;
}

/* Loading states */
.ennu-assessment-form .loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Large text support */
@media (prefers-reduced-motion: no-preference) {
    .ennu-assessment-form {
        font-size: clamp(14px, 2.5vw, 16px);
    }
}

/* Dark mode support - DISABLED to prevent dark backgrounds on assessments */
/*
*/

/* Progress Modal Styles - Perfect Centering for All Devices */
.ennu-progress-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1000000 !important;
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: center !important;
    -webkit-align-items: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    -webkit-box-pack: center !important;
    -webkit-justify-content: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    padding: 20px;
    box-sizing: border-box !important;
    margin: 0 !important;
    /* Fallback centering for older browsers */
    text-align: center;
}

.ennu-progress-modal.active {
    opacity: 1;
}

.ennu-progress-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Lighter overlay for light theme */
    backdrop-filter: blur(8px); /* Increased blur for softer effect */
}

.ennu-progress-content {
    position: relative !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 600px !important;
    width: 100% !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transform: scale(0.95);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: calc(100vh - 40px) !important;
    max-height: calc(100dvh - 40px) !important; /* Use dynamic viewport height */
    overflow-y: auto;
    box-sizing: border-box !important;
    margin: 0 auto !important;
    /* Flex child centering */
    flex-shrink: 0;
    text-align: left; /* Reset text align from parent */
}

/* Fallback centering for non-flexbox browsers */
@supports not (display: flex) {
    .ennu-progress-content {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) scale(0.95) !important;
        margin: 0 !important;
    }
    
    .ennu-progress-modal.active .ennu-progress-content {
        transform: translate(-50%, -50%) scale(1) !important;
    }
}

.ennu-progress-modal.active .ennu-progress-content {
    transform: scale(1) !important;
}

.progress-logo {
    text-align: center;
    margin-bottom: 30px;
}

.progress-logo img {
    height: 35px; /* Slightly larger */
    width: auto;
    opacity: 0.9;
    /* Removed filter: invert(1) - black logo stays black on light background */
}

.progress-header {
    text-align: center;
    margin-bottom: 40px;
}

.progress-header h2 {
    color: #1a1a1a; /* Dark text on light background */
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.progress-subtitle {
    color: #6c757d; /* Gray text for subtitle */
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

.progress-steps {
    margin-bottom: 45px;
}

.progress-step {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
    opacity: 0.3; /* Lighter opacity for inactive */
    transition: opacity 0.8s ease; /* Slowed from 0.3s */
}

.progress-step.active,
.progress-step.completed {
    opacity: 1;
}

.step-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f8f9fa; /* Light gray background */
    border: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.8s ease; /* Slowed transitions */
}

.progress-step.active .step-icon {
    background: linear-gradient(135deg, #374151 0%, #20c997 100%); /* Green gradient */
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

.progress-step.completed .step-icon {
    background: linear-gradient(135deg, #374151 0%, #20c997 100%);
    border-color: transparent;
}

.step-spinner {
    width: 24px;
    height: 24px;
    animation: spin 2s linear infinite; /* Slowed from 1s to 2s */
}

.step-spinner .path {
    stroke: #dee2e6; /* Light gray for inactive spinner */
    stroke-linecap: round;
    animation: dash 2.5s ease-in-out infinite; /* Slowed from 1.5s */
}

.progress-step.active .step-spinner .path {
    stroke: #ffffff; /* White spinner on green background */
}

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

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

.step-check {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.step-text h3 {
    color: #212529; /* Dark text for light theme */
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.step-text p {
    color: #6c757d; /* Gray text for descriptions */
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

.progress-footer {
    text-align: center;
}

.progress-bar {
    height: 8px; /* Slightly thicker */
    background: #e9ecef; /* Light gray background */
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 18px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #374151 0%, #20c997 100%); /* Green gradient */
    border-radius: 4px;
    transition: width 1s ease; /* Slowed from 0.5s */
}

/* Perfect Modal Centering - All Devices & Scenarios */
@media screen {
    .ennu-progress-modal {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        display: flex !important;
    }
    
    .ennu-progress-content {
        margin: 0 auto !important;
        position: relative !important;
        transform-origin: center center !important;
        /* Ensure vertical centering in flexbox */
        align-self: center;
    }
}

/* Mobile Devices (Portrait) */
@media screen and (max-width: 480px) {
    .ennu-progress-modal {
        padding: 15px;
        align-items: center;
        justify-content: center;
    }
    
    .ennu-progress-content {
        width: 100%;
        max-width: 100%;
        padding: 32px 24px;
        border-radius: 20px;
        max-height: calc(100vh - 30px);
    }
    
    .progress-header h2 {
        font-size: 22px;
    }
    
    .progress-subtitle {
        font-size: 14px;
    }
    
    .step-icon {
        width: 44px;
        height: 44px;
        margin-right: 16px;
    }
    
    .step-text h3 {
        font-size: 16px;
    }
    
    .step-text p {
        font-size: 13px;
    }
}

/* Mobile Devices (Landscape) */
@media screen and (max-height: 600px) and (orientation: landscape) {
    .ennu-progress-modal {
        padding: 10px;
        align-items: center;
        justify-content: center;
    }
    
    .ennu-progress-content {
        padding: 24px 32px;
        max-height: calc(100vh - 20px);
    }
    
    .progress-header {
        margin-bottom: 24px;
    }
    
    .progress-steps {
        margin-bottom: 24px;
    }
    
    .progress-step {
        margin-bottom: 16px;
    }
}

/* Tablet Devices */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .ennu-progress-modal {
        padding: 20px;
        align-items: center;
        justify-content: center;
    }
    
    .ennu-progress-content {
        width: 100%;
        max-width: 500px;
        padding: 40px 32px;
    }
}

/* Small Desktop/Large Tablet */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .ennu-progress-content {
        max-width: 550px;
        padding: 44px 36px;
    }
}

/* Large Desktop */
@media screen and (min-width: 1025px) {
    .ennu-progress-content {
        max-width: 600px;
    }
}

/* Ultra-wide Screens */
@media screen and (min-width: 1400px) {
    .ennu-progress-content {
        max-width: 650px;
        padding: 52px 44px;
    }
}

/* High DPI/Retina Displays */
@media screen and (-webkit-min-device-pixel-ratio: 2), 
       screen and (min-resolution: 192dpi) {
    .ennu-progress-content {
        border: 0.5px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12), 0 3px 15px rgba(0, 0, 0, 0.08);
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .ennu-progress-content {
        padding: 40px 28px;
    }
    
    .progress-step {
        margin-bottom: 24px;
    }
    
    .step-icon {
        width: 48px;
        height: 48px;
    }
}

/* Accessibility - High Contrast Mode */
@media (prefers-contrast: high) {
    .ennu-progress-content {
        border: 2px solid #000;
        box-shadow: none;
    }
    
    .ennu-progress-overlay {
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: none;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .ennu-progress-modal {
        transition: opacity 0.2s ease;
    }
    
    .ennu-progress-content {
        transition: transform 0.2s ease;
    }
    
    .step-spinner {
        animation: none;
    }
    
    .step-spinner .path {
        animation: none;
    }
}

/* Enhanced Mobile Viewport Centering */
@media screen and (max-width: 768px) and (orientation: portrait) {
    .ennu-progress-modal {
        /* Force full viewport coverage */
        min-height: 100vh !important;
        min-height: 100dvh !important;
        padding: 15px !important;
    }
    
    .ennu-progress-content {
        /* Prevent content from being cut off */
        max-height: calc(100vh - 30px) !important;
        max-height: calc(100dvh - 30px) !important;
        overflow-y: auto;
        /* Perfect vertical centering */
        margin-top: auto !important;
        margin-bottom: auto !important;
    }
}

/* Landscape Mobile Specific */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .ennu-progress-modal {
        padding: 10px !important;
    }
    
    .ennu-progress-content {
        max-height: calc(100vh - 20px) !important;
        max-height: calc(100dvh - 20px) !important;
        padding: 24px 32px;
    }
}

/* Very small screens (older phones) */
@media screen and (max-width: 360px) {
    .ennu-progress-modal {
        padding: 10px !important;
    }
    
    .ennu-progress-content {
        max-width: calc(100vw - 20px) !important;
        padding: 24px 20px !important;
        border-radius: 16px;
    }
}

/* Fallback Centering for Non-Flexbox Browsers */
@media screen and (-ms-high-contrast: none), screen and (-ms-high-contrast: active) {
    /* IE10+ fallback */
    .ennu-progress-modal {
        display: table;
        width: 100%;
        height: 100%;
        text-align: center;
    }
    
    .ennu-progress-content {
        display: table-cell;
        vertical-align: middle;
        text-align: left;
        width: auto;
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Additional Fallback for Very Old Browsers */
.no-flexbox .ennu-progress-modal {
    display: table;
    width: 100%;
    height: 100%;
}

.no-flexbox .ennu-progress-content {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.no-flexbox .ennu-progress-content > * {
    text-align: left;
    display: inline-block;
    vertical-align: top;
}

/* Critical Z-Index Protection */
.ennu-progress-modal {
    z-index: 1000000 !important;
}

/* Ensure Modal Always Above Everything */
.ennu-progress-modal,
.ennu-progress-modal * {
    position: relative;
}

.ennu-progress-modal {
    position: fixed !important;
}

/* WordPress Admin Bar Protection */
body.admin-bar .ennu-progress-modal {
    top: 32px;
    height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .ennu-progress-modal {
        top: 46px;
        height: calc(100vh - 46px);
    }
}
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.15);
}

.progress-message {
    color: #6c757d; /* Gray text */
    font-size: 14px;
    margin: 0;
    font-style: italic;
}

/* Mobile adjustments - handled in comprehensive responsive rules above */

/* Login Status Shortcode Styling */
span.ennu-login-status a {
    color: #a1a1a1;
}

/* Contact Form Enhancements */
.ennu-contact-form .form-control {
    border-radius: 10px !important;
}

.social-login-header {
    display: none !important;
}

.nsl-container.nsl-container-block {
    text-align: center !important;
}

span.separator-text {
    color: #fff;
}

/* Social Login Section Styling */
.ennu-social-login-section {
    margin: 30px 0;
}

.social-login-buttons-wrapper {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-login-separator {
    display: flex;
    align-items: center;
    margin: 25px 0 15px 0;
    text-align: center;
}

.separator-line {
    flex: 1;
    height: 1px;
    background: #e1e5eb;
}

.separator-text {
    margin: 0 15px;
    color: #7f8c8d;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ================================================== */
/* SLIDER INPUTS FOR HEIGHT & WEIGHT                 */
/* ================================================== */

.height-weight-fields .slider-container {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e1e5eb;
}

.form-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
    cursor: pointer;
    margin: 10px 0;
}

.form-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.form-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.form-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.form-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.height-slider {
    background: linear-gradient(to right, #e8f4fd 0%, #667eea 100%);
}

.weight-slider {
    background: linear-gradient(to right, #fdf4e8 0%, #764ba2 100%);
}

.slider-value-display {
    text-align: center;
    margin: 10px 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.height-display, .weight-display {
    color: #667eea;
    font-size: 24px;
}

.height-unit, .weight-unit {
    color: #7f8c8d;
    font-size: 16px;
    margin-left: 5px;
}

.height-feet {
    color: #95a5a6;
    margin-left: 8px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 12px;
    color: #95a5a6;
}

.calculated-bmi-display {
    background: #f1f3f4;
    border-radius: 6px;
    padding: 12px;
    margin-top: 20px;
}

.bmi-result {
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 20px;
    display: inline-block;
}

.bmi-underweight {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #90caf9;
}

.bmi-normal {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #81c784;
}

.bmi-overweight {
    background: #fff3e0;
    color: #f57c00;
    border: 1px solid #ffb74d;
}

.bmi-obese {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #e57373;
}

/* ================================================== */
/* MINIMAL HEIGHT & WEIGHT SLIDERS (SIDE-BY-SIDE)   */
/* ================================================== */

.height-weight-fields-minimal {
    margin: 15px 0;
}

.minimal-field-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
}

.minimal-field-group {
    flex: 1;
    min-width: 0;
}

.minimal-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.minimal-slider-container {
    position: relative;
}

.minimal-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e1e5eb;
    outline: none;
    cursor: pointer;
    margin: 0;
}

.minimal-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.minimal-slider::-webkit-slider-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.minimal-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.minimal-slider::-moz-range-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.height-slider.minimal-slider {
    background: linear-gradient(to right, #e8f4fd 0%, #667eea 100%);
}

.weight-slider.minimal-slider {
    background: linear-gradient(to right, #fdf4e8 0%, #764ba2 100%);
}

.minimal-value-display {
    text-align: center;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.height-feet-display {
    color: #667eea;
    font-size: 18px;
}

.weight-display {
    color: #764ba2;
    font-size: 18px;
}

.calculated-bmi-minimal {
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    min-height: 20px;
}

.bmi-result {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* Error styling for minimal sliders */
.minimal-slider-container.error {
    border: 2px solid #e74c3c;
    border-radius: 6px;
    padding: 8px;
    background-color: rgba(231, 76, 60, 0.1);
}

.minimal-slider.error {
    background: #e74c3c !important;
}

/* Mobile responsiveness for minimal sliders */
@media (max-width: 768px) {
    .minimal-field-row {
        flex-direction: column;
        gap: 15px;
    }

    .minimal-field-group {
        margin-bottom: 15px;
    }

    .minimal-value-display {
        font-size: 18px;
    }

    .height-feet-display,
    .weight-display {
        font-size: 20px;
    }
}

/* Legacy mobile responsiveness for original sliders */
@media (max-width: 768px) {
    .height-weight-fields .field-row {
        flex-direction: column;
    }

    .height-weight-fields .field-group {
        margin-bottom: 25px;
    }

    .slider-value-display {
        font-size: 20px;
    }

    .height-display, .weight-display {
        font-size: 28px;
    }
}
