/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #F5F7FF 0%, #E8EDFF 100%);
    min-height: 100vh;
    color: #1A1A1A;
    line-height: 1.6;
    padding: 20px;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

body.dark-theme {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: #F1F5F9;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 20px;
}

.page-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #01A060 30%, #018049 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.page-subtitle {
    font-size: 16px;
    color: #666666;
    max-width: 500px;
    margin: 0 auto;
}

body.dark-theme .page-subtitle {
    color: #AAAAAA;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    animation: fadeIn 0.6s ease-out;
}

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

/* ============================================
   PROGRESS BAR (SMALLER) - COLOR CHANGED TO GREEN
   ============================================ */
.progress-bar {
    margin-bottom: 40px;
    position: relative;
    padding: 0 10px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    margin: 0 -5px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    position: relative;
    flex: 1;
    padding: 0 5px;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E5E7EB;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
}

.step.active .step-number {
    background: #01A060;
    color: #FFFFFF;
    border-color: #018049;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(1, 160, 96, 0.3);
}

.step.completed .step-number {
    background: #01A060;
    color: #FFFFFF;
}

.step-label {
    font-size: 13px;
    font-weight: 600;
    color: #6B7280;
    text-align: center;
    transition: color 0.3s ease;
}

.step.active .step-label {
    color: #01A060;
    font-weight: 700;
}

