/* =====================================================
   AUDIT FORM STYLES
   ===================================================== */

/* Hero */
.audit-hero {
    padding: 80px 20px 40px;
    text-align: center;
    background: linear-gradient(180deg, rgba(248, 209, 2, 0.05) 0%, transparent 100%);
}
.audit-hero__container {
    max-width: 700px;
    margin: 0 auto;
}
.audit-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(248, 209, 2, 0.12);
    border: 1px solid rgba(248, 209, 2, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #f8d102;
    margin-bottom: 24px;
    animation: pulse-badge 2s ease-in-out infinite;
}
.audit-hero__badge--closed {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
    animation: none;
}
@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}
.audit-hero__title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.15;
}
.audit-hero__subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Form Section */
.audit-form-section {
    padding: 0 20px 60px;
}
.audit-form__container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 40px;
}

/* Alerts */
.audit-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
}
.audit-alert--success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}
.audit-alert--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}
.audit-alert i {
    font-size: 20px;
    margin-top: 2px;
}
.audit-alert p {
    margin: 4px 0 0;
    color: rgba(255,255,255,0.7);
}

/* Step Indicator */
.audit-steps {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.audit-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}
.audit-step.active {
    background: rgba(248, 209, 2, 0.12);
    border-color: rgba(248, 209, 2, 0.4);
}
.audit-step.completed {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
}
.audit-step__num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
}
.audit-step.active .audit-step__num {
    background: #f8d102;
    color: #0a1430;
}
.audit-step.completed .audit-step__num {
    background: #22c55e;
    color: #fff;
}
.audit-step__label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}
.audit-step.active .audit-step__label {
    color: #f8d102;
}
.audit-step.completed .audit-step__label {
    color: #22c55e;
}

/* Sections */
.audit-section {
    display: none;
}
.audit-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.audit-section__title {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    color: #fff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.audit-section__title i {
    color: #f8d102;
    font-size: 18px;
}

/* Grid */
.audit-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}
.audit-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}
.audit-field--full {
    grid-column: 1 / -1;
}

/* Fields */
.audit-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.audit-field label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 6px;
}
.audit-field label .required {
    color: #ef4444;
}
.audit-hint {
    font-weight: 400;
    color: rgba(255,255,255,0.4);
    font-size: 12px;
}
.audit-field input[type="text"],
.audit-field input[type="email"],
.audit-field input[type="tel"],
.audit-field input[type="url"],
.audit-field select,
.audit-field textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    box-sizing: border-box;
}
.audit-field input:focus,
.audit-field select:focus,
.audit-field textarea:focus {
    border-color: #f8d102;
    box-shadow: 0 0 0 3px rgba(248, 209, 2, 0.1);
}
.audit-field input.audit-field--invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.audit-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.audit-field select option {
    background: #0a1430;
    color: #fff;
}
.audit-field textarea {
    resize: vertical;
    min-height: 80px;
}
.audit-field__error {
    color: #ef4444;
    font-size: 12px;
    margin: 0;
}

/* Checkbox Grid */
.audit-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 4px;
}
.audit-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}
.audit-checkbox:hover {
    border-color: rgba(248, 209, 2, 0.3);
    background: rgba(248, 209, 2, 0.05);
}
.audit-checkbox input[type="checkbox"] {
    accent-color: #f8d102;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.audit-checkbox input[type="checkbox"]:checked + span {
    color: #fff;
}

/* File Upload */
.audit-upload {
    position: relative;
    border: 2px dashed rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}
.audit-upload:hover {
    border-color: rgba(248, 209, 2, 0.4);
    background: rgba(248, 209, 2, 0.03);
}
.audit-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.audit-upload__content {
    pointer-events: none;
}
.audit-upload__content i {
    font-size: 32px;
    color: rgba(255,255,255,0.3);
    margin-bottom: 10px;
}
.audit-upload__content p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin: 0 0 4px;
}
.audit-upload__content small {
    color: rgba(255,255,255,0.35);
    font-size: 12px;
}
.audit-upload__preview {
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}
.audit-upload__preview img {
    max-width: 60px;
    max-height: 60px;
    border-radius: 8px;
    object-fit: cover;
}
.audit-upload__filename {
    color: #f8d102;
    font-size: 14px;
    font-weight: 500;
}

/* Section Actions */
.audit-section__actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* Buttons */
.audit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
.audit-btn--next {
    background: #f8d102;
    color: #0a1430;
}
.audit-btn--next:hover {
    background: #e5c102;
    transform: translateY(-1px);
}
.audit-btn--prev {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.1);
}
.audit-btn--prev:hover {
    background: rgba(255,255,255,0.1);
}
.audit-btn--submit {
    background: #f8d102;
    color: #0a1430;
    padding: 14px 32px;
    font-size: 16px;
}
.audit-btn--submit:hover {
    background: #e5c102;
    transform: translateY(-1px);
}
.audit-btn--submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* CTA Section */
.audit-cta {
    padding: 60px 20px 80px;
}
.audit-cta__container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.audit-cta__title {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    color: #fff;
    margin-bottom: 40px;
}
.audit-cta__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.audit-cta__item {
    padding: 28px 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    text-align: center;
    transition: all 0.3s ease;
}
.audit-cta__item:hover {
    border-color: rgba(248, 209, 2, 0.25);
    background: rgba(248, 209, 2, 0.03);
    transform: translateY(-3px);
}
.audit-cta__item i {
    font-size: 28px;
    color: #f8d102;
    margin-bottom: 14px;
}
.audit-cta__item h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    color: #fff;
    margin-bottom: 8px;
}
.audit-cta__item p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    margin: 0;
}

/* Gold text utility */
.text-gold { color: #f8d102; }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
    .audit-form__container { padding: 24px 18px; }
    .audit-grid--2 { grid-template-columns: 1fr; }
    .audit-checkbox-grid { grid-template-columns: 1fr; }
    .audit-cta__grid { grid-template-columns: 1fr; }
    .audit-steps { gap: 6px; }
    .audit-step__label { display: none; }
    .audit-section__actions { flex-direction: column; }
    .audit-section__actions .audit-btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .audit-hero { padding: 60px 16px 30px; }
    .audit-hero__title { font-size: 28px; }
    .audit-hero__subtitle { font-size: 15px; }
}
