/* fighter fund application form (page-formtest.php) - plain css so base.css doesn't need a tailwind rebuild */

.ff-apply {
    --ff-surface: #211C25;
    --ff-border: #382E40;
    --ff-accent: #CCA6FF;
    --ff-yellow: #DFFD51;
    --ff-error: #FF6B6B;
    background: #141114;
    color: #fff;
    padding: 5rem 0;
}

.ff-apply-inner {
    max-width: 760px;
}

.ff-hp {
    position: absolute;
    left: -9999px;
}

.ff-field {
    margin-bottom: 1.75rem;
}

.ff-field fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

.ff-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ff-req {
    color: var(--ff-accent);
}

.ff-input {
    display: block;
    width: 100%;
    background: var(--ff-surface);
    color: #fff;
    border: 1px solid var(--ff-border);
    border-radius: 12px;
    padding: 0.8em 1em;
    font: inherit;
    color-scheme: dark; /* native date picker / select in dark */
}

.ff-input:focus {
    outline: none;
    border-color: var(--ff-accent);
}

.ff-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ff-choice {
    cursor: pointer;
}

.ff-choice input {
    position: absolute;
    opacity: 0;
}

.ff-choice span {
    display: inline-block;
    border: 1px solid var(--ff-border);
    border-radius: 999px;
    padding: 0.5em 1.1em;
    font-size: 0.889rem;
    transition: all 0.15s;
}

.ff-choice input:checked + span {
    background: var(--ff-accent);
    border-color: var(--ff-accent);
    color: #141114;
}

.ff-choice input:focus-visible + span {
    outline: 2px solid var(--ff-yellow);
    outline-offset: 2px;
}

.ff-other {
    margin-top: 0.75rem;
}

.ff-error,
.ff-apply-status {
    color: var(--ff-error);
    font-size: 0.889rem;
    margin-top: 0.4rem;
}

.ff-error:empty,
.ff-apply-status:empty {
    display: none;
}

.ff-field.has-error .ff-input,
.ff-field.has-error .ff-choice span {
    border-color: var(--ff-error);
}

.ff-apply-form button[disabled] {
    opacity: 0.6;
    pointer-events: none;
}

.ff-apply-alt {
    font-size: 0.889rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.ff-apply-alt a,
.ff-apply-status a {
    color: var(--ff-accent);
    text-decoration: underline;
}