.progress-line {
    position: absolute;
    top: 18px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #E5E7EB;
    z-index: 1;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #01A060 0%, #02C175 100%);
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

body.dark-theme .step-number {
    background: #334155;
    color: #94A3B8;
}

body.dark-theme .step.active .step-number {
    background: #01A060;
    color: #FFFFFF;
}

body.dark-theme .step-label {
    color: #94A3B8;
}

body.dark-theme .step.active .step-label {
    color: #02C175;
}

body.dark-theme .progress-line {
    background: #334155;
}

/* ============================================
   FORM CONTAINER
   ============================================ */
.form-container {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(1, 160, 96, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(1, 160, 96, 0.1);
    margin-bottom: 30px;
    width: 100%;
}

body.dark-theme .form-container {
    background: rgba(15, 23, 42, 0.98);
    border-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   FORM STEPS TRANSITIONS - UPDATED FOR DESKTOP
   ============================================ */
.form-step {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.form-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
    position: relative;
    animation: none;
}

/* Better transition for desktop */
@media (min-width: 769px) {
    .form-step {
        transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    .form-step.active {
        animation: slideInDesktop 0.5s ease forwards;
    }
    
    @keyframes slideInDesktop {
        from {
            opacity: 0;
            transform: translateX(40px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

/* Mobile के लिए अलग animation */
@media (max-width: 768px) {
    .form-step.active {
        animation: slideInMobile 0.4s ease forwards;
    }
    
    @keyframes slideInMobile {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ============================================
   STEP HEADER
   ============================================ */
.step-header {
    margin-bottom: 30px;
    text-align: center;
}

.step-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #01A060 30%, #02C175 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-subtitle {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

body.dark-theme .step-header h2 {
    color: #F1F5F9;
}

body.dark-theme .step-subtitle {
    color: #94A3B8;
}

/* ============================================
   PROFILE PHOTO SECTION - COLOR CHANGED TO GREEN
   ============================================ */
.profile-photo-section {
    text-align: center;
    margin-bottom: 30px;
}

.profile-photo-preview {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, #01A060 0%, #02C175 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 40px;
    overflow: hidden;
    border: 4px solid #FFFFFF;
    box-shadow: 0 6px 20px rgba(1, 160, 96, 0.2);
}

.profile-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-options {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.photo-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #F3F4F6;
    border: 1px solid #D1D5E0;
    border-radius: 10px;
    color: #4B5563;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: 'Inter', sans-serif;
}

.photo-btn:hover {
    background: #E5E7EB;
    border-color: #01A060;
    color: #01A060;
    transform: translateY(-2px);
}

.photo-btn i {
    font-size: 14px;
}

body.dark-theme .photo-btn {
    background: #334155;
    border-color: #475569;
    color: #E2E8F0;
}

body.dark-theme .photo-btn:hover {
    background: #475569;
    border-color: #02C175;
    color: #02C175;
}

/* ============================================
   FORM STYLES - COLOR CHANGED TO GREEN
   ============================================ */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #1F2937;
}

.form-group label i {
    color: #01A060;
    font-size: 16px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #D1D5E0;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #F8FAFF;
    color: #1F2937;
    border: 1.5px solid #E5E5E5;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #01A060;
    box-shadow: 0 0 0 3px rgba(1, 160, 96, 0.1);
    background: #FFFFFF;
}

.form-group input::placeholder,
.form-group select::placeholder {
    color: #9CA3AF;
    font-size: 14px;
}

body.dark-theme .form-group label {
    color: #F1F5F9;
}

body.dark-theme .form-group label i {
    color: #02C175;
}

body.dark-theme .form-group input,
body.dark-theme .form-group select {
    background: rgba(255, 255, 255, 0.05);
    border-color: #334155;
    color: #F1F5F9;
    border: 1.5px solid #444444;
}

body.dark-theme .form-group input:focus,
body.dark-theme .form-group select:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #02C175;
    box-shadow: 0 0 0 3px rgba(2, 193, 117, 0.1);
}

body.dark-theme .form-group input::placeholder,
body.dark-theme .form-group select::placeholder {
    color: #64748B;
}

/* Age Display - COLOR CHANGED TO GREEN */
.age-display {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(1, 160, 96, 0.05) 0%, rgba(2, 193, 117, 0.05) 100%);
    border-radius: 10px;
    border: 1px solid rgba(1, 160, 96, 0.1);
    color: #01A060;
    font-weight: 500;
    font-size: 14px;
}

.age-display i {
    font-size: 14px;
}

.age-display.error {
    color: #DC2626;
    background: rgba(220, 38, 38, 0.05);
    border-color: rgba(220, 38, 38, 0.1);
}

body.dark-theme .age-display {
    background: linear-gradient(135deg, rgba(1, 160, 96, 0.1) 0%, rgba(2, 193, 117, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.1);
    color: #02C175;
}

body.dark-theme .age-display.error {
    color: #EF4444;
    background: rgba(239, 68, 68, 0.1);
}

/* Radio Group - COLOR CHANGED TO GREEN */
.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #D1D5E0;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #01A060;
    background: #01A060;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFFFFF;
}

.radio-label {
    font-size: 15px;
    color: #4B5563;
    font-weight: 500;
}

.radio-option input[type="radio"]:checked ~ .radio-label {
    color: #01A060;
}

body.dark-theme .radio-custom {
    border-color: #475569;
}

body.dark-theme .radio-label {
    color: #E2E8F0;
}

body.dark-theme .radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #02C175;
    background: #02C175;
}

body.dark-theme .radio-option input[type="radio"]:checked ~ .radio-label {
    color: #02C175;
}

/* ============================================
   VERIFICATION SECTIONS - COLOR CHANGED TO GREEN
   ============================================ */
.verification-section {
    margin-bottom: 28px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(1, 160, 96, 0.03) 0%, rgba(2, 193, 117, 0.03) 100%);
    border-radius: 14px;
    border: 1px solid rgba(1, 160, 96, 0.1);
}

.verification-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1F2937;
}

.verification-section h3 i {
    color: #01A060;
    font-size: 18px;
}

body.dark-theme .verification-section {
    background: linear-gradient(135deg, rgba(1, 160, 96, 0.1) 0%, rgba(2, 193, 117, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .verification-section h3 {
    color: #F1F5F9;
}

body.dark-theme .verification-section h3 i {
    color: #02C175;
}

/* Input with Button - COLOR CHANGED TO GREEN */
.input-with-button {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.input-with-button input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #D1D5E0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #F8FAFF;
    color: #1F2937;
    border: 1.5px solid #E5E5E5;
}

.input-with-button input:focus {
    outline: none;
    border-color: #01A060;
    box-shadow: 0 0 0 3px rgba(1, 160, 96, 0.1);
    background: #FFFFFF;
}

.get-otp-btn {
    padding: 0 20px;
    background: #01A060;
    border: none;
    border-radius: 10px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.get-otp-btn:hover:not(:disabled) {
    background: #018049;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(1, 160, 96, 0.3);
}

.get-otp-btn:disabled {
    background: #6B7280;
    cursor: not-allowed;
    opacity: 0.7;
}

.get-otp-btn.hidden {
    display: none;
}

/* Email and Mobile Display - COLOR CHANGED TO GREEN */
.verification-details {
    margin-top: 10px;
}

.email-display,
.mobile-display {
    font-size: 14px;
    color: #01A060;
    font-weight: 500;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: rgba(1, 160, 96, 0.05);
    border-radius: 8px;
    display: none;
}

.email-display.show,
.mobile-display.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* OTP Section - COLOR CHANGED TO GREEN */
.otp-section {
    margin-top: 12px;
    display: none;
}

.otp-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.otp-input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.otp-input-container input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #D1D5E0;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 6px;
    text-align: center;
    transition: all 0.3s ease;
    background: #F8FAFF;
    color: #1F2937;
    border: 1.5px solid #E5E5E5;
}

.otp-input-container input:focus {
    outline: none;
    border-color: #01A060;
    box-shadow: 0 0 0 3px rgba(1, 160, 96, 0.1);
    background: #FFFFFF;
}

.verify-btn {
    padding: 0 20px;
    background: #01A060;
    border: none;
    border-radius: 10px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.verify-btn:hover:not(:disabled) {
    background: #018049;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(1, 160, 96, 0.3);
}

.verify-btn:disabled {
    background: #6B7280;
    cursor: not-allowed;
    opacity: 0.7;
}

/* OTP Resend */
.otp-resend {
    text-align: center;
}

.resend-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #F3F4F6;
    border: 1px solid #D1D5E0;
    border-radius: 8px;
    color: #6B7280;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Inter', sans-serif;
}

.resend-btn:hover:not(:disabled) {
    background: #E5E7EB;
    border-color: #01A060;
    color: #01A060;
}

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

/* Verification Status */
.verification-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
}

.verification-status i {
    color: #DC2626;
    font-size: 12px;
}

.verification-status.verified i {
    color: #10B981;
}

.verification-status.verified {
    color: #10B981;
}

body.dark-theme .input-with-button input,
body.dark-theme .otp-input-container input {
    background: rgba(255, 255, 255, 0.05);
    border-color: #334155;
    color: #F1F5F9;
    border: 1.5px solid #444444;
}

body.dark-theme .input-with-button input:focus,
body.dark-theme .otp-input-container input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #02C175;
}

body.dark-theme .email-display,
body.dark-theme .mobile-display {
    color: #02C175;
    background: rgba(2, 193, 117, 0.1);
}

body.dark-theme .resend-btn {
    background: #334155;
    border-color: #475569;
    color: #94A3B8;
}

body.dark-theme .resend-btn:hover:not(:disabled) {
    background: #475569;
    border-color: #02C175;
    color: #02C175;
}

/* ============================================
   PASSWORD SECTION - COLOR CHANGED TO GREEN
   ============================================ */
.password-input {
    position: relative;
}

.password-input input {
    padding-right: 45px;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666666;
    cursor: pointer;
    padding: 4px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #01A060;
}

body.dark-theme .toggle-password {
    color: #AAAAAA;
}

body.dark-theme .toggle-password:hover {
    color: #02C175;
}

/* Password Strength - COLOR CHANGED TO GREEN */
.password-strength {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.strength-bar {
    flex: 1;
    height: 4px;
    background: #E5E7EB;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.password-strength.weak .strength-bar:nth-child(-n+1) {
    background: #EF4444;
}

.password-strength.medium .strength-bar:nth-child(-n+2) {
    background: #F59E0B;
}

.password-strength.strong .strength-bar:nth-child(-n+3) {
    background: #10B981;
}

.password-strength.very-strong .strength-bar:nth-child(-n+4) {
    background: #059669;
}

.strength-text {
    font-size: 12px;
    color: #6B7280;
    margin-left: 8px;
    font-weight: 500;
}

body.dark-theme .strength-bar {
    background: #334155;
}

body.dark-theme .strength-text {
    color: #94A3B8;
}

/* Password Match */
.password-match {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 14px;
    color: #10B981;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.password-match.visible {
    opacity: 1;
}

.password-match i {
    font-size: 14px;
}

/* ============================================
   IDENTITY & DOCUMENTS - COLOR CHANGED TO GREEN
   ============================================ */
.address-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.address-fields input {
    width: 100%;
}

/* Map Container */
.map-container {
    margin-top: 10px;
    border: 1.5px solid #E5E5E5;
    border-radius: 10px;
    overflow: hidden;
    background: #F8FAFF;
}

.map-controls {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: #F9FAFB;
    border-top: 1px solid #E5E7EB;
}

.map-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #F3F4F6;
    border: 1px solid #D1D5E0;
    border-radius: 8px;
    color: #4B5563;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: 'Inter', sans-serif;
}

.map-btn:hover {
    background: #E5E7EB;
    border-color: #01A060;
    color: #01A060;
    transform: translateY(-1px);
}

.map-btn i {
    font-size: 14px;
}

.location-coordinates {
    padding: 12px;
    background: #F9FAFB;
    border-top: 1px solid #E5E7EB;
    font-size: 14px;
    color: #4B5563;
}

.location-coordinates span {
    font-weight: 500;
}

#selectedLocationText {
    color: #01A060;
    margin-left: 8px;
}

.input-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 12px;
    color: #6B7280;
}

.input-hint i {
    color: #01A060;
    font-size: 12px;
}

body.dark-theme .input-hint {
    color: #94A3B8;
}

body.dark-theme .input-hint i {
    color: #02C175;
}

/* Map Styling for Dark Theme */
body.dark-theme .map-container {
    background: rgba(255, 255, 255, 0.05);
    border-color: #334155;
}

body.dark-theme .map-controls {
    background: #1F2937;
    border-top-color: #334155;
}

body.dark-theme .map-btn {
    background: #334155;
    border-color: #475569;
    color: #E2E8F0;
}

body.dark-theme .map-btn:hover {
    background: #475569;
    border-color: #02C175;
    color: #02C175;
}

body.dark-theme .location-coordinates {
    background: #1F2937;
    border-top-color: #334155;
    color: #94A3B8;
}

body.dark-theme #selectedLocationText {
    color: #02C175;
}

/* Document Upload - COLOR CHANGED TO GREEN */
.document-options {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.document-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #F3F4F6;
    border: 1px solid #D1D5E0;
    border-radius: 10px;
    color: #4B5563;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: 'Inter', sans-serif;
}

.document-btn:hover {
    background: #E5E7EB;
    border-color: #01A060;
    color: #01A060;
    transform: translateY(-2px);
}

.document-btn i {
    font-size: 14px;
}

.document-preview {
    margin-top: 16px;
    padding: 16px;
    background: #F9FAFB;
    border-radius: 10px;
    border: 2px dashed #D1D5E0;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.document-preview.uploaded {
    border-style: solid;
    border-color: #10B981;
    background: #F0FDF4;
}

.document-preview img {
    max-width: 100%;
    max-height: 150px;
    border-radius: 6px;
}

.no-document {
    color: #6B7280;
    font-size: 13px;
}

.document-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.document-info i {
    font-size: 24px;
    color: #10B981;
}

.document-name {
    font-size: 13px;
    font-weight: 500;
    color: #1F2937;
}

body.dark-theme .document-btn {
    background: #334155;
    border-color: #475569;
    color: #E2E8F0;
}

body.dark-theme .document-btn:hover {
    background: #475569;
    border-color: #02C175;
    color: #02C175;
}

body.dark-theme .document-preview {
    background: #1F2937;
    border-color: #334155;
}

body.dark-theme .document-preview.uploaded {
    border-color: #10B981;
    background: rgba(16, 185, 129, 0.1);
}

body.dark-theme .no-document {
    color: #94A3B8;
}

body.dark-theme .document-name {
    color: #F1F5F9;
}

/* ============================================
   PREVIEW SECTION - COLOR CHANGED TO GREEN
   ============================================ */
.preview-section {
    background: #F9FAFB;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #E5E7EB;
}

.preview-item {
    display: flex;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #E5E7EB;
}

.preview-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.preview-label {
    width: 180px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    flex-shrink: 0;
}

.preview-value {
    flex: 1;
    color: #6B7280;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.preview-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #01A060 0%, #02C175 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 20px;
    overflow: hidden;
}

.preview-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-email-section,
.preview-mobile-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: #FEF2F2;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #DC2626;
    width: fit-content;
}

.verification-badge.verified {
    background: #F0FDF4;
    color: #10B981;
}

.verification-badge i {
    font-size: 11px;
}

/* Preview Map Styling */
#previewMap {
    margin-bottom: 8px;
}

