/* apply.css — Full application form */

.apply-section {
    padding: 56px 24px 88px;
    background: #f5f8fb;
}

.apply-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ── Section card ── */
.apply-card {
    background: white;
    border-radius: 14px;
    padding: 36px 40px 40px;
    box-shadow: 0 2px 16px rgba(44,62,80,0.08);
}

.apply-card-eyebrow {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
}

.apply-card h2 {
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 900;
    color: var(--darkblue);
    font-family: Arial, sans-serif;
    margin: 0 0 10px;
}

.apply-accent-bar {
    width: 32px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin-bottom: 28px;
}

/* ── Field grid ── */
.apply-fields {
    display: grid;
    gap: 16px;
}

.apply-fields.cols-2 { grid-template-columns: 1fr 1fr; }
.apply-fields.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.apply-fields.cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
.apply-fields.cols-2-1 { grid-template-columns: 2fr 1fr; }

.apply-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.apply-field.span-2 { grid-column: span 2; }
.apply-field.span-3 { grid-column: span 3; }
.apply-field.span-4 { grid-column: span 4; }

.apply-field label {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--darkblue);
}

.apply-field label .req {
    color: #b33;
    margin-left: 2px;
}

.apply-field input,
.apply-field select,
.apply-field textarea {
    padding: 10px 13px;
    background: white;
    border: 1.5px solid #dce4ee;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    color: var(--darkblue);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.apply-field input:focus,
.apply-field select:focus,
.apply-field textarea:focus {
    border-color: #2c7be5;
    box-shadow: 0 0 0 3px rgba(44,123,229,0.12);
}

.apply-field textarea {
    resize: vertical;
    min-height: 72px;
}

.apply-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238a9ab0'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* ── Radio / checkbox groups ── */
.apply-radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    padding: 8px 0 2px;
}

.apply-radio-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    color: var(--darkblue);
    cursor: pointer;
}

.apply-radio-label input {
    width: auto;
    margin: 0;
    cursor: pointer;
    accent-color: #2c7be5;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* ── Yes/No rows ── */
.apply-yn-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 0;
    border-bottom: 1px solid #edf1f5;
}

.apply-yn-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.apply-yn-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.apply-yn-question {
    font-size: 14px;
    font-weight: 600;
    color: var(--darkblue);
    flex: 1;
}

.apply-yn-controls {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* ── Release table ── */
.apply-table {
    width: 100%;
    border-collapse: collapse;
}

.apply-table th {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #8a9ab0;
    text-transform: uppercase;
    font-weight: bold;
    text-align: left;
    padding: 0 8px 10px;
    border-bottom: 1px solid #dce4ee;
}

.apply-table td {
    padding: 6px 8px;
}

.apply-table td input {
    padding: 9px 12px;
    background: white;
    border: 1.5px solid #dce4ee;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    color: var(--darkblue);
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.apply-table td input:focus {
    border-color: #2c7be5;
    box-shadow: 0 0 0 3px rgba(44,123,229,0.12);
}

/* ── Divider ── */
.apply-divider {
    border: none;
    border-top: 1px solid #edf1f5;
    margin: 20px 0;
}

/* ── Consent ── */
.apply-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--darkblue);
    cursor: pointer;
    font-weight: 600;
}

.apply-consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #2c7be5;
    cursor: pointer;
}

/* ── Submit button ── */
.apply-submit {
    margin-top: 8px;
    padding: 14px 36px;
    background: var(--gold);
    color: var(--darkblue);
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease;
    align-self: flex-start;
}

.apply-submit:hover {
    background: #e6c200;
}

/* ── Mobile ── */
@media (max-width: 640px) {
    .apply-card {
        padding: 28px 20px 32px;
    }

    .apply-fields.cols-2,
    .apply-fields.cols-3,
    .apply-fields.cols-4,
    .apply-fields.cols-2-1 {
        grid-template-columns: 1fr;
    }

    .apply-field.span-2,
    .apply-field.span-3,
    .apply-field.span-4 {
        grid-column: span 1;
    }

    .apply-submit {
        width: 100%;
        text-align: center;
    }
}
