/* =========================================================
   BETTYZOO ONLINE PRO
   Professionelt account-layout uden plugin/shortcodes
========================================================= */

:root {
    --bzo-black: #000000;
    --bzo-white: #ffffff;
    --bzo-bg: #f4f4f5;
    --bzo-soft: #fafafa;
    --bzo-border: #e4e4e7;
    --bzo-border-strong: #d4d4d8;
    --bzo-muted: #71717a;
    --bzo-muted-dark: #52525b;
    --bzo-success: #117a37;
    --bzo-success-bg: #ecfdf3;
    --bzo-error: #a11414;
    --bzo-error-bg: #fff1f1;
    --bzo-warning-bg: #fff7e6;
    --bzo-radius: 18px;
    --bzo-sidebar: 76px;
    --bzo-sidebar-open: 286px;
    --bzo-topbar: 74px;
}

body.bzo-online-active {
    background: var(--bzo-bg) !important;
}

.bzo-auth-page,
.bzo-account-page,
.bzo-auth-page *,
.bzo-account-page * {
    box-sizing: border-box;
}

.bzo-auth-page,
.bzo-account-page {
    font-family: "Montserrat", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bzo-bg);
    color: var(--bzo-black);
    min-height: 100vh;
}

.bzo-auth-page a,
.bzo-account-page a {
    color: inherit;
}

.bzo-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    border: 1px solid var(--bzo-border);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--bzo-muted-dark);
    background: var(--bzo-white);
}

/* AUTH */
.bzo-auth-layout {
    width: min(1220px, calc(100% - 32px));
    min-height: calc(100vh - 80px);
    margin: 0 auto;
    padding: 40px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 470px;
    gap: 24px;
    align-items: stretch;
}

.bzo-auth-layout-register {
    grid-template-columns: minmax(0, 1fr) 560px;
}

.bzo-auth-visual,
.bzo-auth-panel,
.bzo-card,
.bzo-hero-card,
.bzo-event-card,
.bzo-reward-card {
    background: var(--bzo-white);
    border: 1px solid var(--bzo-border);
    border-radius: var(--bzo-radius);
}

.bzo-auth-visual {
    min-height: 700px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #0a0a0a;
    color: var(--bzo-white);
    overflow: hidden;
}

.bzo-brandmark img,
.bzo-mobile-logo img,
.bzo-mobile-brand img,
.bzo-sidebar-logo img {
    display: block;
    width: auto;
}

.bzo-brandmark img {
    height: 52px;
    filter: invert(1);
}

.bzo-auth-copy {
    max-width: 680px;
}

.bzo-auth-copy .bzo-kicker {
    background: #111;
    border-color: #27272a;
    color: #fff;
}

.bzo-auth-copy h1 {
    margin: 22px 0 16px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: .95;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #fff;
}

.bzo-auth-copy p {
    margin: 0;
    max-width: 560px;
    color: #d4d4d8;
    font-size: 18px;
    line-height: 1.6;
}

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

.bzo-auth-points div {
    border: 1px solid #27272a;
    border-radius: 16px;
    padding: 18px;
    background: #111;
}

.bzo-auth-points strong {
    display: block;
    font-size: 30px;
    line-height: 1;
    margin-bottom: 8px;
    color: #fff;
}

.bzo-auth-points span {
    display: block;
    color: #d4d4d8;
    font-size: 13px;
    line-height: 1.35;
}

.bzo-auth-panel {
    align-self: center;
    padding: 34px;
}

.bzo-mobile-logo {
    display: none;
    margin-bottom: 24px;
}

.bzo-mobile-logo img {
    height: 42px;
}

.bzo-panel-head {
    margin-bottom: 24px;
}