.location-text {
    font-size: 13px;
    color: #01A060;
    font-weight: 500;
    margin-top: 4px;
}

body.dark-theme .preview-section {
    background: #1F2937;
    border-color: #334155;
}

body.dark-theme .preview-item {
    border-bottom-color: #334155;
}

body.dark-theme .preview-label {
    color: #E5E7EB;
}

body.dark-theme .preview-value {
    color: #94A3B8;
}

body.dark-theme .verification-badge {
    background: rgba(220, 38, 38, 0.1);
}

body.dark-theme .verification-badge.verified {
    background: rgba(16, 185, 129, 0.1);
}

body.dark-theme .location-text {
    color: #02C175;
}

/* ============================================
   CHECKBOX GROUP & LINKS STYLING - COLOR CHANGED TO GREEN
   ============================================ */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
    padding: 20px;
    background: #F9FAFB;
    border-radius: 12px;
    border: 1px solid #F0F0F0;
    width: 100%;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: #01A060;
    flex-shrink: 0;
    border-radius: 4px;
    opacity: 1;
}

/* Checkbox Label */
.checkbox-label {
    font-size: 14px;
    color: #333333;
    line-height: 1.5;
    flex: 1;
    font-weight: 400;
    display: inline;
}

/* Checkbox Text (non-link text) */
.checkbox-text {
    color: #333333;
}

