/* v1.0.33 focused admin copy cleanup and authentication layout. */
.admin-sidebar .admin-nav-group-toggle.active {
    background: var(--brand-soft);
    color: var(--brand);
}

body[data-admin-section="dashboard"] .dashboard-trend .section-head p,
body[data-admin-section="payment_channels"] .channel-head p,
body[data-admin-section="payment_channels"] .payment-section-title small,
body[data-admin-section="payment_channels"] [data-payment-count],
body[data-admin-section="payment_channels"] .admin-section .section-head p,
body[data-admin-section="payment_records"] .payment-records .section-head p,
body[data-admin-section="affiliate_settings"] .affiliate-settings .section-head p,
body[data-admin-section="multi_course_discounts"] .multi-discount-manager .section-head p,
body[data-admin-section="settings"] .admin-editor>.section-head p,
body[data-admin-section="email_settings"] .email-settings-grid .section-head p,
body[data-admin-section="email_settings"] .email-settings-grid .status-pill,
body[data-admin-section="member_settings"] .member-settings .section-head p,
body[data-admin-section="banners"] .content-manager .section-head p,
body[data-admin-section="activities"] .activity-admin .section-head p,
body[data-admin-section="logs"] [data-record-list="logs"] .section-head p {
    display: none;
}

.user-manager .section-head>div,
.affiliate-user-manager .section-head>div,
.affiliate-withdraw-manager .section-head>div,
.affiliate-risk-manager .section-head>div {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.section-count {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.pending-count {
    margin: 0;
    padding: 3px 8px;
    border-radius: 4px;
    background: #fff4df;
    color: #a45e10;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.activity-state.active {
    background: var(--brand-soft);
    color: var(--brand);
}

.import-tools>.import-desktop-review {
    flex: 0 0 auto;
}

body.auth-mode .page-canvas {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 100vh;
    padding: 32px 16px;
}

body[data-frame="a"] .embedded-auth-shell {
    width: min(510px, 100%);
    min-height: 0;
    grid-template-columns: 1fr;
}

body[data-frame="a"] .embedded-auth-content {
    padding: 46px 50px;
}

body[data-frame="a"] .embedded-auth-form-wrap {
    max-width: 410px;
}

body[data-frame="a"] .embedded-auth-form-wrap>h2 {
    margin-bottom: 24px;
}

body[data-frame="a"] .embedded-password-rules span.ok {
    color: var(--brand);
}

@media (max-width: 760px) {
    .affiliate-withdraw-manager .section-head,
    .affiliate-risk-manager .section-head {
        align-items: flex-start;
    }

    .affiliate-withdraw-manager .section-head>div,
    .affiliate-risk-manager .section-head>div {
        flex-wrap: wrap;
    }

    .affiliate-risk-manager .section-head .button {
        flex: 0 0 auto;
    }

    .import-tools>.import-desktop-review {
        display: none;
    }

    body.auth-mode .page-canvas {
        display: block;
        min-height: 100vh;
        padding: 0 0 24px;
    }

    body[data-frame="a"] .embedded-auth-shell {
        min-height: 100vh;
    }

    body[data-frame="a"] .embedded-auth-content {
        padding: 30px 22px;
    }

    body[data-frame="a"] .embedded-auth-form-wrap>h2 {
        margin-bottom: 22px;
    }
}
