/* ===========================================
   FORM STYLES - Audit Form (Gold/Dark Theme)
   =========================================== */

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.progress-fill {
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, #CA8A04, #F59E0B);
    transition: width 0.4s ease;
}

/* Container */
.form-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 40px;
    background: radial-gradient(ellipse at top, #0a0a0a 0%, #050505 100%);
}

.audit-form {
    width: 100%;
    max-width: 600px;
}

/* Steps */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step Header */
.step-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.step-indicator {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #CA8A04;
    margin-bottom: 1rem;
}

.step-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.step-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
}

/* Highlight */
.highlight-gold {
    background: linear-gradient(180deg, transparent 50%, rgba(202, 138, 4, 0.35) 50%);
    padding: 0 4px;
    border-radius: 2px;
    color: #ffffff;
    font-weight: 500;
}

/* Form Fields */
.form-fields {
    margin-bottom: 2rem;
}

.field-group {
    margin-bottom: 1.5rem;
}

.field-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.field-group input[type="text"],
.field-group input[type="tel"],
.field-group input[type="email"],
.field-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(202, 138, 4, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.field-group input:focus,
.field-group textarea:focus {
    outline: none;
    border-color: #CA8A04;
    box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.15);
}

.field-group input::placeholder,
.field-group textarea::placeholder {
    color: #64748b;
}

.field-group textarea {
    resize: vertical;
    min-height: 120px;
}

.field-note {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Radio Group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-option {
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    border-color: rgba(202, 138, 4, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

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

.radio-option input[type="radio"]:checked+.radio-label {
    color: #F59E0B;
}

.radio-option:has(input:checked) {
    border-color: #CA8A04;
    background: rgba(202, 138, 4, 0.1);
}

.radio-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #e2e8f0;
}

.radio-note {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.radio-option.warning .radio-note {
    color: #ef4444;
}

.radio-option.priority .radio-note {
    color: #22c55e;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-option:hover {
    border-color: rgba(202, 138, 4, 0.3);
}

.checkbox-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #CA8A04;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-option:has(input:checked) {
    border-color: #CA8A04;
    background: rgba(202, 138, 4, 0.08);
}

.checkbox-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.5;
}

/* Form Navigation */
.form-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-next,
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #050505;
    background: linear-gradient(135deg, #CA8A04 0%, #F59E0B 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
}

.btn-next:hover,
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.btn-next svg,
.btn-submit svg {
    width: 18px;
    height: 18px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #94a3b8;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
}

.btn-back svg {
    width: 16px;
    height: 16px;
}

/* Success Step */
.success-step {
    text-align: center;
}

.success-icon {
    margin-bottom: 1.5rem;
}

.success-icon svg {
    width: 64px;
    height: 64px;
    color: #22c55e;
}

.success-note {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid #CA8A04;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2rem;
    padding: 12px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #94a3b8;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-back-home:hover {
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-back-home svg {
    width: 16px;
    height: 16px;
}

/* Responsive */
@media (max-width: 600px) {
    .form-container {
        padding: 50px 16px 30px;
    }

    .step-title {
        font-size: 1.4rem;
    }

    .step-description {
        font-size: 0.9rem;
    }

    .btn-next,
    .btn-submit {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .btn-back {
        padding: 12px 16px;
    }

    .radio-option,
    .checkbox-option {
        padding: 14px;
    }
}