:root {
    --bc-auth-bg: #020812;
    --bc-auth-panel: #061725;
    --bc-auth-panel-deep: #04111d;
    --bc-auth-line: rgba(73, 148, 177, 0.2);
    --bc-auth-muted: #829baa;
    --bc-auth-text: #eef8fb;
    --bc-auth-cyan: #17d7f5;
    --bc-auth-cyan-soft: #75eaff;
    --bc-auth-red: #ff456b;
}

body.bc-auth-page {
    min-width: 320px;
    min-height: 100%;
    margin: 0;
    color: var(--bc-auth-text);
    background:
        radial-gradient(circle at 18% 50%, rgba(0, 131, 178, 0.13), transparent 33%),
        radial-gradient(circle at 84% 15%, rgba(12, 95, 132, 0.1), transparent 28%),
        var(--bc-auth-bg);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.bc-auth-page #wrapwrap,
.bc-auth-page #wrapwrap > main {
    min-height: 100vh;
    background: transparent;
}

.bc-auth-shell {
    width: min(1240px, calc(100% - 48px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 24px 0 18px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 26px;
}

.bc-auth-header,
.bc-auth-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bc-auth-brand,
.bc-auth-return {
    color: var(--bc-auth-text);
    text-decoration: none;
}

.bc-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.34em;
}

.bc-auth-brand b,
.bc-auth-panel-mark {
    display: grid;
    place-items: center;
    border: 1px solid rgba(23, 215, 245, 0.75);
    color: var(--bc-auth-cyan);
    background: rgba(7, 27, 41, 0.86);
}

.bc-auth-brand b {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 0.62rem;
    letter-spacing: 0;
}

.bc-auth-return {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #91a8b5;
    font-size: 0.78rem;
    transition: color 160ms ease;
}

.bc-auth-return:hover {
    color: var(--bc-auth-cyan-soft);
}

.bc-auth-card {
    align-self: center;
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(390px, 0.84fr);
    overflow: hidden;
    border: 1px solid var(--bc-auth-line);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(7, 29, 45, 0.96), rgba(3, 15, 26, 0.98));
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38), 0 0 90px rgba(0, 169, 218, 0.045);
}

