/* ========================================
   REQUEST FORM – STYLESHEET
   ======================================== */

:root {
    --brand-dark: #002e36;
    --brand-green: #6aeba3;
    --brand-green-light: #a8f5cc;
    --white: #ffffff;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --card-shadow: 0 2px 12px rgba(0,0,0,0.08);
    --font-body: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    --font-display: 'Libre Baskerville',Georgia,"Times New Roman",serif;
}

* { box-sizing: border-box; }

body {
    background: #f0f2f5;
    font-family: var(--font-body);
    min-height: 100vh;
    
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1rem;
}

.form-wrapper {
    width: 100%;
    max-width: 860px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
	margin-left: auto;
	margin-right: auto;
}

/* ── TOP BAR ── */
.top-bar {
    background: var(--brand-dark);
    padding: 1.4rem 2rem 1.6rem;
    color: var(--white);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 0.5rem;
}

.progress-track {
    height: 4px;
    background: rgba(255,255,255,0.25);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--brand-green);
    border-radius: 99px;
    transition: width 0.5s ease;
}

.step-header h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
    color: var(--white);
}

.step-header p {
    font-size: 0.9rem;
    opacity: 0.78;
    margin: 0;
}

/* ── STEP CONTENT ── */
.step-content {
    padding: 2rem;
}

/* ── NAV BUTTONS ── */
.nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.nav-row .backBtn {
    background: transparent;
    border: 1.5px solid var(--brand-dark);
    color: var(--brand-dark);
    padding: 0.55rem 1.4rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.nav-row .backBtn:hover {
    background: var(--brand-dark);
    color: var(--white);
}

.nextBTN {
    background: var(--brand-dark);
    color: var(--white);
    border: none;
    padding: 0.6rem 1.6rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.nextBTN:hover:not(:disabled) {
    background: #004a57;
}
.nextBTN:disabled {
    background: #b0bec5;
    cursor: not-allowed;
}

/* ── FORM LABELS ── */
.form-label {
    font-weight: 500;
    color: #1a2b2e;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 1.5px solid var(--border-color);
    border-radius: 6px;
    padding: 0.65rem 0.9rem;
    font-family: var(--font-body);
    transition: border-color 0.2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--brand-dark);
    box-shadow: 0 0 0 3px rgba(0,46,54,0.08);
}

/* ── RADIO BUTTON CARDS (Step 2 & 3) ── */
.radio-card-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.radio-card {
    flex: 1;
    min-width: 100px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    color: #334;
    user-select: none;
    background: #fff;
}
.radio-card:hover {
    border-color: var(--brand-dark);
    background: #f4f8f9;
}
.radio-card.selected {
    border-color: var(--brand-dark);
    background: var(--brand-dark);
    color: var(--white);
}

/* ── FULL WIDTH OPTION BARS (Step 3) ── */
.option-bar-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.75rem;
}

.option-bar {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}
.option-bar:hover {
    border-color: var(--brand-dark);
    background: #f4f8f9;
}
.option-bar.selected {
    border-color: var(--brand-dark);
    background: rgba(0,46,54,0.04);
}
.option-bar h5 {
    margin: 0 0 0.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a2b2e;
}
.option-bar p {
    margin: 0;
    font-size: 0.83rem;
    color: var(--text-muted);
}
.option-bar.selected h5 { color: var(--brand-dark); }

/* ── PERSONNEL CARDS (Step 4) ── */
.personnel-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.personnel-card {
    flex: 1;
    min-width: 200px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 1.25rem 1rem;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    background: #fff;
}
.personnel-card:hover {
    border-color: #aac;
    box-shadow: var(--card-shadow);
}
.personnel-card.selected {
    border-color: var(--brand-dark);
    background: rgba(0,46,54,0.03);
}

.personnel-card .check-badge {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.personnel-card.selected .check-badge {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: #003;
}

.personnel-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.75rem;
    display: block;
    border: 3px solid var(--border-color);
}
.personnel-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #dde;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #889;
}

.personnel-card h5 {
    font-size: 0.93rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #1a2b2e;
}
.personnel-card .practice {
    font-size: 0.8rem;
    color: var(--brand-dark);
    font-weight: 500;
    margin-bottom: 0.2rem;
}
.personnel-card .year {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.personnel-card .bio {
    font-size: 0.78rem;
    color: #556;
    line-height: 1.45;
	margin-top: 20px;
}

/* ── DROPZONE (Step 6) ── */
.dropzone {
    border: 2.5px dashed #b0c4c8;
    border-radius: 10px;
    padding: 2.5rem 2rem;
    text-align: center;
    background: #f8fbfc;
    cursor: pointer;
    transition: all 0.2s;
}
.dropzone.dragover {
    background: #e8f7f0;
    border-color: var(--brand-green);
}
.dropzone i {
    font-size: 2.5rem;
    color: #90adb2;
    display: block;
    margin-bottom: 0.75rem;
}
.dropzone p.main-text {
    font-weight: 600;
    color: #334;
    margin-bottom: 0.25rem;
}
.dropzone p.sub-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.file-list {
    margin-top: 1rem;
    list-style: none;
    padding: 0;
}
.file-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem;
    background: #f0faf5;
    border-radius: 5px;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
    border: 1px solid #c8eedd;
}
.file-list li .remove-file {
    margin-left: auto;
    cursor: pointer;
    color: #c00;
    background: none;
    border: none;
    padding: 0;
}

/* ── COMPLETION SCREEN (Step 7) ── */
.completion-box {
    background: var(--brand-dark);
    color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    margin-top: 1rem;
}
.completion-box h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}
.completion-box p {
    opacity: 0.85;
    margin-bottom: 0.5rem;
}
.case-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-green);
    margin-top: 0.5rem;
}

/* ── ESCROW MESSAGES ── */
.escrow-msg {
    margin-top: 1rem;
    padding: 0.85rem 1.1rem;
    border-radius: 7px;
    font-size: 0.88rem;
    line-height: 1.5;
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}
.escrow-msg i {
    flex-shrink: 0;
    font-size: 1rem;
    margin-top: 0.1rem;
}
.escrow-msg--warn {
    background: #fff8e1;
    border: 1.5px solid #f9a825;
    color: #7a5000;
}
.escrow-msg--warn i { color: #f9a825; }

.escrow-msg--block {
    background: #fdecea;
    border: 1.5px solid #e53935;
    color: #7f1f1f;
}
.escrow-msg--block i { color: #e53935; }

/* ── HELPER ── */
.section-question {
    font-size: 1rem;
    font-weight: 500;
    color: #1a2b2e;
    margin-bottom: 0.25rem;
}

.offer-section {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.hint-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

@media (max-width: 600px) {
    .step-content { padding: 1.25rem; }
    .top-bar { padding: 1rem 1.25rem 1.25rem; }
    .personnel-grid { flex-direction: column; }
    .radio-card-group { flex-direction: column; }
}