/* Terms Links - COLOR CHANGED TO GREEN */
.checkbox-label a.terms-link {
    color: #01A060 !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
    cursor: pointer;
}

.checkbox-label a.terms-link:hover {
    color: #018049 !important;
    border-bottom-color: #01A060;
    text-decoration: underline;
}

/* Dark Theme */
body.dark-theme .checkbox-group {
    background: #2A2A2A;
    border-color: #333333;
}

body.dark-theme .checkbox-label {
    color: #E0E0E0;
}

body.dark-theme .checkbox-text {
    color: #E0E0E0;
}

body.dark-theme .checkbox-label a.terms-link {
    color: #02C175 !important;
}

body.dark-theme .checkbox-label a.terms-link:hover {
    color: #01A060 !important;
}

/* Requirements Checklist */
.requirements-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #F9FAFB;
    border-radius: 14px;
    border: 1px solid #E5E7EB;
}

.requirements-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1F2937;
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6B7280;
}

.requirement-item i {
    color: #9CA3AF;
    font-size: 14px;
}

.requirement-item.checked i {
    color: #10B981;
}

.requirement-item.checked {
    color: #374151;
}

body.dark-theme .requirements-section {
    background: #1F2937;
    border-color: #334155;
}

body.dark-theme .requirements-section h4 {
    color: #F1F5F9;
}

