/* ============================================================
   GoMailbox enterprise palette for the sign-in / sign-up pages.
   Loaded after auth.css + auth-brand.css; matches gm-enterprise.css
   (brand #1D6FA5, navy panel, slate dark mode). Additive only.
   ============================================================ */
:root {
    --gmb-teal: #1D6FA5;
    --gmb-teal-dk: #0E3A5C;
    --gmb-ink: #101828;
    --color-teal: #1D6FA5;
    --color-teal-hover: #175B88;
    --color-teal-light: rgba(29, 111, 165, .10);
    --color-teal-ring: rgba(29, 111, 165, .28);
}
[data-theme="dark"] {
    --color-teal: #5BB0E6;
    --color-teal-hover: #82C4EE;
    --color-teal-light: rgba(91, 176, 230, .14);
    --color-teal-ring: rgba(91, 176, 230, .32);
    --color-page-bg: #0A111E;
}

/* Brand panel: deep navy-to-blue, subtle light bloom */
.auth-brand-panel {
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(91, 176, 230, .28) 0%, transparent 55%),
        linear-gradient(160deg, #1D6FA5 0%, #124A75 48%, #0B2F4D 100%);
}
.auth-brand-panel h2 { letter-spacing: -.025em; }
.auth-brand-list .abp-check { background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.auth-brand-stats { border-top-color: rgba(255, 255, 255, .18); }

/* Form column */
.auth-main .auth-split .auth-card { background: var(--color-card-bg, #fff); }
[data-theme="dark"] .auth-main .auth-split .auth-card { background: #0F1A2B; }
.auth-card input:focus, .auth-card select:focus, .auth-card textarea:focus,
.auth-card .form-input:focus { border-color: var(--color-teal) !important; box-shadow: 0 0 0 3px var(--color-teal-ring) !important; outline: none; }
.auth-card .btn-primary { background: var(--color-teal); border-color: var(--color-teal); border-radius: 10px; font-weight: 600; letter-spacing: .01em; }
.auth-card .btn-primary:hover { background: var(--color-teal-hover); border-color: var(--color-teal-hover); }
.gsel-btn:focus, .gsel-btn[aria-expanded="true"] { border-color: var(--color-teal) !important; box-shadow: 0 0 0 3px var(--color-teal-ring) !important; }

/* Footer trust links */
.auth-footer .gm-auth-links { display: inline-flex; gap: 10px; margin-left: 10px; }
.auth-footer .gm-auth-links a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 620px) {
    .auth-footer .gm-auth-links { display: flex; justify-content: center; margin: 6px 0 0; }
}

/* Visible text selection on both panels */
.auth-brand-panel ::selection { background: rgba(255, 255, 255, .85); color: #0B2F4D; }
.auth-card ::selection { background: rgba(29, 111, 165, .25); color: inherit; }

/* Tablet / mobile: the brand banner already shows the logo; keep the top controls legible on it */
@media (max-width: 900px) {
    .auth-main .auth-split .auth-card .auth-card-logo { display: none; }
    .auth-topbar, .auth-topbar a, .auth-topbar button, .auth-topbar span { color: #fff !important; }
    .auth-topbar button, .auth-topbar a { background: rgba(255, 255, 255, .12) !important; border-color: rgba(255, 255, 255, .28) !important; }
    .auth-brand-panel { padding-top: 64px; }
}
