/* Build 0088 — Donate-derived authentication and account-security presentation.
 * Authentication behavior remains owned by the existing V5 controllers/services.
 */
.buzzen-auth-page {
    background: transparent;
}

.buzzen-auth-holder {
    margin-inline: auto;
}

.buzzen-auth-shell {
    overflow: hidden;
}

.buzzen-auth-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr);
    gap: 22px;
    align-items: stretch;
    margin-bottom: 18px;
    padding: 26px;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 8%, rgba(255, 210, 74, .20) 0, rgba(255, 210, 74, 0) 27%),
        linear-gradient(135deg, #fff 0%, #edf7fd 100%);
}

.buzzen-auth-hero::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, #1b79bd 0%, #ffd24a 100%);
}

.buzzen-auth-hero-copy {
    min-width: 0;
    padding: 3px 4px 3px 8px;
}

.buzzen-auth-hero-copy h1 {
    max-width: 760px;
    margin: 0 0 12px;
    color: #123d5c;
    font-size: clamp(30px, 3.5vw, 42px);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -.02em;
}

.buzzen-auth-hero-copy > p {
    max-width: 760px;
    margin: 0;
    color: #405d70;
    font-size: 15px;
    line-height: 1.68;
}

.buzzen-auth-points {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 17px;
}

.buzzen-auth-points span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid rgba(27, 121, 189, .14);
    border-radius: var(--buzzen-radius-pill);
    background: rgba(255, 255, 255, .85);
    color: #31566d;
    box-shadow: 0 5px 13px rgba(17, 71, 111, .04);
    font-size: 13px;
    font-weight: 700;
}

.buzzen-auth-points i {
    color: #1b79bd;
}

.buzzen-auth-hero-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 21px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: var(--buzzen-radius-md);
    background: linear-gradient(145deg, #103858 0%, #155c91 70%, #1b79bd 100%);
    color: #fff;
    box-shadow: 0 16px 30px rgba(12, 55, 91, .20);
}

.buzzen-auth-hero-panel-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--buzzen-radius-md);
    background: rgba(255, 255, 255, .09);
    color: #ffd24a;
    font-size: 23px;
}

.buzzen-auth-hero-panel strong {
    margin-bottom: 6px;
    color: #fff;
    font-family: var(--buzzen-font-heading);
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
}

.buzzen-auth-hero-panel p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    line-height: 1.58;
}

.buzzen-auth-hero-panel a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    margin-top: 14px;
    color: #ffd24a;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.buzzen-auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, .82fr);
    gap: 18px;
    align-items: start;
}

.buzzen-auth-main,
.buzzen-auth-sidebar {
    min-width: 0;
}

.buzzen-auth-sidebar {
    display: grid;
    gap: 14px;
}

.buzzen-auth-section {
    overflow: hidden;
}

.buzzen-auth-form-body {
    padding: 20px;
}

.buzzen-auth-form-body .buzzen-v5-form {
    gap: 15px;
}

.buzzen-auth-form-body .buzzen-v5-primary-action {
    width: 100%;
}

.buzzen-auth-error {
    margin: 18px 20px 0;
    padding: 12px 14px;
    border: 1px solid rgba(194, 56, 56, .22);
    border-radius: var(--buzzen-radius-sm);
    background: linear-gradient(135deg, #fff7f7 0%, #fde9e9 100%);
    color: #8d2424;
    box-shadow: 0 8px 18px rgba(194, 56, 56, .07);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 650;
}

.buzzen-auth-error .alert-link {
    color: #782020;
    font-weight: 800;
}

.buzzen-auth-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    justify-content: space-between;
    margin: 0 20px;
    padding: 15px 0;
    border-top: 1px solid rgba(34, 103, 154, .10);
    color: #5b7586;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 650;
}

.buzzen-auth-links a,
.buzzen-auth-policy a,
.buzzen-auth-side-card a {
    color: #0f6499;
    font-weight: 800;
    text-decoration: none;
}

.buzzen-auth-links a:hover,
.buzzen-auth-links a:focus,
.buzzen-auth-policy a:hover,
.buzzen-auth-policy a:focus,
.buzzen-auth-side-card a:hover,
.buzzen-auth-side-card a:focus {
    color: #1b79bd;
}

.buzzen-auth-policy {
    padding: 13px 20px 16px;
    border-top: 1px solid rgba(34, 103, 154, .08);
    background: #f8fcff;
    color: #607786;
    font-size: 12px;
    line-height: 1.55;
    font-weight: 600;
}

.buzzen-auth-side-card {
    position: relative;
    overflow: hidden;
    padding: 18px;
}

.buzzen-auth-side-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #1b79bd, #ffd24a);
}

.buzzen-auth-side-card-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 11px;
    border-radius: var(--buzzen-radius-sm);
    background: #eaf5fc;
    color: #1b79bd;
    font-size: 19px;
}

.buzzen-auth-side-card h2,
.buzzen-auth-side-card h3 {
    margin: 0 0 7px;
    color: #123d5c;
    font-family: var(--buzzen-font-heading);
    font-size: 20px;
    line-height: 1.15;
    font-weight: 700;
}

.buzzen-auth-side-card p,
.buzzen-auth-side-card li {
    color: #587184;
    font-size: 14px;
    line-height: 1.58;
}

