/*
 * One login card spec, shared by the portal login blades and the Filament
 * panels. Both worlds map their own markup onto these tokens instead of each
 * inventing its own sizes, which is how the logins drifted apart before.
 *
 * Loaded by resources/views/auth/partials/portal-login-styles.blade.php and
 * imported at the top of css/filament/filament/custom.css.
 */
:root {
    --login-card-width: 400px;
    --login-card-padding: 2rem;
    --login-card-radius: 16px;
    --login-card-shadow: 0 15px 35px rgb(0 0 0 / 0.12);

    --login-logo-height: 36px;
    --login-logo-gap: 1.25rem;

    --login-title-size: 1.5rem;
    --login-title-weight: 600;
    --login-title-gap: 0.35rem;

    --login-subtitle-size: 0.875rem;
    --login-subtitle-color: #6b7280;
    --login-subtitle-gap: 1.5rem;

    --login-field-gap: 1.25rem;
    --login-label-size: 0.875rem;
    --login-label-weight: 500;
    --login-label-color: #374151;

    --login-input-size: 16px;
    --login-input-padding: 12px;
    --login-input-radius: 10px;
    --login-input-border: 1.5px solid #e1e5e9;

    --login-button-padding: 12px;
    --login-button-size: 1rem;
    --login-button-weight: 600;
    --login-button-radius: 10px;
}

/* Logo and pill sit centred above the title on every login. */
.login-brand {
    text-align: center;
}

/* Filament renders the heading as one element, so the pill and the title are
   stacked from inside it. */
.login-heading-text {
    display: block;
}

/* Every login card names its surface with the same pill, so a glance tells you
   which door you are at: POS, kiosk, insight, venue panel or superadmin. */
.login-pill {
    display: inline-block;
    margin-bottom: var(--login-logo-gap);
    padding: 4px 10px;
    border-radius: 999px;
    background: rgb(var(--brand-primary-rgb) / 0.12);
    color: var(--brand-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
    white-space: nowrap;
}
