/* Admin gateway: the few things the shared theme (core/sookth.css) does not cover. */

.nav a.is-disabled { opacity: .55; cursor: default; }
.nav a.is-disabled:hover { background: none; border-color: transparent; }
.nav a .badge { margin-left: auto; }

.auth-theme { position: fixed; right: 1rem; bottom: 1rem; }
.grow-form { flex: 1; }
.input-inline { width: auto; flex: 1; min-width: 200px; }
.audit-details { max-width: 340px; word-break: break-word; }
/* Three equal cards in one row (My account: recovery codes, authenticator, other sessions);
   each card's button stays at its bottom. Stacked on narrow screens. */
.grid-3 { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.grid-3 > .card { display: flex; flex-direction: column; }
.grid-3 > .card > .card-body { flex: 1; }
.grid-3 .card-foot .input-inline { flex: 1 1 100%; min-width: 0; }
.grid-3 .card-foot .btn { flex: 1 1 auto; }
@media (max-width: 1100px) { .grid-3 { grid-template-columns: 1fr; } }

.avatar-xl { width: 88px; height: 88px; font-size: 1.6rem; border-radius: 18px; box-shadow: var(--shadow); }
.auth-head .brand-mark .icon { width: 28px; height: 28px; }

/* Security key sign-in (login page) and keys (My account) */
.key-signin { gap: .6rem; margin-top: 1.1rem; }
.key-button { min-height: 56px; font-size: 1.05rem; }
.key-button .icon { width: 22px; height: 22px; }
.center { text-align: center; }
.or-line { display: flex; align-items: center; gap: .75rem; margin-top: .4rem; font-size: .82rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 2px; background: var(--ink); opacity: .25; }
.key-remove { justify-content: flex-end; flex-wrap: nowrap; }
.key-remove .input-inline { min-width: 140px; max-width: 180px; min-height: 34px; padding: .3rem .6rem; }
#security-keys { margin-bottom: 0; }

/* Cloud Banking, Register a bank: choosing "Create it on Hostinger" hides the typed database fields */
.db-choice .check { align-items: flex-start; }
.db-choice .check input { flex: none; margin-top: .15rem; }
.db-choice:has(#db_mode_hostinger:checked) .db-manual { display: none; }

/* Dashboard: "How it works" links under the product cards */
.guides { align-items: center; gap: .5rem; }
.guides > .small .icon { width: 1em; height: 1em; vertical-align: -.12em; }

/* ---------- Sign-in pages: brand panel beside the card ---------- */
.auth-split {
    display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 430px);
    justify-content: center; align-content: center; place-items: stretch; gap: 0; padding: 2rem 1rem;
}
.auth-split .auth-card { max-width: none; border-radius: 0 18px 18px 0; min-height: 100%; justify-content: center; }
.auth-brand {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; gap: 1.1rem; padding: 2rem 1.75rem;
    background: var(--yellow); color: var(--on-color);
    border: 3px solid var(--ink); border-right: 0; border-radius: 18px 0 0 18px; box-shadow: var(--shadow-lg);
}
/* Big soft shapes behind the stickers */
.auth-brand::before, .auth-brand::after {
    content: ""; position: absolute; z-index: 0; border: 3px solid var(--ink); border-radius: 50%; opacity: .9;
}
.auth-brand::before { width: 190px; height: 190px; right: -70px; top: -60px; background: var(--pink); }
.auth-brand::after { width: 150px; height: 150px; right: -55px; bottom: -70px; background: var(--blue); }
.auth-brand > * { position: relative; z-index: 1; }
.auth-brand-top { display: flex; align-items: center; gap: .8rem; }
.auth-brand-top .brand-logo { width: 56px; height: 56px; border-radius: 14px; background: var(--surface); border: 3px solid var(--ink); box-shadow: var(--shadow); padding: 4px; }
.auth-brand-top strong { display: block; font-size: 1.35rem; font-weight: 900; letter-spacing: -.02em; }
.auth-brand-top span { font-weight: 700; font-size: .9rem; }
.auth-brand-line { font-size: 1.05rem; font-weight: 700; max-width: 30ch; }
.auth-stickers { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.sticker {
    display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .75rem;
    font-weight: 800; font-size: .9rem; color: var(--on-color);
    border: 2.5px solid var(--ink); border-radius: 12px; box-shadow: var(--shadow-sm);
}
.sticker .icon { width: 18px; height: 18px; }
.auth-stickers li:nth-child(odd) { transform: rotate(-2deg); }
.auth-stickers li:nth-child(even) { transform: rotate(1.5deg); }
.auth-brand-big { margin-top: auto; font-size: 2.4rem; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.auth-brand-big span { display: block; margin-top: .3rem; font-size: 1.1rem; letter-spacing: 0; }
.auth-brand-foot { font-size: .85rem; font-weight: 700; display: flex; gap: .4rem; align-items: center; }
.auth-brand-foot .icon { width: 16px; height: 16px; flex: none; }
.auth-head-left { align-items: flex-start; text-align: left; }
.auth-hello { display: inline-block; padding: .1rem .6rem; font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; background: var(--green); color: var(--on-color); border: 2px solid var(--ink); border-radius: 999px; }
.auth-head-left h1 { font-size: 2rem; }

@media (max-width: 880px) {
    .auth-split { grid-template-columns: minmax(0, 460px); padding-bottom: 4.5rem; }
    .auth-brand { border: 3px solid var(--ink); border-bottom: 0; border-radius: 18px 18px 0 0; padding: 1.25rem 1.25rem 1rem; gap: .75rem; }
    .auth-brand-line, .auth-brand-foot, .auth-brand-big { display: none; }
    .auth-brand::before { width: 120px; height: 120px; right: -50px; top: -50px; }
    .auth-brand::after { display: none; }
    .auth-split .auth-card { border-radius: 0 0 18px 18px; }
}

/* Cloud Banking: a bank's own logo (set by its bank admin in Bank settings). */
.bk-admin-bank { display: flex; align-items: center; gap: .65rem; }
.bk-admin-logo { flex: none; width: 36px; height: 36px; object-fit: contain; padding: 2px; background: #fff; border: 2px solid var(--ink); border-radius: 9px; }
.bk-admin-logo-lg { width: 56px; height: 56px; border-radius: 12px; }
.bk-admin-logo-none { display: grid; place-items: center; background: var(--sunk); color: var(--muted); }
.bk-admin-logo-none .icon { width: 18px; height: 18px; }

/* Demo logins: the shared password and PIN, then each product's logins as label / value pairs. */
.demo-shared .card-body { flex-direction: row; flex-wrap: wrap; gap: 1rem 2.5rem; }
.demo-shared .card-body > div { display: flex; flex-direction: column; gap: .2rem; }
.demo-secret { font-size: 1.35rem; font-weight: 800; letter-spacing: .04em; user-select: all; }
.demo-logins { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .25rem .9rem; margin: 0; }
.demo-logins dt { font-size: .82rem; font-weight: 700; color: var(--muted); }
.demo-logins dd { margin: 0; font-weight: 700; user-select: all; overflow-wrap: anywhere; }
