* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --primary-light: #fb923c;
    --secondary: #ef4444;
    --accent: #22c55e;
    --text: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --border: #e2e8f0;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #86efac 0%, #f97316 100%);
    --error: #ef4444;
    --success: #22c55e;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    height: 100vh;
}

/* Main Container - Split Screen Layout */
.main-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Left Panel - Hero with Image */
.hero-panel {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(134, 239, 172, 0.85) 0%, rgba(249, 115, 22, 0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 60px 40px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out;
}

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

.logo-container {
    margin-bottom: 32px;
}

.logo {
    max-width: 220px;
    height: auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.logo:hover {
    transform: scale(1.05);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

.hero-decoration {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.decoration-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.decoration-circle:nth-child(2) {
    animation-delay: 0.3s;
}

.decoration-circle:nth-child(3) {
    animation-delay: 0.6s;
}

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

/* Right Panel - Form */
.form-panel {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--bg-light);
    padding: 40px;
}

.form-scroll-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Progress Indicator */
.progress-indicator {
    background: var(--bg);
    padding: 24px 36px;
    border-radius: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: var(--bg-gradient);
    border-radius: 10px;
    transition: width 0.4s ease;
    width: 16.66%;
}

.step-indicator {
    text-align: center;
}

.step-text {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active:not(.hidden) {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.form-step.hidden {
    display: none !important;
}

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

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid var(--border);
}

.nav-btn {
    flex: 1;
    padding: 16px 28px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.prev-btn {
    background: var(--bg-light);
    color: var(--text);
    border: 2px solid var(--border);
}

.prev-btn:hover {
    background: var(--bg);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.next-btn {
    background: var(--bg-gradient);
    color: white;
}

.next-btn:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.nav-btn:active {
    transform: translateY(0);
}

.nav-btn span:last-child {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.next-btn:hover span:last-child {
    transform: translateX(4px);
}

.prev-btn:hover span:first-child {
    transform: translateX(-4px);
}

/* Input Error State */
input.error,
select.error,
textarea.error {
    border-color: var(--error) !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Input Success State */
input:valid:not(:placeholder-shown),
select:valid,
textarea:valid:not(:placeholder-shown) {
    border-color: var(--success);
}

input[type="email"]:valid:not(:placeholder-shown):not(.error),
input[type="tel"]:valid:not(:placeholder-shown):not(.error) {
    border-color: var(--success);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M13.5 4L6 11.5L2.5 8' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

/* reCAPTCHA v3 Indicator (shown on all steps) */
.recaptcha-indicator {
    background: var(--bg);
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.recaptcha-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 500;
}

.recaptcha-icon {
    font-size: 1.2rem;
    color: var(--success);
}

.recaptcha-text {
    color: var(--text-light);
}

/* reCAPTCHA Info */
.recaptcha-info {
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 24px;
}

.recaptcha-info p {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

/* Form Sections */
.form-section {
    background: var(--bg);
    border-radius: 20px;
    padding: 36px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--bg-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px 0 0 20px;
}

.form-section:hover::before {
    opacity: 1;
}

.form-section:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.section-icon {
    font-size: 1.75rem;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.5px;
}

.subsection-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    letter-spacing: -0.2px;
}

.label-text {
    flex: 1;
}

.required {
    color: var(--error);
    font-weight: 700;
    font-size: 1rem;
}

.optional {
    color: var(--text-light);
    font-weight: 400;
    font-size: 0.9rem;
    margin-left: 4px;
}

.field-hint {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.4;
}

/* Input Wrapper */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    font-size: 1.1rem;
    color: var(--text-light);
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.input-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--text-light);
    transition: stroke 0.3s ease;
}

.input-wrapper:hover .input-icon svg,
.input-wrapper:focus-within .input-icon svg {
    stroke: var(--primary);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.input-wrapper:has(.input-icon) input {
    padding-left: 46px;
}

input:hover:not(.error),
textarea:hover:not(.error) {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1), var(--shadow-md);
    transform: translateY(-1px);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-lighter);
}

textarea {
    padding-left: 18px;
    resize: vertical;
    min-height: 120px;
    line-height: 1.7;
}

/* Select */
.select-wrapper {
    position: relative;
}

select {
    width: 100%;
    padding: 14px 18px;
    padding-right: 48px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
    cursor: pointer;
    appearance: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

select:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1), var(--shadow-md);
}

/* Document Upload */
.document-upload {
    background: var(--bg-light);
    border: 2px dashed var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.document-upload:hover {
    border-color: var(--primary);
    background: rgba(249, 115, 22, 0.02);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

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

.document-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.3px;
}

.document-badge {
    background: var(--error);
    color: white;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.file-upload-wrapper {
    position: relative;
}

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

.file-label {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    padding: 16px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.file-label:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.file-label.file-upload-error {
    border-color: var(--error);
    background: rgba(239, 68, 68, 0.05);
    animation: shake 0.3s ease;
}

.file-label.file-upload-error .file-icon {
    background: var(--error);
}

.file-icon {
    font-size: 1.75rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
    border-radius: 12px;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.file-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.file-button-text {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.file-name {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.file-formats {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 10px;
    font-weight: 500;
}

/* NPV Regions */
.npv-regions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.npv-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.npv-item:hover {
    border-color: var(--primary);
    background: rgba(249, 115, 22, 0.03);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.npv-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex: 1;
}

.npv-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: var(--bg);
}

.npv-checkbox:checked + .checkbox-custom {
    background: var(--bg-gradient);
    border-color: var(--primary);
}

.npv-checkbox:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
}

.npv-label-text {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.qte-btn {
    background: var(--bg-gradient);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.qte-btn:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.qte-input {
    width: 90px;
    padding: 8px 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.qte-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* Submit Section */
.submit-section {
    background: var(--bg-gradient);
    color: white;
    border: none;
}

.submit-section::before {
    display: none;
}

.submit-section .section-header {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.submit-section .section-title {
    color: white;
}

.submit-section .section-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.submit-section .form-navigation {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.submit-btn {
    flex: 1;
    background: white;
    color: var(--primary);
    padding: 18px 36px;
    border: none;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: var(--shadow-xl);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3);
    background: var(--bg-light);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3);
    background: var(--bg-light);
}

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

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-icon {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover .submit-icon {
    transform: translateX(4px);
}

/* Toast Container */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    pointer-events: none;
}

@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .toast {
        min-width: auto;
    }
}

/* Toast Notification */
.toast {
    background: var(--bg);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    border-left: 4px solid;
    min-width: 300px;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-error {
    border-left-color: var(--error);
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.toast-success {
    border-left-color: var(--success);
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.toast-error .toast-icon {
    background: var(--error);
    color: white;
}

.toast-success .toast-icon {
    background: var(--success);
    color: white;
}

.toast-message {
    flex: 1;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
}

.toast-close {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    opacity: 0.7;
    flex-shrink: 0;
}

.toast-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
        height: auto;
    }

    .hero-panel {
        flex: 0 0 300px;
        min-height: 300px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .form-panel {
        padding: 30px 24px;
    }
}

@media (max-width: 768px) {
    .hero-panel {
        flex: 0 0 250px;
        min-height: 250px;
    }

    .hero-content {
        padding: 40px 24px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .logo {
        max-width: 160px;
    }

    .form-panel {
        padding: 24px 20px;
    }

    .form-section {
        padding: 28px 20px;
        border-radius: 16px;
    }

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

    .section-title {
        font-size: 1.5rem;
    }

    .section-icon {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }

    .npv-regions {
        grid-template-columns: 1fr;
    }

    .file-label {
        flex-direction: column;
        text-align: center;
    }

    .file-icon {
        margin: 0 auto;
    }

    .submit-btn {
        padding: 16px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-panel {
        flex: 0 0 200px;
        min-height: 200px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .form-section {
        padding: 24px 16px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .section-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
}

/* Loading State */
.submit-btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.submit-btn.loading::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    top: 50%;
    left: 50%;
    margin-left: -12px;
    margin-top: -12px;
    border: 3px solid rgba(249, 115, 22, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 0.8s linear infinite;
}

/* Disabled Next Button */
.next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Smooth scroll */
.form-panel {
    scroll-behavior: smooth;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.language-switcher:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: transparent;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
    z-index: -1;
}

.lang-btn:hover::before {
    opacity: 0.1;
}

.lang-btn.active {
    background: var(--bg-gradient);
    color: #fff;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.lang-btn.active::before {
    opacity: 1;
}

.flag-icon {
    font-size: 20px;
    line-height: 1;
    display: inline-block;
    animation: flagWave 2s ease-in-out infinite;
    transform-origin: center;
}

.lang-btn.active .flag-icon {
    animation: flagWaveActive 1.5s ease-in-out infinite;
}

@keyframes flagWave {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-5deg) scale(1.05);
    }
    75% {
        transform: rotate(5deg) scale(1.05);
    }
}

@keyframes flagWaveActive {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(10deg) scale(1.1);
    }
}

.lang-text {
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease;
}

.lang-btn:hover .lang-text {
    transform: scale(1.05);
}

.lang-btn.active .lang-text {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Responsive Language Switcher */
@media (max-width: 768px) {
    .language-switcher {
        top: 15px;
        right: 15px;
        padding: 4px;
        gap: 4px;
    }
    
    .lang-btn {
        padding: 8px 14px;
        font-size: 12px;
        gap: 6px;
    }
    
    .flag-icon {
        font-size: 18px;
    }
}