.bzo-panel-head h2 {
    margin: 14px 0 8px;
    font-size: 34px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.bzo-panel-head p,
.bzo-page-head p,
.bzo-card p,
.bzo-event-body p,
.bzo-reward-body p {
    margin: 0;
    color: var(--bzo-muted);
    font-size: 14px;
    line-height: 1.6;
}

.bzo-form {
    display: grid;
    gap: 16px;
}

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

.bzo-field {
    display: grid;
    gap: 8px;
    margin: 0;
}

.bzo-field > span,
.bzo-checkbox span {
    font-size: 13px;
    font-weight: 800;
}

.bzo-field input,
.bzo-field select,
.bzo-field textarea,
.bzo-password-wrap {
    width: 100%;
    min-height: 50px;
    border: 2px solid var(--bzo-border);
    border-radius: 13px;
    background: var(--bzo-white);
    color: var(--bzo-black);
    font: inherit;
}

.bzo-field input,
.bzo-field select,
.bzo-field textarea {
    padding: 0 15px;
}

.bzo-field textarea {
    min-height: 120px;
    padding-top: 12px;
}

.bzo-field input:focus,
.bzo-field select:focus,
.bzo-field textarea:focus,
.bzo-password-wrap:focus-within {
    outline: none;
    border-color: var(--bzo-black);
}

.bzo-field input:disabled {
    background: var(--bzo-soft);
    color: var(--bzo-muted);
}

.bzo-password-wrap {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.bzo-password-wrap input {
    border: 0;
    min-height: 48px;
    flex: 1;
}

.bzo-password-wrap button {
    border: 0;
    border-left: 1px solid var(--bzo-border);
    background: var(--bzo-soft);
    min-height: 48px;
    padding: 0 14px;
    font-weight: 800;
    cursor: pointer;
}

.bzo-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--bzo-border);
    border-radius: 13px;
    background: var(--bzo-soft);
}

.bzo-checkbox input {
    margin-top: 3px;
}

.bzo-checkbox a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bzo-primary-btn,
.bzo-secondary-btn,
.bzo-toplink {
    min-height: 48px;
    border-radius: 13px;
    border: 2px solid var(--bzo-black);
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bzo-black);
    color: var(--bzo-white) !important;
    text-decoration: none;
    font-weight: 900;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

.bzo-primary-btn:hover {
    background: #27272a;
    border-color: #27272a;
}

.bzo-primary-btn:disabled,
.bzo-secondary-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.bzo-secondary-btn,
.bzo-toplink {
    background: var(--bzo-white);
    color: var(--bzo-black) !important;
    border-color: var(--bzo-border-strong);
}

.bzo-auth-footer {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--bzo-border);
    display: flex;
    justify-content: space-between;
    gap: 14px;
    font-size: 14px;
}

.bzo-auth-footer span {
    color: var(--bzo-muted);
}

.bzo-auth-footer a {
    font-weight: 900;
    text-decoration: none;
}

.bzo-notice {
    border-radius: 13px;
    padding: 12px 14px;
    margin-bottom: 18px;
    border: 1px solid var(--bzo-border);
}

.bzo-notice p {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.bzo-notice p + p {
    margin-top: 6px;
}

.bzo-notice-error {
    background: var(--bzo-error-bg);
    border-color: #ffd0d0;
    color: var(--bzo-error);
}

.bzo-notice-success {
    background: var(--bzo-success-bg);
    border-color: #bbf7d0;
    color: var(--bzo-success);
}

/* ACCOUNT */
body.bzo-menu-open {
    overflow: hidden;
}

.bzo-mobile-bar {
    display: none;
}

.bzo-account-page {
    display: flex;
    min-height: 100vh;
}

.bzo-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--bzo-sidebar);
    background: var(--bzo-black);
    color: var(--bzo-white);
    z-index: 1000;
    transition: width .24s ease, background .24s ease, color .24s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bzo-sidebar:hover,
.bzo-sidebar.is-open {
    width: var(--bzo-sidebar-open);
    background: var(--bzo-white);
    color: var(--bzo-black);
    border-right: 1px solid var(--bzo-border);
}

.bzo-sidebar-logo {
    height: var(--bzo-topbar);
    min-height: var(--bzo-topbar);
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 16px;
    border-bottom: 1px solid #27272a;
}

