@font-face {
    font-family: 'Baloo Da 2';
    src: url('../fonts/baloo-da-2-bengali.woff2') format('woff2');
    font-display: swap;
    font-style: normal;
    font-weight: 400 800;
    unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1, U+11DF0-11DF1;
}
@font-face {
    font-family: 'Baloo Da 2';
    src: url('../fonts/baloo-da-2-latin.woff2') format('woff2');
    font-display: swap;
    font-style: normal;
    font-weight: 400 800;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    color-scheme: light;
    --bg: #edf4f7;
    --card: #fff;
    --ink: #17283a;
    --muted: #465b70;
    --line: #b4c4d6;
    --input: #f8fbfd;
    --brand: #0e334b;
    --brand-end: #164955;
    --brand-ink: #effbff;
    --action: #00695d;
    --link: #006457;
    --focus: #076552;
    --error: #982928;
    --ok: #126349;
}
:root[data-auth-theme="violet"] {
    --brand: #352054;
    --brand-end: #583278;
    --action: #5d2f98;
    --link: #54268e;
    --focus: #64369d;
}
:root[data-auth-theme="blue"] {
    --brand: #0e3054;
    --brand-end: #193e7a;
    --action: #174b9b;
    --link: #164592;
    --focus: #244a9d;
}
:root[data-bs-theme="dark"] {
    color-scheme: dark;
    --bg: #101927;
    --card: #192638;
    --ink: #f2f7fc;
    --muted: #c2d0df;
    --line: #758aa0;
    --input: #101b2b;
    --focus: #9edce4;
    --error: #ffb9b8;
    --ok: #9ce4bf;
    --link: #a1dee6;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-bs-theme="light"]) {
        color-scheme: dark;
        --bg: #101927;
        --card: #192638;
        --ink: #f2f7fc;
        --muted: #c2d0df;
        --line: #758aa0;
        --input: #101b2b;
        --focus: #9edce4;
        --error: #ffb9b8;
        --ok: #9ce4bf;
        --link: #a1dee6;
    }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding: clamp(1rem, 4vw, 3rem);
    background: radial-gradient(ellipse at top left, color-mix(in srgb, var(--action) 12%, transparent), transparent 55%), var(--bg);
    color: var(--ink);
    font: 1rem/1.55 'Baloo Da 2', Arial, sans-serif;
}
.account-shell {
    position: relative;
    width: min(100%, 60rem);
    margin: auto;
    display: grid;
    grid-template-columns: minmax(15rem, 2fr) minmax(0, 3fr);
    border: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
    border-radius: 1.35rem;
    background: var(--card);
    box-shadow: 0 24px 70px #142b4827;
    overflow: hidden;
}
.account-brand, .account-card { padding: clamp(1.35rem, 5vw, 3.1rem); min-width: 0; }
.account-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(1rem, 4vw, 3rem);
    background: radial-gradient(ellipse at bottom right, #ffffff24, transparent 65%), linear-gradient(155deg, var(--brand), var(--brand-end));
    color: var(--brand-ink);
}
.account-brand a { color: inherit; font-weight: 700; }
.account-brand-link { display: flex; align-items: flex-start; flex-direction: column; gap: .7rem; text-decoration: none; }
.account-brand-link img { object-fit: contain; background: #fff; border-radius: .45rem; padding: .25rem; }
.account-brand-copy { overflow-wrap: anywhere; }
.account-brand h2, .account-card h1 { margin: 0 0 .6rem; line-height: 1.25; overflow-wrap: anywhere; }
.account-brand h2 { font-size: clamp(1.3rem, 3.2vw, 2rem); }
.account-brand p, .account-card p { margin: .25rem 0 1rem; }
.account-brand p { margin-bottom: 0; }
.account-return { font-size: .9rem; width: fit-content; text-underline-offset: 3px; }
.account-card h1 { font-size: clamp(1.45rem, 3.6vw, 2.15rem); }
.account-desc, .account-hint { color: var(--muted); }
.account-form { display: grid; gap: .95rem; }
.account-form label { display: grid; gap: .3rem; font-weight: 650; }
.account-form input, .account-form select {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--line);
    background: var(--input);
    color: var(--ink);
    border-radius: .65rem;
    padding: .7rem .8rem;
    font: inherit;
}
.account-form button[type="submit"] {
    min-height: 2.85rem;
    border: 0;
    border-radius: .65rem;
    padding: .7rem 1rem;
    color: #fff;
    background: var(--action);
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}
.account-form button[type="submit"]:hover { filter: brightness(1.13); }
.account-form button[type="submit"]:disabled { cursor: wait; opacity: .72; }
.account-card :focus-visible, .account-brand a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.account-brand a:focus-visible { outline-color: #fff; }
.account-password-field { position: relative; }
.account-password-field input { padding-inline-end: 5rem; }
.account-password-toggle {
    position: absolute;
    inset-inline-end: .35rem;
    bottom: .25rem;
    min-height: 2.15rem;
    border: 0;
    border-radius: .45rem;
    padding: .35rem .6rem;
    background: transparent;
    color: var(--link);
    font: inherit;
    cursor: pointer;
}
.account-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; padding-top: 1rem; margin-top: 1.15rem; border-top: 1px solid var(--line); }
.account-actions:empty { display: none; }
.account-hint, .account-actions a { font-size: .92rem; }
.account-alert, .account-notice { border: 1px solid currentColor; border-radius: .65rem; padding: .58rem .75rem; overflow-wrap: anywhere; white-space: pre-line; }
.account-alert { color: var(--error); }
.account-notice { color: var(--ok); }
.account-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.account-card a { color: var(--link); text-underline-offset: 3px; }
.account-rain { inset: 0; overflow: hidden; pointer-events: none; user-select: none; }
.account-rain-page {
    position: fixed;
    --rain-distance: calc(100vh + 4rem);
    --rain-duration: 9s;
    color: var(--link);
}
.account-rain-word {
    position: absolute;
    top: -2.5rem;
    left: var(--rain-lane);
    font-weight: 700;
    font-size: clamp(.9rem, 1.6vw, 1.15rem);
    white-space: nowrap;
    opacity: .58;
    animation: account-rain-fall var(--rain-duration) linear var(--rain-delay) infinite;
}
.account-rain-word:nth-child(1) { --rain-lane: 3%; --rain-delay: -2s; }
.account-rain-word:nth-child(2) { --rain-lane: 13%; --rain-delay: -6s; }
.account-rain-word:nth-child(3) { --rain-lane: 77%; --rain-delay: -1s; }
.account-rain-word:nth-child(4) { --rain-lane: 86%; --rain-delay: -5s; }
.account-rain-word:nth-child(5) { --rain-lane: 7%; --rain-delay: -8s; }
.account-rain-word:nth-child(6) { --rain-lane: 68%; --rain-delay: -4s; }
.account-rain-brand { display: none; }
@keyframes account-rain-fall { to { transform: translateY(var(--rain-distance)); } }
@media (max-width: 700px) {
    .account-rain-page { display: none; }
    .account-brand { position: relative; }
    .account-brand > :not(.account-rain) { position: relative; }
    .account-rain-brand {
        display: block;
        position: absolute;
        color: var(--brand-ink);
        --rain-distance: 14rem;
        --rain-duration: 6s;
    }
    .account-rain-brand .account-rain-word {
        font-size: .92rem;
        opacity: .42;
    }
}
@media (max-width: 700px) {
    .account-shell { grid-template-columns: 1fr; }
    .account-brand { gap: .6rem; padding-block: 1.1rem; }
    .account-brand-copy { display: none; }
    .account-brand-link { align-items: center; flex-direction: row; }
    .account-brand-link img { width: 72px; height: 32px; }
}
@media (max-width: 450px) { .account-row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .account-rain { display: none; } }