.buzzen-auth-side-card p:last-child {
    margin-bottom: 0;
}

.buzzen-auth-side-card ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.buzzen-auth-side-card li {
    position: relative;
    padding-left: 20px;
}

.buzzen-auth-side-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #1b79bd;
    font-weight: 900;
}

.buzzen-auth-side-card-dark {
    border-color: rgba(16, 56, 88, .55);
    background: linear-gradient(145deg, #103858 0%, #155c91 100%);
    box-shadow: 0 14px 28px rgba(12, 55, 91, .18);
}

.buzzen-auth-side-card-dark::before {
    background: #ffd24a;
}

.buzzen-auth-side-card-dark .buzzen-auth-side-card-icon {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .09);
    color: #ffd24a;
}

.buzzen-auth-side-card-dark h2,
.buzzen-auth-side-card-dark h3,
.buzzen-auth-side-card-dark p,
.buzzen-auth-side-card-dark li {
    color: #fff;
}

.buzzen-auth-side-card-dark p,
.buzzen-auth-side-card-dark li {
    color: rgba(255, 255, 255, .82);
}

.buzzen-auth-side-card-dark a {
    color: #ffd24a;
}

.buzzen-auth-status {
    margin: 20px;
    padding: 22px;
    border: 1px solid rgba(34, 103, 154, .16);
    border-radius: var(--buzzen-radius-md);
    background: linear-gradient(135deg, #f7fcff 0%, #edf8ff 100%);
    color: #3d5e72;
    text-align: center;
}

.buzzen-auth-status-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #155c91, #1b79bd);
    color: #fff;
    box-shadow: 0 8px 18px rgba(27, 121, 189, .20);
    font-size: 24px;
}

.buzzen-auth-status h2,
.buzzen-auth-status h3 {
    margin: 0 0 8px;
    color: #123d5c;
    font-family: var(--buzzen-font-heading);
    font-size: 25px;
    font-weight: 700;
}

.buzzen-auth-status p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.62;
}

.buzzen-auth-status .buzzen-v5-primary-action {
    margin-top: 5px;
}

.buzzen-auth-beta-note {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin: 16px 20px 0;
    padding: 12px 14px;
    border: 1px solid rgba(245, 173, 36, .28);
    border-radius: var(--buzzen-radius-sm);
    background: #fffaf0;
    color: #66562d;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 650;
}

.buzzen-auth-beta-note i {
    margin-top: 2px;
    color: #e5a31e;
}

.buzzen-auth-register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.buzzen-auth-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.buzzen-auth-password-toggle {
    min-width: 48px;
    border-left: 0 !important;
    background: #fff !important;
    color: #6d7f8d !important;
}

.buzzen-auth-password-toggle:hover,
.buzzen-auth-password-toggle:focus {
    background: #f4f9fd !important;
    color: #1b79bd !important;
}

.buzzen-auth-logout {
    max-width: 760px;
    margin-inline: auto;
}

.buzzen-auth-logout-card {
    padding: 22px;
    text-align: center;
}

.buzzen-auth-logout-card .buzzen-auth-status-icon {
    margin-bottom: 14px;
}

.buzzen-auth-logout-card h1 {
    margin: 0 0 8px;
    color: #123d5c;
    font-size: 30px;
    font-weight: 800;
}

.buzzen-auth-logout-card p {
    margin: 0 auto 18px;
    max-width: 540px;
    color: #587184;
    font-size: 14px;
    line-height: 1.6;
}

.buzzen-auth-logout-actions {
    display: grid;
    gap: 10px;
    max-width: 430px;
    margin: 0 auto;
}

.buzzen-auth-password-rules {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.buzzen-auth-password-rules li {
    position: relative;
    padding-left: 21px;
    color: #587184;
    font-size: 14px;
    line-height: 1.5;
}

.buzzen-auth-password-rules li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1b79bd;
    font-weight: 900;
}

@media (max-width: 991.98px) {
    .buzzen-auth-hero,
    .buzzen-auth-grid {
        grid-template-columns: 1fr;
    }

    .buzzen-auth-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .buzzen-auth-hero {
        gap: 16px;
        padding: 20px;
    }

    .buzzen-auth-hero-copy h1 {
        font-size: 30px;
    }

    .buzzen-auth-hero-panel {
        padding: 18px;
    }

    .buzzen-auth-form-body,
    .buzzen-auth-status,
    .buzzen-auth-logout-card {
        padding: 17px;
    }

    .buzzen-auth-error {
        margin-right: 17px;
        margin-left: 17px;
    }

    .buzzen-auth-links {
        display: grid;
        justify-content: stretch;
        margin-right: 17px;
        margin-left: 17px;
        text-align: left;
    }

    .buzzen-auth-policy {
        padding-right: 17px;
        padding-left: 17px;
    }

    .buzzen-auth-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .buzzen-auth-register-grid {
        grid-template-columns: 1fr;
    }

    .buzzen-auth-hero-copy h1 {
        font-size: 27px;
    }

    .buzzen-auth-points {
        display: grid;
    }

    .buzzen-auth-points span {
        width: 100%;
    }

    .buzzen-auth-form-body .buzzen-v5-form-actions,
    .buzzen-auth-form-body .buzzen-v5-form-actions .btn,
    .buzzen-auth-status .buzzen-v5-primary-action {
        width: 100%;
    }
}