.bzo-sidebar:hover .bzo-sidebar-logo,
.bzo-sidebar.is-open .bzo-sidebar-logo {
    border-bottom-color: var(--bzo-border);
}

.bzo-logo-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 14px;
    background: var(--bzo-white);
    color: var(--bzo-black) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 900;
}

.bzo-sidebar:hover .bzo-logo-icon,
.bzo-sidebar.is-open .bzo-logo-icon {
    background: var(--bzo-black);
    color: var(--bzo-white) !important;
}

.bzo-sidebar-logo img {
    height: 30px;
    opacity: 0;
    transition: opacity .18s ease;
}

.bzo-sidebar:hover .bzo-sidebar-logo img,
.bzo-sidebar.is-open .bzo-sidebar-logo img {
    opacity: 1;
}

.bzo-sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.bzo-nav-item {
    height: 50px;
    width: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    color: #a1a1aa !important;
    text-decoration: none;
    font-weight: 800;
    margin: 0 auto 8px;
    white-space: nowrap;
}

.bzo-sidebar:hover .bzo-nav-item,
.bzo-sidebar.is-open .bzo-nav-item {
    width: 100%;
    justify-content: flex-start;
    color: var(--bzo-muted-dark) !important;
    padding: 0 15px;
}

.bzo-nav-item:hover {
    background: #18181b;
    color: #fff !important;
}

.bzo-sidebar:hover .bzo-nav-item:hover,
.bzo-sidebar.is-open .bzo-nav-item:hover {
    background: var(--bzo-soft);
    color: var(--bzo-black) !important;
}

.bzo-nav-item.active {
    background: var(--bzo-white);
    color: var(--bzo-black) !important;
}

.bzo-sidebar:hover .bzo-nav-item.active,
.bzo-sidebar.is-open .bzo-nav-item.active {
    background: var(--bzo-black);
    color: var(--bzo-white) !important;
}

.bzo-nav-icon {
    width: 22px;
    min-width: 22px;
    text-align: center;
    font-size: 20px;
    line-height: 1;
}

.bzo-nav-item span:last-child {
    display: none;
}

.bzo-sidebar:hover .bzo-nav-item span:last-child,
.bzo-sidebar.is-open .bzo-nav-item span:last-child {
    display: inline;
}

.bzo-nav-divider {
    height: 1px;
    background: #27272a;
    margin: 14px 0;
}

.bzo-sidebar:hover .bzo-nav-divider,
.bzo-sidebar.is-open .bzo-nav-divider {
    background: var(--bzo-border);
}

.bzo-sidebar-user {
    min-height: 82px;
    padding: 14px;
    border-top: 1px solid #27272a;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bzo-sidebar:hover .bzo-sidebar-user,
.bzo-sidebar.is-open .bzo-sidebar-user {
    border-top-color: var(--bzo-border);
}

.bzo-avatar,
.bzo-avatar-small {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    text-decoration: none;
}

.bzo-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: #27272a;
    color: var(--bzo-white);
}

.bzo-avatar-small {
    width: 42px;
    height: 42px;
    background: var(--bzo-black);
    color: var(--bzo-white) !important;
}

.bzo-sidebar:hover .bzo-avatar,
.bzo-sidebar.is-open .bzo-avatar {
    background: var(--bzo-black);
    color: var(--bzo-white);
}

.bzo-sidebar-user div:last-child {
    display: none;
    min-width: 0;
}

.bzo-sidebar:hover .bzo-sidebar-user div:last-child,
.bzo-sidebar.is-open .bzo-sidebar-user div:last-child {
    display: block;
}

.bzo-sidebar-user strong,
.bzo-sidebar-user span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bzo-sidebar-user strong {
    font-size: 13px;
}

.bzo-sidebar-user span {
    font-size: 12px;
    color: var(--bzo-muted);
}

.bzo-account-main {
    width: calc(100% - var(--bzo-sidebar));
    margin-left: var(--bzo-sidebar);
    min-height: 100vh;
}