body.dark-theme .requirement-item {
    color: #94A3B8;
}

body.dark-theme .requirement-item.checked {
    color: #E2E8F0;
}

/* ============================================
   STEP ACTIONS - COLOR CHANGED TO GREEN
   ============================================ */
.step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #E5E7EB;
}

.back-btn,
.next-btn,
.create-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
}

.back-btn {
    background: #F3F4F6;
    color: #4B5563;
    border: 1px solid #D1D5E0;
}

.back-btn:hover {
    background: #E5E7EB;
    transform: translateX(-2px);
}

.next-btn {
    background: linear-gradient(135deg, #01A060 0%, #018049 100%);
    color: #FFFFFF;
}

.next-btn:hover:not(:disabled) {
    transform: translateX(2px);
    box-shadow: 0 4px 16px rgba(1, 160, 96, 0.25);
}

.create-btn {
    background: linear-gradient(135deg, #01A060 0%, #018049 100%);
    color: #FFFFFF;
}

.create-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 160, 96, 0.3);
}

.back-btn:disabled,
.next-btn:disabled,
.create-btn:disabled {
    background: #6B7280;
    cursor: not-allowed;
    opacity: 0.7;
}

.next-btn:disabled:hover,
.create-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

body.dark-theme .step-actions {
    border-top-color: #334155;
}

