/* Verified accounts: the "What brings you here?" choice on /register/, the
   verification page and the claim form. Loaded after auth.css and built on its
   tokens, with fallbacks so the pieces still read if a token is renamed. */

.account-type {
    margin: 0;
    padding: 0;
    border: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.account-type legend {
    margin-bottom: 0.55rem;
    padding: 0;
}

.account-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.account-type-option {
    position: relative;
    display: block;
    cursor: pointer;
}

/* The radio stays in the page for keyboards and screen readers; the card is
   what gets seen and clicked. */
.account-type-option input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
}

.account-type-card {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    height: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--auth-line, rgba(255, 255, 255, 0.12));
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--auth-muted, #8a8a8a);
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.account-type-card i {
    color: var(--auth-muted, #8a8a8a);
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.account-type-card strong {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
}

.account-type-option:hover .account-type-card {
    border-color: var(--auth-line-strong, rgba(255, 255, 255, 0.3));
}

.account-type-option input:checked + .account-type-card {
    border-color: rgba(255, 0, 0, 0.55);
    background: rgba(255, 0, 0, 0.07);
}

.account-type-option input:checked + .account-type-card i {
    color: var(--auth-red, #ff0000);
}

.account-type-option input:focus-visible + .account-type-card {
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.3);
}

.account-type-extra {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-left: 2px solid rgba(255, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.02);
}

.account-type-extra[hidden] {
    display: none;
}

.auth-claim {
    margin: 0.75rem 0 0;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(255, 0, 0, 0.35);
    border-radius: 4px;
    background: rgba(255, 0, 0, 0.06);
    font-size: 0.85rem;
    color: #ddd;
}

@media (max-width: 420px) {
    .account-type-grid {
        grid-template-columns: 1fr;
    }
}

/* --- /account/verification/ and /claim/<slug>/ ---------------------------- */

.verify-section {
    margin-top: 1.75rem;
}

.verify-section h2 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: #fff;
}

.verify-roles,
.verify-requests {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.verify-roles li,
.verify-requests li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--auth-line, rgba(255, 255, 255, 0.12));
    border-radius: 4px;
    font-size: 0.88rem;
    color: #ddd;
}

.verify-requests small {
    display: block;
    color: var(--auth-muted, #8a8a8a);
    font-size: 0.78rem;
}

.verify-roles a {
    color: #ff4444;
    white-space: nowrap;
}

.verify-status {
    flex-shrink: 0;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.08);
    color: #ccc;
}

.verify-status--pending { background: rgba(255, 196, 0, 0.14); color: #ffd35c; }
.verify-status--approved { background: rgba(29, 185, 84, 0.16); color: #6fe39b; }
.verify-status--rejected { background: rgba(255, 77, 77, 0.14); color: #ff8a8a; }

.verify-note {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--auth-muted, #8a8a8a);
}

/* After a signup that ticked artist/promoter without naming the act. */
.verify-pending {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin: 0 0 1.25rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 68, 68, 0.35);
    border-left-width: 3px;
    border-radius: 4px;
    background: rgba(255, 0, 0, 0.06);
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--auth-text, #d8d8d8);
}
.verify-pending i { color: var(--auth-red-soft, #ff4444); margin-top: 0.2rem; }
.verify-pending a { color: #fff; margin-left: 0.25rem; white-space: nowrap; }