.bzo-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: var(--bzo-topbar);
    background: var(--bzo-white);
    border-bottom: 1px solid var(--bzo-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 32px;
}

.bzo-topbar h1 {
    margin: 8px 0 0;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.bzo-topbar .bzo-kicker {
    min-height: 22px;
    padding: 4px 9px;
    font-size: 10px;
}

.bzo-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bzo-toplink {
    min-height: 42px;
    font-size: 13px;
}

.bzo-content {
    padding: 28px 32px 48px;
}

.bzo-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
    padding: 30px;
    margin-bottom: 24px;
    background: var(--bzo-black);
    color: var(--bzo-white);
}

.bzo-hero-card .bzo-kicker {
    background: #111;
    color: #fff;
    border-color: #27272a;
}

.bzo-hero-main h2 {
    margin: 18px 0 8px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: .9;
    font-weight: 900;
    letter-spacing: -0.06em;
    color: #fff;
}

.bzo-hero-main p {
    margin: 0;
    color: #d4d4d8;
}

.bzo-progress {
    width: 100%;
    height: 10px;
    background: #27272a;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 26px;
}

.bzo-progress span {
    display: block;
    height: 100%;
    background: var(--bzo-white);
    border-radius: inherit;
}

.bzo-hero-stat {
    border: 1px solid #27272a;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.bzo-hero-stat strong {
    display: block;
    font-size: 44px;
    line-height: 1;
}

.bzo-hero-stat span {
    display: block;
    margin-top: 8px;
    color: #d4d4d8;
}

.bzo-grid {
    display: grid;
    gap: 18px;
}

.bzo-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bzo-card,
.bzo-event-card,
.bzo-reward-card {
    padding: 22px;
    overflow: hidden;
}

.bzo-card-link {
    text-decoration: none;
    transition: transform .15s ease, border-color .15s ease;
}

.bzo-card-link:hover {
    transform: translateY(-2px);
    border-color: var(--bzo-black);
}

.bzo-card-icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--bzo-border);
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bzo-soft);
    font-size: 22px;
    margin-bottom: 18px;
}

.bzo-card h3,
.bzo-event-body h3,
.bzo-reward-body h3,
.bzo-page-head h2 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.bzo-section-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.bzo-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.bzo-card-head h3 {
    margin: 0;
}

.bzo-card-head a {
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.bzo-list {
    display: grid;
}

.bzo-list-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--bzo-border);
}

.bzo-list-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.bzo-list-row strong,
.bzo-list-row span {
    display: block;
}

.bzo-list-row span {
    color: var(--bzo-muted);
    font-size: 13px;
    margin-top: 3px;
}

.is-positive { color: var(--bzo-success); }
.is-negative { color: var(--bzo-error); }

.bzo-page-head {
    margin-bottom: 20px;
}

.bzo-page-head h2 {
    font-size: 34px;
}

.bzo-empty {
    border: 1px dashed var(--bzo-border-strong);
    border-radius: 14px;
    padding: 28px;
    color: var(--bzo-muted);
    text-align: center;
    background: var(--bzo-soft);
}

.bzo-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.bzo-table {
    width: 100%;
    border-collapse: collapse;
}

.bzo-table th,
.bzo-table td {
    text-align: left;
    padding: 15px 12px;
    border-bottom: 1px solid var(--bzo-border);
    font-size: 14px;
}

.bzo-table th {
    color: var(--bzo-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.bzo-reward-grid,
.bzo-event-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.bzo-reward-card,
.bzo-event-card {
    padding: 0;
}

.bzo-reward-image,
.bzo-event-image {
    height: 210px;
    background: var(--bzo-soft);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--bzo-border);
}

.bzo-reward-image img,
.bzo-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bzo-reward-image span,
.bzo-event-image span {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--bzo-black);
    color: var(--bzo-white);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 900;
}

.bzo-reward-body,
.bzo-event-body {
    padding: 20px;
}