body.dark-theme .back-btn {
    background: #334155;
    border-color: #475569;
    color: #E2E8F0;
}

body.dark-theme .back-btn:hover {
    background: #475569;
}

/* ============================================
   LOGIN LINK SECTION - COLOR CHANGED TO GREEN
   ============================================ */
.link-box {
    background: #F8FAFF;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
}

.link-box:hover {
    transform: translateY(-2px);
    border-color: #01A060;
    box-shadow: 0 8px 24px rgba(1, 160, 96, 0.12);
    background: #FFFFFF;
}

body.dark-theme .link-box {
    background: #2A2A2A;
}

body.dark-theme .link-box:hover {
    background: #333333;
    border-color: #02C175;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.link-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #01A060 0%, #02C175 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.link-box:hover .link-icon {
    transform: scale(1.1) rotate(5deg);
}

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

.link-title {
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 4px;
    line-height: 1.4;
}

body.dark-theme .link-title {
    color: #FFFFFF;
}

.link-action {
    font-size: 14px;
    color: #01A060;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
    border-bottom: 1px solid transparent;
}

.link-action:hover {
    color: #018049;
    border-bottom-color: #01A060;
}

body.dark-theme .link-action {
    color: #02C175;
}

body.dark-theme .link-action:hover {
    color: #01A060;
}

/* ============================================
   SETTINGS ICON & DROPDOWN - EXACTLY SAME AS BEFORE (NO COLOR CHANGE)
   ============================================ */
