/**
 * AFROBLEND RECORD — 12-Step Application Form Stylesheet
 */

.application-wizard-container {
    max-width: 900px;
    margin: 40px auto;
    background: linear-gradient(145deg, #131316, #18181e);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.1);
    position: relative;
}

/* Sticky Progress Header */
.wizard-progress-header {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #27272a;
}

.wizard-step-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.step-counter {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold-primary);
    text-transform: uppercase;
}

.step-title-live {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.wizard-progress-bar-bg {
    width: 100%;
    height: 6px;
    background: #27272a;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.wizard-progress-bar-fill {
    height: 100%;
    background: var(--gold-gradient);
    width: 8.33%; /* 1/12 */
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 12px var(--gold-glow);
}

/* Step Content Sections */
.form-step {
    display: none;
    animation: fadeInStep 0.4s ease forwards;
}

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

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

.step-header {
    margin-bottom: 28px;
}

.step-header h3 {
    color: var(--gold-light);
    font-size: 22px;
    margin-bottom: 6px;
}

.step-header p {
    color: #a1a1aa;
    font-size: 14px;
    margin: 0;
}

/* Form Groups & Interactive Selectors */
.selectable-box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 15px;
}

.selectable-box {
    background: #111114;
    border: 1px solid #27272a;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.selectable-box:hover {
    border-color: rgba(212, 175, 55, 0.5);
    background: #17171d;
}

.selectable-box.selected {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.selectable-box input[type="radio"],
.selectable-box input[type="checkbox"] {
    accent-color: var(--gold-primary);
    margin-top: 4px;
    transform: scale(1.15);
}

.selectable-box .box-title {
    font-weight: 600;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 3px;
}

.selectable-box .box-desc {
    font-size: 12px;
    color: #a1a1aa;
    line-height: 1.4;
}

/* File Upload Zone */
.upload-dropzone {
    border: 2px dashed rgba(212, 175, 55, 0.4);
    background: rgba(21, 21, 24, 0.6);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    position: relative;
}

.upload-dropzone:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

.upload-dropzone i {
    font-size: 38px;
    color: var(--gold-primary);
    margin-bottom: 10px;
    display: block;
}

.upload-dropzone .upload-title {
    font-weight: 600;
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 4px;
}

.upload-dropzone .upload-subtitle {
    font-size: 12px;
    color: #a1a1aa;
}

.upload-preview-container {
    margin-top: 10px;
    font-size: 13px;
    color: var(--gold-light);
    display: none;
}

/* Navigation Buttons */
.wizard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #27272a;
}

/* Duplicate Notice Alert */
.duplicate-warning-banner {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid #eab308;
    color: #fef08a;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
    display: none;
}

/* Review Summary List */
.review-section-card {
    background: #0f0f12;
    border: 1px solid #27272a;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.review-section-card h5 {
    color: var(--gold-primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #27272a;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.review-item-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.review-item-row .lbl {
    color: #a1a1aa;
    font-weight: 500;
}

.review-item-row .val {
    color: #ffffff;
    font-weight: 600;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

@media (max-width: 768px) {
    .application-wizard-container {
        padding: 22px 14px;
        margin: 15px auto 30px;
        border-radius: 10px;
    }
    
    .wizard-step-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .step-counter {
        font-size: 12px;
    }

    .step-title-live {
        font-size: 15px;
    }

    .step-header {
        margin-bottom: 20px;
    }

    .step-header h3 {
        font-size: 19px;
    }

    .step-header p {
        font-size: 13px;
    }

    .selectable-box-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .selectable-box {
        padding: 14px;
    }

    .upload-dropzone {
        padding: 24px 14px;
    }

    .upload-dropzone i {
        font-size: 32px;
    }

    .wizard-actions {
        flex-direction: column-reverse;
        gap: 12px;
        margin-top: 25px;
        padding-top: 20px;
    }

    .wizard-actions button {
        width: 100% !important;
        padding: 13px 20px;
    }

    .review-item-row {
        flex-direction: column;
        padding: 8px 0;
    }

    .review-item-row .lbl {
        font-size: 12px;
    }

    .review-item-row .val {
        text-align: left;
        max-width: 100%;
        margin-top: 2px;
        font-size: 13.5px;
    }
}

@media (max-width: 480px) {
    .application-wizard-container {
        padding: 16px 12px;
    }
    
    .step-header h3 {
        font-size: 17px;
    }
}