.bc-auth-story {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    padding: clamp(38px, 5vw, 72px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    isolation: isolate;
    background:
        linear-gradient(115deg, rgba(3, 14, 24, 0.12), rgba(1, 10, 18, 0.65)),
        radial-gradient(circle at 64% 58%, rgba(0, 154, 214, 0.2), transparent 35%),
        #051421;
}

.bc-auth-story::before,
.bc-auth-story::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.bc-auth-story::before {
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(67, 153, 183, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(67, 153, 183, 0.18) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 80%, transparent);
}

.bc-auth-story::after {
    width: 520px;
    height: 520px;
    right: -170px;
    bottom: -190px;
    border: 1px solid rgba(23, 215, 245, 0.16);
    border-radius: 50%;
    box-shadow: 0 0 100px rgba(16, 194, 230, 0.08) inset;
}

.bc-auth-story-copy {
    position: relative;
    z-index: 4;
    max-width: 580px;
}

.bc-auth-kicker,
.bc-auth-eyebrow {
    color: var(--bc-auth-cyan);
    font-size: 0.65rem;
    font-weight: 750;
    letter-spacing: 0.2em;
}

.bc-auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.bc-auth-kicker i {
    width: 7px;
    height: 7px;
    border: 1px solid var(--bc-auth-cyan);
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(23, 215, 245, 0.8);
}

.bc-auth-story h1 {
    margin: 25px 0 20px;
    font-size: clamp(2.7rem, 4.35vw, 5rem);
    font-weight: 300;
    line-height: 0.99;
    letter-spacing: -0.055em;
}

.bc-auth-story h1 em {
    color: var(--bc-auth-cyan);
    font-style: normal;
}

.bc-auth-story-copy > p {
    max-width: 520px;
    margin: 0;
    color: #9bb1bd;
    font-size: 1rem;
    line-height: 1.75;
}

.bc-auth-anatomy {
    position: absolute;
    z-index: 1;
    inset: 150px 0 40px 36%;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.bc-auth-anatomy::after {
    content: "";
    position: absolute;
    inset: auto 5% 0 5%;
    height: 42%;
    background: linear-gradient(transparent, #051421 82%);
}

.bc-auth-anatomy img {
    width: min(560px, 100%);
    max-height: 500px;
    object-fit: contain;
    opacity: 0.55;
    filter: saturate(1.15) contrast(1.04) drop-shadow(0 0 42px rgba(0, 174, 224, 0.18));
    transform: translate(10%, 4%) scale(1.04);
}

.bc-auth-orbit {
    position: absolute;
    border: 1px solid rgba(23, 215, 245, 0.13);
    border-radius: 50%;
}

.bc-auth-orbit-one {
    width: 390px;
    height: 390px;
}

.bc-auth-orbit-two {
    width: 510px;
    height: 510px;
    border-color: rgba(255, 69, 107, 0.08);
}

.bc-auth-trust {
    position: relative;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    color: #708b9a;
    font-size: 0.63rem;
    font-weight: 650;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.bc-auth-trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bc-auth-trust i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #32ef9c;
    box-shadow: 0 0 9px #32ef9c;
}

.bc-auth-panel {
    display: grid;
    place-items: center;
    padding: 50px clamp(34px, 4vw, 62px);
    border-left: 1px solid var(--bc-auth-line);
    background:
        radial-gradient(circle at 100% 0, rgba(17, 182, 225, 0.09), transparent 34%),
        linear-gradient(160deg, rgba(7, 24, 37, 0.98), rgba(3, 14, 24, 0.99));
}

.bc-auth-panel-inner {
    width: 100%;
    max-width: 410px;
}

.bc-auth-panel-mark {
    width: 45px;
    height: 45px;
    margin-bottom: 30px;
    border-radius: 13px;
    font-size: 0.72rem;
    font-weight: 750;
}

.bc-auth-panel h2 {
    margin: 9px 0 10px;
    color: var(--bc-auth-text);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 400;
    letter-spacing: -0.045em;
}

.bc-auth-panel-inner > p {
    margin: 0 0 30px;
    color: var(--bc-auth-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.bc-auth-form-slot .oe_structure,
.bc-auth-form-slot .o_database_list > .card-body > .text-center:first-child {
    display: none;
}

.bc-auth-form-slot .oe_login_form,
.bc-auth-form-slot .oe_signup_form,
.bc-auth-form-slot .oe_reset_password_form {
    width: 100%;
    max-width: none;
    margin: 0;
}

.bc-auth-form-slot .form-label,
.bc-auth-form-slot .col-form-label {
    margin-bottom: 8px;
    color: #a9bdc7;
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bc-auth-form-slot .mb-3 {
    margin-bottom: 20px !important;
}

.bc-auth-form-slot .form-control,
.bc-auth-form-slot .input-group > .form-control {
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(91, 154, 179, 0.25);
    border-radius: 10px;
    color: #e9f7fb;
    background: rgba(1, 10, 18, 0.68);
    box-shadow: none;
    font-size: 0.88rem;
}

.bc-auth-form-slot .form-control::placeholder {
    color: #607b89;
}

.bc-auth-form-slot .form-control:focus {
    border-color: rgba(23, 215, 245, 0.82);
    background: rgba(2, 15, 25, 0.92);
    box-shadow: 0 0 0 3px rgba(23, 215, 245, 0.08), 0 0 22px rgba(23, 215, 245, 0.06);
}

.bc-auth-form-slot .input-group .form-control {
    border-radius: 10px 0 0 10px;
}

.bc-auth-form-slot .input-group .btn {
    min-width: 48px;
    border-color: rgba(91, 154, 179, 0.25) !important;
    border-radius: 0 10px 10px 0;
    color: #7f9aa8;
    background: rgba(1, 10, 18, 0.68);
}

.bc-auth-form-slot .btn-primary {
    min-height: 52px;
    border: 1px solid var(--bc-auth-cyan);
    border-radius: 10px;
    color: #001018;
    background: linear-gradient(105deg, #10cce9, #5ee6f8);
    box-shadow: 0 12px 32px rgba(13, 190, 226, 0.16);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.bc-auth-form-slot .btn-primary:hover,
.bc-auth-form-slot .btn-primary:focus {
    border-color: #8af0ff;
    color: #001018;
    background: #69eafa;
}

.bc-auth-form-slot .btn-link {
    color: #86a9b8;
    text-decoration: none;
    font-size: 0.78rem;
}

.bc-auth-form-slot .btn-link:hover {
    color: var(--bc-auth-cyan-soft);
}

.bc-auth-form-slot .o_login_auth > em {
    color: #5f7c8b !important;
}

.bc-auth-form-slot .list-group-item {
    min-height: 50px;
    border: 1px solid rgba(91, 154, 179, 0.22);
    border-radius: 10px !important;
    color: #a8bdc8;
    background: rgba(2, 13, 22, 0.52);
}

.bc-auth-form-slot .list-group-item:hover {
    border-color: rgba(23, 215, 245, 0.52);
    color: var(--bc-auth-cyan-soft);
    background: rgba(7, 31, 45, 0.72);
}

.bc-auth-form-slot .alert {
    border-radius: 9px;
    font-size: 0.8rem;
}

.bc-auth-form-slot .alert-danger {
    border-color: rgba(255, 69, 107, 0.35);
    color: #ff9bb0;
    background: rgba(111, 17, 41, 0.22);
}

.bc-auth-form-slot .alert-success {
    border-color: rgba(50, 239, 156, 0.3);
    color: #8bf5bd;
    background: rgba(13, 100, 65, 0.2);
}

.bc-auth-security {
    margin-top: 24px;
    padding-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid rgba(91, 154, 179, 0.13);
    color: #5f7988;
    font-size: 0.68rem;
}

.bc-auth-security i {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #32ef9c;
    box-shadow: 0 0 9px rgba(50, 239, 156, 0.8);
}

.bc-auth-footer {
    padding: 0 2px;
    color: #526d7c;
    font-size: 0.63rem;
    letter-spacing: 0.05em;
}

@media (max-width: 900px) {
    .bc-auth-shell {
        width: min(620px, calc(100% - 32px));
        padding-top: 18px;
    }

    .bc-auth-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .bc-auth-story {
        min-height: 330px;
        padding: 38px;
    }

    .bc-auth-story h1 {
        font-size: clamp(2.6rem, 9vw, 4rem);
    }

    .bc-auth-story-copy > p {
        max-width: 410px;
    }

    .bc-auth-anatomy {
        inset: 55px -20px -70px 48%;
        opacity: 0.7;
    }

    .bc-auth-trust {
        margin-top: 56px;
    }

    .bc-auth-panel {
        padding: 48px 38px;
        border-top: 1px solid var(--bc-auth-line);
        border-left: 0;
    }
}

@media (max-width: 560px) {
    .bc-auth-shell {
        width: min(100% - 22px, 500px);
        gap: 16px;
        padding: 12px 0;
    }

    .bc-auth-brand {
        font-size: 0.62rem;
        letter-spacing: 0.24em;
    }

    .bc-auth-return {
        font-size: 0.69rem;
    }

    .bc-auth-card {
        border-radius: 18px;
    }

    .bc-auth-story {
        min-height: 285px;
        padding: 30px 24px;
    }

    .bc-auth-kicker,
    .bc-auth-eyebrow {
        font-size: 0.58rem;
    }

    .bc-auth-story-copy > p {
        font-size: 0.84rem;
        line-height: 1.58;
    }

    .bc-auth-anatomy {
        inset: 70px -55px -75px 43%;
        opacity: 0.55;
    }

    .bc-auth-trust span:not(:first-child) {
        display: none;
    }

    .bc-auth-panel {
        padding: 40px 24px 34px;
    }

    .bc-auth-panel-mark {
        margin-bottom: 24px;
    }

    .bc-auth-footer {
        justify-content: center;
    }

    .bc-auth-footer span:last-child {
        display: none;
    }
}

/* V3.0.2 authentication composition */
body.bc-auth-page {
    overflow-x: hidden;
    background:
        radial-gradient(ellipse 54% 46% at 50% 47%, rgba(5, 79, 106, 0.22), transparent 72%),
        radial-gradient(circle at 12% 78%, rgba(0, 120, 163, 0.09), transparent 31%),
        radial-gradient(circle at 88% 16%, rgba(20, 114, 145, 0.08), transparent 27%),
        linear-gradient(145deg, #020812 0%, #020b15 48%, #010711 100%);
    -webkit-font-smoothing: antialiased;
}

body.bc-auth-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(52, 126, 153, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52, 126, 153, 0.055) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse 62% 55% at center, #000 5%, transparent 76%);
    mask-image: radial-gradient(ellipse 62% 55% at center, #000 5%, transparent 76%);
}

.bc-auth-page #wrapwrap {
    position: relative;
    z-index: 1;
}

.bc-auth-shell {
    width: min(1380px, calc(100% - 64px));
    padding: 26px 0 20px;
    gap: 22px;
}

.bc-auth-header {
    padding: 0 4px;
}

.bc-auth-brand {
    gap: 13px;
    font-size: 0.7rem;
    letter-spacing: 0.37em;
}

.bc-auth-brand b {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    box-shadow: 0 0 24px rgba(23, 215, 245, 0.08) inset;
}

.bc-auth-return {
    padding: 9px 13px;
    border: 1px solid transparent;
    border-radius: 9px;
}

.bc-auth-return:hover {
    border-color: rgba(82, 154, 181, 0.18);
    background: rgba(7, 26, 40, 0.45);
}

.bc-auth-card {
    min-height: min(710px, calc(100vh - 164px));
    grid-template-columns: minmax(0, 1.18fr) minmax(420px, 0.82fr);
    gap: 14px;
    padding: 14px;
    border-color: rgba(76, 151, 179, 0.22);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(7, 30, 46, 0.96), rgba(2, 12, 21, 0.98)),
        #03101b;
    box-shadow:
        0 42px 120px rgba(0, 0, 0, 0.46),
        0 0 0 1px rgba(35, 120, 151, 0.035) inset,
        0 0 130px rgba(0, 161, 208, 0.055);
}

.bc-auth-story {
    min-height: 680px;
    padding: clamp(44px, 4.2vw, 64px);
    border: 1px solid rgba(72, 143, 169, 0.1);
    border-radius: 18px;
    background:
        radial-gradient(circle at 72% 68%, rgba(0, 133, 181, 0.21), transparent 34%),
        linear-gradient(118deg, rgba(5, 25, 39, 0.99), rgba(3, 16, 27, 0.96) 60%, rgba(2, 12, 21, 0.98));
}

.bc-auth-story::before {
    opacity: 0.2;
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(105deg, #000 0%, rgba(0, 0, 0, 0.4) 58%, transparent 92%);
    mask-image: linear-gradient(105deg, #000 0%, rgba(0, 0, 0, 0.4) 58%, transparent 92%);
}

.bc-auth-story::after {
    width: 620px;
    height: 620px;
    right: -235px;
    bottom: -270px;
    border-color: rgba(24, 213, 244, 0.13);
    box-shadow:
        0 0 0 82px rgba(20, 179, 218, 0.018),
        0 0 110px rgba(16, 194, 230, 0.06) inset;
}

.bc-auth-story-copy {
    max-width: 600px;
}

.bc-auth-story h1 {
    max-width: 600px;
    margin: 24px 0 18px;
    font-size: clamp(3.15rem, 4.25vw, 4.45rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
    text-wrap: balance;
}

.bc-auth-story-copy > p {
    max-width: 475px;
    color: #9db3bf;
    font-size: 0.94rem;
    line-height: 1.7;
}

.bc-auth-anatomy {
    inset: auto -5% -9% 34%;
    width: 74%;
    height: 88%;
    overflow: visible;
    place-items: end center;
    border-radius: 50%;
    background: radial-gradient(ellipse 53% 55% at 61% 59%, rgba(0, 126, 176, 0.12), transparent 72%);
}

.bc-auth-anatomy::after {
    inset: 0;
    z-index: 1;
    height: auto;
    background:
        linear-gradient(90deg, #051724 0%, rgba(5, 23, 36, 0.7) 9%, transparent 34%),
        linear-gradient(0deg, #051724 0%, rgba(5, 23, 36, 0.42) 12%, transparent 34%);
}

.bc-auth-anatomy img {
    position: relative;
    z-index: 0;
    width: min(660px, 100%);
    height: 100%;
    max-height: none;
    opacity: 0.72;
    object-fit: contain;
    object-position: 58% 100%;
    mix-blend-mode: screen;
    filter: saturate(1.22) contrast(1.08) drop-shadow(0 0 48px rgba(0, 173, 226, 0.16));
    transform: translate(8%, 7%) scale(1.08);
    -webkit-mask-image: radial-gradient(ellipse 64% 70% at 60% 56%, #000 35%, rgba(0, 0, 0, 0.92) 58%, transparent 86%);
    mask-image: radial-gradient(ellipse 64% 70% at 60% 56%, #000 35%, rgba(0, 0, 0, 0.92) 58%, transparent 86%);
}

.bc-auth-orbit {
    z-index: -1;
    transform: translate(9%, 5%);
}

.bc-auth-orbit-one {
    width: 440px;
    height: 440px;
    border-color: rgba(23, 215, 245, 0.15);
}

.bc-auth-orbit-two {
    width: 580px;
    height: 580px;
    border-color: rgba(255, 69, 107, 0.07);
}

.bc-auth-anatomy-meta {
    position: absolute;
    right: 11%;
    bottom: 11%;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 11px;
    border: 1px solid rgba(71, 145, 172, 0.15);
    border-radius: 8px;
    color: #668593;
    background: rgba(2, 14, 24, 0.68);
    backdrop-filter: blur(12px);
    font-size: 0.54rem;
    letter-spacing: 0.14em;
}

.bc-auth-anatomy-meta b {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8aa3ae;
    font-size: inherit;
}

.bc-auth-anatomy-meta i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #32ef9c;
    box-shadow: 0 0 8px #32ef9c;
}

.bc-auth-trust {
    gap: 8px;
    font-size: 0.55rem;
    letter-spacing: 0.1em;
}

.bc-auth-trust span {
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid rgba(73, 143, 169, 0.13);
    border-radius: 999px;
    background: rgba(2, 14, 23, 0.4);
    backdrop-filter: blur(8px);
}

.bc-auth-panel {
    position: relative;
    min-height: 680px;
    padding: 42px clamp(38px, 3.6vw, 54px);
    overflow: hidden;
    border: 1px solid rgba(80, 157, 184, 0.18);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(17, 182, 225, 0.11), transparent 33%),
        linear-gradient(155deg, rgba(8, 30, 44, 0.96), rgba(3, 16, 27, 0.985));
    box-shadow:
        0 22px 56px rgba(0, 0, 0, 0.24),
        0 1px 0 rgba(134, 210, 232, 0.035) inset;
}

.bc-auth-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 17%;
    right: 17%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(23, 215, 245, 0.6), transparent);
    box-shadow: 0 0 18px rgba(23, 215, 245, 0.24);
}

.bc-auth-panel-inner {
    max-width: 420px;
}

.bc-auth-panel-top {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.bc-auth-panel-mark {
    width: 42px;
    height: 42px;
    margin: 0;
    border-radius: 12px;
}

.bc-auth-connection {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #668391;
    font-size: 0.59rem;
    letter-spacing: 0.06em;
}

.bc-auth-connection i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #32ef9c;
    box-shadow: 0 0 9px rgba(50, 239, 156, 0.85);
}

.bc-auth-panel h2 {
    margin: 10px 0 9px;
    font-size: clamp(2.2rem, 3.25vw, 2.9rem);
}

.bc-auth-panel-inner > p {
    margin-bottom: 27px;
    color: #879fac;
}

.bc-auth-form-slot .form-control,
.bc-auth-form-slot .input-group > .form-control {
    min-height: 50px;
    border-color: rgba(91, 154, 179, 0.22);
    background: rgba(1, 10, 18, 0.72);
}

.bc-auth-form-slot .btn-primary {
    min-height: 50px;
    background: linear-gradient(100deg, #10cbe8, #5ce3f5);
    box-shadow: 0 13px 34px rgba(13, 190, 226, 0.15);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.bc-auth-form-slot .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 38px rgba(13, 190, 226, 0.22);
}

.bc-auth-form-slot .list-group-item {
    min-height: 48px;
}

.bc-auth-security {
    margin-top: 22px;
    padding-top: 18px;
}

.bc-auth-footer {
    padding: 0 5px;
}

.bc-auth-footer a {
    color: #587585;
    text-decoration: none;
    transition: color 160ms ease;
}

.bc-auth-footer a:hover {
    color: var(--bc-auth-cyan-soft);
}

@media (max-width: 1050px) {
    .bc-auth-shell {
        width: min(720px, calc(100% - 34px));
        padding-top: 18px;
    }

    .bc-auth-card {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
        border-radius: 22px;
    }

    .bc-auth-story {
        min-height: 370px;
        padding: 40px;
    }

    .bc-auth-story h1 {
        max-width: 500px;
        font-size: clamp(2.75rem, 8vw, 4rem);
    }

    .bc-auth-story-copy > p {
        max-width: 400px;
    }

    .bc-auth-anatomy {
        inset: 15% -8% -18% 45%;
        width: 64%;
        height: auto;
    }

    .bc-auth-anatomy-meta {
        display: none;
    }

    .bc-auth-trust {
        margin-top: 60px;
    }

    .bc-auth-panel {
        min-height: 0;
        padding: 48px 42px;
        border-top: 1px solid rgba(80, 157, 184, 0.18);
    }
}

@media (max-width: 600px) {
    .bc-auth-shell {
        width: min(100% - 20px, 520px);
        gap: 14px;
        padding: 11px 0 13px;
    }

    .bc-auth-header {
        padding: 0 2px;
    }

    .bc-auth-return {
        padding: 7px 5px;
    }

    .bc-auth-card {
        padding: 7px;
        border-radius: 18px;
    }

    .bc-auth-story {
        min-height: 315px;
        padding: 31px 24px;
        border-radius: 13px;
    }

    .bc-auth-story h1 {
        max-width: 360px;
        margin-top: 19px;
        font-size: clamp(2.45rem, 12vw, 3.3rem);
    }

    .bc-auth-story-copy > p {
        max-width: 330px;
        font-size: 0.82rem;
    }

    .bc-auth-anatomy {
        inset: 22% -14% -23% 48%;
        opacity: 0.7;
    }

    .bc-auth-trust {
        margin-top: 44px;
    }

    .bc-auth-trust span {
        min-height: 28px;
    }

    .bc-auth-trust span:not(:first-child) {
        display: none;
    }

    .bc-auth-panel {
        padding: 38px 24px 32px;
        border-radius: 13px;
    }

    .bc-auth-panel-top {
        margin-bottom: 25px;
    }

    .bc-auth-connection {
        font-size: 0.54rem;
    }
}

@media (max-height: 820px) and (min-width: 1051px) {
    .bc-auth-shell {
        padding: 13px 0 11px;
        gap: 12px;
    }

    .bc-auth-card {
        min-height: 620px;
    }

    .bc-auth-story,
    .bc-auth-panel {
        min-height: 592px;
    }

    .bc-auth-story {
        padding: 40px 48px;
    }

    .bc-auth-story h1 {
        margin: 18px 0 14px;
        font-size: 3.55rem;
    }

    .bc-auth-story-copy > p {
        font-size: 0.86rem;
    }

    .bc-auth-panel {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .bc-auth-panel-top {
        margin-bottom: 20px;
    }

    .bc-auth-panel h2 {
        font-size: 2.35rem;
    }

    .bc-auth-panel-inner > p {
        margin-bottom: 21px;
    }

    .bc-auth-form-slot .mb-3 {
        margin-bottom: 15px !important;
    }

    .bc-auth-form-slot .form-control,
    .bc-auth-form-slot .input-group > .form-control,
    .bc-auth-form-slot .btn-primary {
        min-height: 46px;
    }

    .bc-auth-form-slot .list-group-item {
        min-height: 44px;
    }

    .bc-auth-security {
        margin-top: 16px;
        padding-top: 14px;
    }
}