.settings-icon {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(67, 98, 201, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.settings-icon:hover {
    transform: scale(1.1) rotate(90deg);
    background: rgba(67, 98, 201, 0.1);
    border-color: #4362C9;
    box-shadow: 0 8px 25px rgba(67, 98, 201, 0.15);
}

.settings-icon svg {
    color: #4362C9;
    transition: color 0.3s ease;
}

.settings-icon:hover svg {
    color: #01A060;
}

body.dark-theme .settings-icon {
    background: rgba(26, 26, 26, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-theme .settings-icon:hover {
    background: rgba(67, 98, 201, 0.2);
    border-color: #4362C9;
}

/* SETTINGS DROPDOWN CSS - EXACTLY SAME AS BEFORE */
.settings-dropdown {
    position: fixed;
    top: 90px;
    right: 30px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(67, 98, 201, 0.2);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 280px;
}

.settings-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

body.dark-theme .settings-dropdown {
    background: rgba(26, 26, 26, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.settings-section {
    margin-bottom: 24px;
}

.settings-section:last-child {
    margin-bottom: 0;
}

.settings-heading {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #4362C9 0%, #01A060 40%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.dark-theme .settings-heading {
    background: linear-gradient(135deg, #4362C9 0%, #01A060 40%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Language Switcher - EXACTLY SAME AS BEFORE */
.language-switcher {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.language-option {
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: transparent;
    color: #666666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.language-option:hover {
    border-color: #4362C9;
    color: #4362C9;
    transform: translateY(-1px);
}

.language-option.active {
    background: #4362C9;
    border-color: #4362C9;
    color: #ffffff;
}

body.dark-theme .language-option {
    border-color: #444444;
    color: #cccccc;
}

body.dark-theme .language-option:hover {
    border-color: #6B8CFF;
    color: #6B8CFF;
}

body.dark-theme .language-option.active {
    background: #6B8CFF;
    border-color: #6B8CFF;
    color: #ffffff;
}

/* Theme Switcher - EXACTLY SAME AS BEFORE */
.theme-switcher {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.theme-option {
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: transparent;
    color: #666666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
    min-width: 80px;
}

.theme-option:hover {
    border-color: #01A060;
    color: #01A060;
    transform: translateY(-1px);
}

.theme-option.active {
    background: #01A060;
    border-color: #01A060;
    color: #ffffff;
}

body.dark-theme .theme-option {
    border-color: #444444;
    color: #cccccc;
}

body.dark-theme .theme-option:hover {
    border-color: #00C274;
    color: #00C274;
}

body.dark-theme .theme-option.active {
    background: #00C274;
    border-color: #00C274;
    color: #ffffff;
}

/* ============================================
   TERMS & CONDITIONS POPUP - COLOR CHANGED TO GREEN
   ============================================ */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.dark-theme .popup-overlay {
    background: rgba(0, 0, 0, 0.95);
}

.popup-container {
    background: #FFFFFF;
    border-radius: 24px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    animation: popupSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #E5E5E5;
}

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

body.dark-theme .popup-container {
    background: #1A1A1A;
    border-color: #333333;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.popup-header {
    padding: 24px 32px;
    border-bottom: 1px solid #F0F0F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: inherit;
    z-index: 1;
    border-radius: 24px 24px 0 0;
}

body.dark-theme .popup-header {
    border-bottom-color: #333333;
}

.popup-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1A1A1A;
    background: linear-gradient(135deg, #01A060 0%, #018049 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
}

body.dark-theme .popup-header h2 {
    color: #FFFFFF;
}

.popup-close {
    padding: 12px 24px;
    background: #E5E5E5;
    color: #666666;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: not-allowed;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    min-width: 140px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:enabled {
    background: linear-gradient(135deg, #01A060 0%, #018049 100%);
    color: white;
    cursor: pointer;
}

.popup-close:enabled:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(1, 160, 96, 0.3);
}

.popup-content {
    padding: 32px;
}

.terms-section,
.privacy-section {
    margin-bottom: 28px;
}

.terms-section h3,
.privacy-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 16px;
    letter-spacing: -0.2px;
}

body.dark-theme .terms-section h3,
body.dark-theme .privacy-section h3 {
    color: #FFFFFF;
}

.terms-section ul,
.privacy-section ul {
    list-style: none;
    padding-left: 0;
}

.terms-section li,
.privacy-section li {
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    color: #666666;
    line-height: 1.6;
    font-size: 14.5px;
}

.terms-section li::before,
.privacy-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #01A060;
}

body.dark-theme .terms-section li,
body.dark-theme .privacy-section li {
    color: #CCCCCC;
}

.popup-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.popup-link {
    padding: 12px 24px;
    background: #F8FAFF;
    color: #01A060;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1.5px solid transparent;
    font-size: 14.5px;
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.popup-link:hover {
    background: #01A060;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 160, 96, 0.2);
    border-color: #01A060;
}

body.dark-theme .popup-link {
    background: #2A2A2A;
    color: #02C175;
}

body.dark-theme .popup-link:hover {
    background: #02C175;
    color: white;
    border-color: #02C175;
}

.popup-footer {
    padding: 24px 32px;
    border-top: 1px solid #F0F0F0;
    text-align: center;
    background: #FAFAFA;
    border-radius: 0 0 24px 24px;
}

body.dark-theme .popup-footer {
    background: #222222;
    border-top-color: #333333;
}

.timer-info {
    color: #666666;
    font-size: 13.5px;
    margin-bottom: 12px;
    font-weight: 500;
}

body.dark-theme .timer-info {
    color: #AAAAAA;
}

.timer-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #01A060;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    background: rgba(1, 160, 96, 0.1);
    border-radius: 8px;
}

.timer-display i {
    font-size: 16px;
}

body.dark-theme .timer-display {
    color: #02C175;
    background: rgba(2, 193, 117, 0.1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .page-subtitle {
        font-size: 14px;
    }
    
    .form-container {
        padding: 30px 20px;
        border-radius: 18px;
    }
    
    .progress-steps {
        margin: 0 -2px;
    }
    
    .step {
        padding: 0 2px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .step-label {
        font-size: 12px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .address-fields {
        grid-template-columns: 1fr;
    }
    
    .step-header h2 {
        font-size: 24px;
    }
    
    .step-subtitle {
        font-size: 14px;
    }
    
    .preview-label {
        width: 140px;
    }
    
    .popup-links {
        flex-direction: column;
    }
    
    .popup-link {
        min-width: 100%;
    }
    
    .settings-icon {
        top: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
    
    .settings-dropdown {
        top: 74px;
        right: 20px;
        min-width: 240px;
        padding: 18px;
    }
    
    /* Map Controls for Mobile */
    .map-controls {
        flex-direction: column;
    }
    
    .map-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
        align-items: flex-start;
        min-height: auto;
    }
    
    .form-container {
        padding: 24px 16px;
        border-radius: 16px;
    }
    
    .step-header h2 {
        font-size: 22px;
    }
    
    .step-subtitle {
        font-size: 13px;
    }
    
    .profile-photo-preview {
        width: 90px;
        height: 90px;
        font-size: 36px;
    }
    
    .photo-options,
    .document-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .photo-btn,
    .document-btn {
        justify-content: center;
    }
    
    .input-with-button {
        flex-direction: column;
    }
    
    .get-otp-btn {
        padding: 12px;
        justify-content: center;
    }
    
    .otp-input-container {
        flex-direction: column;
    }
    
    .verify-btn {
        padding: 12px;
        justify-content: center;
    }
    
    .preview-item {
        flex-direction: column;
        gap: 6px;
    }
    
    .preview-label {
        width: 100%;
    }
    
    .step-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .back-btn,
    .next-btn,
    .create-btn {
        width: 100%;
        justify-content: center;
    }
    
    .popup-container {
        max-height: 85vh;
    }
    
    .popup-header {
        padding: 20px 24px;
    }
    
    .popup-content {
        padding: 24px;
    }
    
    .popup-footer {
        padding: 20px 24px;
    }
}

/* Countdown Numbers Styling - COLOR CHANGED TO GREEN */
.countdown-number {
    font-weight: 700;
    color: #01A060;
    font-size: 15px;
}

body.dark-theme .countdown-number {
    color: #02C175;
}