/* Build 0183 — Authentication family modernization.
 * Shared Donate-derived presentation for login, registration, activation, reset and logout.
 */
.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%;
    }
}

/* Build 0183 consistency/accessibility additions. */
.buzzen-auth-hero-panel-icon,
.buzzen-auth-side-card-icon,
.buzzen-auth-status-icon,
.buzzen-auth-section .buzzen-v5-section-icon,
.buzzen-auth-page .buzzen-v5-input-group > .input-group-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.buzzen-auth-hero-panel-icon > i,
.buzzen-auth-side-card-icon > i,
.buzzen-auth-status-icon > i,
.buzzen-auth-section .buzzen-v5-section-icon > i,
.buzzen-auth-page .buzzen-v5-input-group > .input-group-text > i {
    margin: 0;
    line-height: 1;
}

.buzzen-auth-page .buzzen-v5-form-label,
.buzzen-auth-page .form-check-label {
    font-size: 14px;
}

.buzzen-auth-page .buzzen-v5-form-help,
.buzzen-auth-page .form-text,
.buzzen-auth-page .buzzen-auth-policy {
    font-size: 13px;
    line-height: 1.55;
}

.buzzen-auth-field-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
    color: #5b7586;
    font-size: 13px;
    line-height: 1.45;
}

.buzzen-auth-counter {
    flex: 0 0 auto;
    padding: 3px 8px;
    border: 1px solid rgba(27, 121, 189, .16);
    border-radius: 999px;
    background: #f5fbff;
    color: #42677e;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.buzzen-auth-profile-preview {
    margin-top: 7px;
    padding: 8px 10px;
    border: 1px dashed rgba(27, 121, 189, .25);
    border-radius: var(--buzzen-radius-sm);
    background: #f8fcff;
    color: #4b687a;
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.buzzen-auth-profile-preview strong {
    color: #123d5c;
}

.buzzen-auth-password-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 10px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.buzzen-auth-password-checks li {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #667e8d;
    font-size: 13px;
    line-height: 1.4;
}

.buzzen-auth-password-checks li::before {
    content: "\f111";
    width: 14px;
    color: #9db3c1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 14px;
    font-family: "Font Awesome 7 Free", "Font Awesome 6 Free";
    font-size: 8px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.buzzen-auth-password-checks li.is-valid {
    color: #276b47;
    font-weight: 700;
}

.buzzen-auth-password-checks li.is-valid::before {
    content: "\f058";
    color: #2f9a63;
    font-size: 13px;
}

.buzzen-auth-password-checks li.is-invalid {
    color: #9a3232;
}

.buzzen-auth-password-checks li.is-invalid::before {
    content: "\f057";
    color: #bd4343;
    font-size: 13px;
}


.buzzen-auth-password-checks li.buzzen-auth-password-policy-note::before {
    display: none;
}

.buzzen-auth-password-checks li.buzzen-auth-password-policy-note > i {
    width: 14px;
    flex: 0 0 14px;
    color: #1b79bd;
    text-align: center;
}

.buzzen-auth-password-toggle-modern {
    min-width: 44px;
    border-color: #cbdde9;
    background: #f4f9fc;
    color: #155d8d;
}

.buzzen-auth-password-toggle-modern:hover,
.buzzen-auth-password-toggle-modern:focus-visible {
    background: #e7f4fb;
    color: #0c4f7b;
}

.buzzen-auth-password-toggle-modern > i {
    margin: 0;
    line-height: 1;
}

.buzzen-auth-inline-status {
    min-height: 20px;
    margin-top: 5px;
    color: #607786;
    font-size: 13px;
    line-height: 1.4;
}

.buzzen-auth-inline-status.is-valid {
    color: #276b47;
    font-weight: 700;
}

.buzzen-auth-inline-status.is-invalid {
    color: #9a3232;
    font-weight: 700;
}

.buzzen-auth-inline-status.is-checking,
.buzzen-auth-inline-status.is-neutral,
.buzzen-auth-inline-status.is-valid,
.buzzen-auth-inline-status.is-invalid {
    display: flex;
    align-items: center;
    gap: 6px;
}

.buzzen-auth-inline-status.is-checking::before,
.buzzen-auth-inline-status.is-neutral::before,
.buzzen-auth-inline-status.is-valid::before,
.buzzen-auth-inline-status.is-invalid::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    font-family: "Font Awesome 7 Free", "Font Awesome 6 Free";
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.buzzen-auth-inline-status.is-checking {
    color: #486f88;
    font-weight: 700;
}

.buzzen-auth-inline-status.is-checking::before {
    content: "\f110";
    color: #1b79bd;
    animation: buzzen-auth-spin .8s linear infinite;
}

.buzzen-auth-inline-status.is-neutral::before {
    content: "\f05a";
    color: #6f8797;
}

.buzzen-auth-inline-status.is-valid::before {
    content: "\f058";
    color: #2f9a63;
}

.buzzen-auth-inline-status.is-invalid::before {
    content: "\f057";
    color: #bd4343;
}

@keyframes buzzen-auth-spin {
    to { transform: rotate(360deg); }
}

.buzzen-auth-submit[disabled] {
    cursor: wait;
    opacity: .72;
}

.buzzen-auth-account-paths {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.buzzen-auth-account-paths a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid rgba(27, 121, 189, .13);
    border-radius: var(--buzzen-radius-sm);
    background: #f8fcff;
    color: #175f8c;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.buzzen-auth-account-paths a:hover,
.buzzen-auth-account-paths a:focus-visible {
    border-color: rgba(27, 121, 189, .28);
    background: #eef8fe;
}

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

    .buzzen-auth-field-meta {
        align-items: flex-start;
    }
}