.bzo-reward-meta,
.bzo-event-meta {
    display: grid;
    gap: 6px;
    margin: 16px 0;
    color: var(--bzo-muted);
    font-size: 13px;
}

.bzo-reward-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--bzo-border);
    padding-top: 14px;
}

.bzo-reward-meta strong {
    color: var(--bzo-black);
}

.bzo-profile-card {
    max-width: 850px;
}

.bzo-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--bzo-border);
    background: var(--bzo-white);
    font-size: 22px;
    font-weight: 900;
}

.bzo-account-overlay {
    display: none;
}

@media (max-width: 1060px) {
    .bzo-auth-layout,
    .bzo-auth-layout-register {
        grid-template-columns: 1fr;
    }

    .bzo-auth-visual {
        min-height: 480px;
    }

    .bzo-auth-panel {
        align-self: stretch;
    }

    .bzo-grid-3,
    .bzo-section-split,
    .bzo-reward-grid,
    .bzo-event-grid {
        grid-template-columns: 1fr;
    }

    .bzo-hero-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .bzo-auth-layout,
    .bzo-auth-layout-register {
        width: min(100% - 24px, 620px);
        padding: 18px 0;
    }

    .bzo-auth-visual {
        display: none;
    }

    .bzo-mobile-logo {
        display: block;
    }

    .bzo-auth-panel {
        padding: 24px;
    }

    .bzo-form-grid {
        grid-template-columns: 1fr;
    }

    .bzo-panel-head h2 {
        font-size: 30px;
    }

    .bzo-mobile-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: var(--bzo-white);
        border-bottom: 1px solid var(--bzo-border);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 14px;
        z-index: 1100;
    }

    .bzo-mobile-brand img {
        height: 28px;
    }

    .bzo-sidebar {
        width: var(--bzo-sidebar-open);
        transform: translateX(-100%);
        background: var(--bzo-white);
        color: var(--bzo-black);
        border-right: 1px solid var(--bzo-border);
    }

    .bzo-sidebar.is-open {
        transform: translateX(0);
    }

    .bzo-sidebar-logo,
    .bzo-sidebar-user {
        border-color: var(--bzo-border);
    }

    .bzo-sidebar-logo img,
    .bzo-sidebar-user div:last-child,
    .bzo-nav-item span:last-child {
        display: block;
        opacity: 1;
    }

    .bzo-logo-icon,
    .bzo-sidebar:hover .bzo-logo-icon,
    .bzo-sidebar.is-open .bzo-logo-icon {
        background: var(--bzo-black);
        color: var(--bzo-white) !important;
    }

    .bzo-nav-item,
    .bzo-sidebar:hover .bzo-nav-item,
    .bzo-sidebar.is-open .bzo-nav-item {
        width: 100%;
        justify-content: flex-start;
        color: var(--bzo-muted-dark) !important;
        padding: 0 15px;
    }

    .bzo-nav-item.active {
        background: var(--bzo-black);
        color: var(--bzo-white) !important;
    }

    .bzo-nav-divider {
        background: var(--bzo-border);
    }

    .bzo-account-overlay.is-open {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 900;
        background: rgba(0,0,0,.45);
    }

    .bzo-account-main {
        width: 100%;
        margin-left: 0;
        padding-top: 64px;
    }

    .bzo-topbar {
        position: static;
        padding: 20px 16px;
        min-height: unset;
    }

    .bzo-topbar-actions {
        display: none;
    }

    .bzo-content {
        padding: 18px 12px 34px;
    }

    .bzo-hero-card,
    .bzo-card,
    .bzo-reward-body,
    .bzo-event-body {
        padding: 18px;
    }

    .bzo-reward-card,
    .bzo-event-card {
        padding: 0;
    }

    .bzo-hero-main h2 {
        font-size: 46px;
    }

    .bzo-hero-stat strong {
        font-size: 34px;
    }

    .bzo-page-head h2 {
        font-size: 28px;
    }

    .bzo-reward-image,
    .bzo-event-image {
        height: 190px;
    }
}
