:root {
    --bizup-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --bizup-font-heading: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --bizup-soft: #f7f9fc;
    --bizup-ink: #101828;
    --bizup-muted: #64748b;
    --bizup-green: #12a66a;
    --bizup-border: #e2e8f0;
    --bizup-primary: #0d6efd;
    --bizup-primary-soft: #eaf3ff;
    --bizup-focus: rgba(13, 110, 253, .16);
    --bizup-shadow: 0 10px 28px rgba(15, 23, 42, .055);
    --bizup-shadow-hover: 0 16px 40px rgba(15, 23, 42, .10);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bizup-soft);
    color: var(--bizup-ink);
    font-family: var(--bizup-font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-5,
.display-6,
.navbar-brand,
.bizup-panel-brand,
.section-kicker,
.btn,
.form-label,
.app-nav-label,
.app-nav-link,
.table thead th,
.dashboard-card strong,
.price-line {
    font-family: var(--bizup-font-heading);
    letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.18;
}

.text-muted {
    color: var(--bizup-muted) !important;
}

p,
li,
td,
th,
label,
.btn,
.badge {
    overflow-wrap: anywhere;
}

.lead {
    color: #526173;
    font-weight: 500;
}

.bg-dark,
.bg-primary,
.text-bg-dark,
.text-bg-primary,
.cta-section,
.admin-sidebar {
    color: #fff;
}

.bg-dark .text-muted,
.bg-primary .text-muted,
.text-bg-dark .text-muted,
.text-bg-primary .text-muted,
.cta-section .text-muted,
.admin-sidebar .text-muted {
    color: rgba(255, 255, 255, .76) !important;
}

a {
    text-decoration: none;
}

.navbar {
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(15, 23, 42, .05);
}

.navbar-brand,
.bizup-panel-brand {
    color: #0d6efd;
}

.admin-sidebar .bizup-panel-brand,
.admin-sidebar .bizup-panel-brand span {
    color: #fff !important;
}

.admin-sidebar .bizup-panel-brand small {
    color: rgba(255, 255, 255, .62);
}

.bizup-brand {
    align-items: center;
    display: inline-grid;
    gap: .55rem;
    grid-template-columns: 36px auto;
    letter-spacing: 0;
    line-height: 1.05;
}

.bizup-brand img,
.bizup-panel-brand img {
    border-radius: 8px;
    flex: 0 0 auto;
    image-rendering: auto;
}

.brand-copy {
    display: grid;
    gap: .08rem;
}

.brand-copy strong,
.bizup-brand > span {
    color: var(--bizup-ink);
    font-weight: 800;
}

.brand-copy strong {
    font-size: 1.08rem;
}

.brand-copy small {
    color: var(--bizup-muted);
    font-family: var(--bizup-font-body);
    font-size: .66rem;
    font-weight: 700;
    line-height: 1;
}

.bizup-brand > span > span,
.brand-copy strong span {
    color: var(--bizup-green);
}

.navbar .nav-link {
    color: #475569;
    font-weight: 500;
    padding-left: .75rem;
    padding-right: .75rem;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--bizup-primary);
}

.navbar-toggler {
    border-color: var(--bizup-border);
    min-height: 40px;
}

.btn {
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.25;
    padding: .62rem 1rem;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
    white-space: normal;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    box-shadow: 0 10px 22px rgba(13, 110, 253, .18);
}

.btn-sm {
    padding: .42rem .75rem;
}

.btn.is-loading {
    cursor: wait;
    opacity: .82;
}

.alert {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
    font-weight: 600;
}

.form-control,
.form-select {
    background-color: #fff;
    border-color: var(--bizup-border);
    border-radius: 8px;
    font-weight: 500;
    min-height: 44px;
    padding: .66rem .85rem;
}

.form-label {
    color: #475569;
    font-size: .86rem;
    font-weight: 600;
    margin-bottom: .45rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #7ab2ff;
    box-shadow: 0 0 0 .22rem var(--bizup-focus);
}

.hero-section {
    padding: 5.5rem 0;
}

.section-kicker {
    color: var(--bizup-green);
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.page-intro {
    max-width: 720px;
}

.feature-box,
.service-tile,
.metric-box,
.contact-card,
.pricing-card,
.dashboard-card,
.dashboard-panel {
    background: #fff;
    border: 1px solid var(--bizup-border);
    border-radius: 8px;
    box-shadow: var(--bizup-shadow);
    color: var(--bizup-ink);
}

.feature-box,
.contact-card,
.dashboard-panel {
    padding: clamp(1.05rem, 2vw, 1.5rem);
}

.feature-box p,
.metric-box span {
    color: var(--bizup-muted);
}

.service-tile {
    padding: 1.25rem;
    text-align: center;
    transition: transform .18s ease, box-shadow .18s ease;
}

.service-tile:hover,
.pricing-card:hover,
.dashboard-card:hover {
    box-shadow: var(--bizup-shadow-hover);
    transform: translateY(-2px);
}

.service-icon {
    align-items: center;
    background: var(--bizup-primary-soft);
    border-radius: 50%;
    color: var(--bizup-primary);
    display: inline-flex;
    height: 52px;
    justify-content: center;
    margin-bottom: .75rem;
    width: 52px;
}

.service-icon svg {
    fill: none;
    height: 26px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
    width: 26px;
}

.pricing-card {
    overflow: hidden;
    position: relative;
}

.pricing-card .card-body {
    padding: 1.5rem;
}

.pricing-badge {
    background: var(--bizup-green);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: .35rem .8rem;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.price-line {
    color: var(--bizup-ink);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 1rem 0;
}

.price-line span {
    color: var(--bizup-muted);
    font-size: .95rem;
    font-weight: 500;
}

.metric-box {
    padding: 1.5rem;
    text-align: center;
}

.metric-box strong {
    display: block;
    font-size: 1.45rem;
    margin-bottom: .35rem;
}

.metric-box-compact {
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-color: #d8e4f3;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 86px;
    padding: .85rem .6rem;
    position: relative;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.metric-box-compact::before {
    background: var(--bizup-primary);
    border-radius: 999px;
    content: "";
    height: 3px;
    left: .75rem;
    position: absolute;
    right: .75rem;
    top: .55rem;
}

.reward-metrics > div:nth-child(2) .metric-box-compact::before {
    background: var(--bizup-green);
}

.reward-metrics > div:nth-child(3) .metric-box-compact::before {
    background: #f59e0b;
}

.metric-box-compact:hover {
    border-color: #c7d7eb;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .09);
    transform: translateY(-1px);
}

.metric-box-compact strong {
    color: var(--bizup-ink);
    font-size: .98rem;
    line-height: 1.1;
    margin-bottom: .22rem;
    white-space: nowrap;
}

.metric-box-compact span {
    display: block;
    color: var(--bizup-muted);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: normal;
    text-wrap: balance;
}

.cta-section {
    background: var(--bizup-primary);
    color: #fff;
}

.cta-section p {
    color: rgba(255, 255, 255, .84) !important;
}

.growth-visual {
    background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
    border: 1px solid #dbeafe;
    border-radius: 8px;
    padding: 1.25rem;
}

.growth-visual-header {
    display: flex;
    gap: .4rem;
    margin-bottom: 1rem;
}

.growth-visual-header span {
    background: #cbd5e1;
    border-radius: 50%;
    height: 10px;
    width: 10px;
}

.growth-score,
.growth-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.growth-score {
    border-bottom: 1px solid var(--bizup-border);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.growth-score span {
    color: var(--bizup-green);
    font-size: 2rem;
    font-weight: 700;
}

.growth-row {
    background: #fff;
    border: 1px solid var(--bizup-border);
    border-radius: 8px;
    margin-bottom: .7rem;
    padding: .8rem;
}

.growth-row span {
    color: var(--bizup-muted);
}

.growth-bars {
    align-items: end;
    display: flex;
    gap: .75rem;
    height: 120px;
    padding-top: 1rem;
}

.growth-bars i {
    background: linear-gradient(180deg, #12a66a, #0d6efd);
    border-radius: 8px 8px 0 0;
    flex: 1;
}

.app-shell {
    background: var(--bizup-soft);
}

.app-sidebar {
    flex: 0 0 232px;
    min-height: 100vh;
    padding: 1rem .85rem;
    position: sticky;
    top: 0;
    width: 232px;
    z-index: 20;
}

.user-sidebar {
    background: #fff;
    box-shadow: 4px 0 20px rgba(15, 23, 42, .045);
}

.admin-sidebar {
    background: #111827 !important;
    box-shadow: 4px 0 18px rgba(15, 23, 42, .12);
}

.app-sidebar-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.bizup-panel-brand {
    align-items: center;
    display: inline-grid;
    gap: .08rem .55rem;
    grid-template-columns: 32px auto;
    line-height: 1.1;
}

.bizup-panel-brand img {
    grid-row: span 2;
    height: 32px;
    width: 32px;
}

.bizup-panel-brand span {
    font-size: 1rem;
    font-weight: 800;
}

.bizup-panel-brand small {
    color: #94a3b8;
    font-family: var(--bizup-font-body);
    font-size: .66rem;
    font-weight: 700;
    line-height: 1;
}

.app-nav-scroll {
    display: grid;
    gap: .55rem;
}

.app-nav-group {
    border: 1px solid transparent;
    border-radius: 8px;
    display: grid;
    gap: .18rem;
    padding: .18rem;
}

.user-sidebar .app-nav-group.active {
    background: #f1f6ff;
    border-color: #cfe0ff;
}

.admin-sidebar .app-nav-group.active {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(255, 255, 255, .16);
}

.app-nav-label {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #64748b;
    display: flex;
    font-size: .68rem;
    font-weight: 700;
    justify-content: space-between;
    letter-spacing: 0;
    min-height: 34px;
    padding: .45rem .55rem;
    text-align: left;
    text-transform: uppercase;
    width: 100%;
}

.admin-sidebar .app-nav-label {
    color: rgba(255, 255, 255, .78);
}

.app-nav-toggle:hover {
    background: rgba(13, 110, 253, .09);
    color: #0b5ed7;
}

.admin-sidebar .app-nav-toggle:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.app-nav-caret {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    display: inline-block;
    height: 7px;
    opacity: .9;
    transform: rotate(45deg);
    transition: transform .18s ease;
    width: 7px;
}

.app-nav-toggle:not(.collapsed) .app-nav-caret {
    transform: rotate(225deg);
}

.app-nav-collapse {
    gap: .16rem;
}

.app-nav-collapse.show {
    display: grid;
}

.app-nav-link {
    align-items: center;
    border-radius: 8px;
    color: #334155;
    display: flex;
    font-size: .9rem;
    font-weight: 600;
    min-height: 36px;
    padding: .48rem .65rem .48rem .85rem;
    position: relative;
    white-space: nowrap;
}

.admin-sidebar .app-nav-link {
    color: rgba(255, 255, 255, .88);
}

.app-nav-link:hover {
    background: rgba(13, 110, 253, .11);
    color: #0b5ed7;
}

.admin-sidebar .app-nav-link:hover {
    background: rgba(255, 255, 255, .13);
    color: #fff;
}

.app-nav-link.active {
    background: rgba(13, 110, 253, .14);
    color: #0b5ed7;
    box-shadow: none;
}

.admin-sidebar .app-nav-link.text-warning {
    color: #fbbf24 !important;
}

.admin-sidebar .app-nav-link.text-danger {
    color: #fca5a5 !important;
}

.app-nav-link.active::before {
    background: var(--bizup-primary);
    border-radius: 999px;
    bottom: .55rem;
    content: "";
    left: .45rem;
    position: absolute;
    top: .55rem;
    width: 3px;
}

.admin-sidebar .app-nav-link.active {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.app-nav-actions {
    border-top: 1px solid var(--bizup-border);
    margin-top: .2rem;
    padding-top: .7rem;
}

.admin-sidebar .app-nav-actions {
    border-top-color: rgba(255, 255, 255, .12);
}

.app-mobile-menu {
    border: 1px solid var(--bizup-border);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .14);
    max-height: calc(100vh - 92px);
    min-width: 240px;
    overflow-y: auto;
    padding: .5rem;
}

.app-mobile-menu .dropdown-header {
    color: #64748b;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 0;
    padding: .45rem .75rem .25rem;
}

.app-mobile-menu .dropdown-header.active {
    color: var(--bizup-primary);
}

.admin-sidebar .app-mobile-menu .dropdown-header.active,
.app-mobile-menu .dropdown-header.active {
    font-weight: 700;
}

.app-mobile-menu h6.dropdown-header {
    color: var(--bizup-ink);
    font-size: .9rem;
    padding-top: .25rem;
    text-transform: none;
}

.app-mobile-menu .dropdown-item {
    border-radius: 8px;
    font-weight: 600;
    padding: .55rem .75rem .55rem 1rem;
}

.app-mobile-menu .dropdown-item.active {
    background: #0d6efd;
    color: #fff;
}

.dropdown-menu {
    color: var(--bizup-ink);
}

.app-topbar {
    align-items: center;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, .92) !important;
    display: flex;
    justify-content: space-between;
    min-height: 68px;
    padding: .85rem 1.35rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.app-topbar-title h1 {
    color: var(--bizup-ink);
    font-size: 1.15rem;
    font-weight: 700;
}

.app-topbar-actions {
    align-items: center;
    display: flex;
    gap: .55rem;
}

.app-account-btn {
    align-items: center;
    background: #fff;
    border: 1px solid var(--bizup-border);
    border-radius: 999px;
    display: inline-flex;
    gap: .45rem;
    min-height: 38px;
    padding: .25rem .7rem .25rem .25rem;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.app-account-btn:hover,
.app-account-btn:focus {
    border-color: #bfdbfe;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
}

.app-account-btn span {
    align-items: center;
    background: var(--bizup-primary-soft);
    border-radius: 999px;
    color: var(--bizup-primary);
    display: inline-flex;
    font-size: .82rem;
    font-weight: 700;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.app-account-btn strong {
    color: #334155;
    font-size: .88rem;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-main {
    padding: clamp(1rem, 2vw, 1.5rem);
}

.app-panel-footer {
    align-items: center;
    border-top: 1px solid var(--bizup-border);
    color: var(--bizup-muted);
    display: flex;
    font-size: .82rem;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1.25rem;
    min-height: 48px;
    padding: 1rem 0 0;
}

.app-panel-footer-brand {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: .35rem .65rem;
    min-width: 0;
}

.app-panel-footer-brand strong {
    color: var(--bizup-ink);
    font-size: .9rem;
    font-weight: 800;
}

.app-panel-footer-note {
    color: #475569;
    font-weight: 700;
    white-space: nowrap;
}

.dashboard-card {
    min-height: 128px;
    padding: 1.25rem;
    transition: transform .18s ease, box-shadow .18s ease;
}

.dashboard-card:hover {
    transform: translateY(-1px);
}

.dashboard-card span {
    color: var(--bizup-muted);
    display: block;
    font-size: .88rem;
    font-weight: 500;
    margin-bottom: .75rem;
}

.dashboard-card strong {
    color: var(--bizup-ink);
    display: block;
    font-size: 1.35rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.dashboard-panel > h2:first-child,
.dashboard-panel > h3:first-child {
    color: var(--bizup-ink);
    font-weight: 700;
    letter-spacing: 0;
}

.page-toolbar {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.page-toolbar h2 {
    color: var(--bizup-ink);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: .15rem;
}

.page-toolbar p {
    color: var(--bizup-muted);
    margin-bottom: 0;
}

.page-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
}

.table-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
}

.settings-layout {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) 370px;
}

.settings-section-layout {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) 360px;
}

.settings-card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.settings-card {
    background: #fff;
    border: 1px solid var(--bizup-border);
    border-radius: 8px;
    box-shadow: var(--bizup-shadow);
    color: var(--bizup-ink);
    display: flex;
    flex-direction: column;
    gap: .45rem;
    min-height: 190px;
    padding: 1.15rem;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.settings-card:hover {
    border-color: #cbd5e1;
    box-shadow: var(--bizup-shadow-hover);
    color: var(--bizup-ink);
    transform: translateY(-2px);
}

.settings-card > span {
    color: var(--bizup-green);
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.settings-card strong {
    font-size: 1.05rem;
}

.settings-card p {
    color: var(--bizup-muted);
    font-size: .88rem;
    line-height: 1.45;
    margin: 0 0 auto;
}

.settings-main,
.settings-aside {
    min-width: 0;
}

.settings-aside {
    display: grid;
    gap: 1rem;
}

.settings-group-title {
    border-bottom: 1px solid var(--bizup-border);
    color: var(--bizup-ink);
    font-size: .82rem;
    font-weight: 800;
    padding: .4rem 0 .55rem;
    text-transform: uppercase;
}

.settings-panel-compact {
    padding: 1rem;
}

.settings-panel-compact .page-toolbar {
    gap: .75rem;
    margin-bottom: .85rem;
}

.settings-panel-compact .page-toolbar h2 {
    font-size: 1rem;
}

.settings-panel-compact .page-toolbar p {
    font-size: .86rem;
}

.diagnostic-list {
    display: grid;
    gap: .65rem;
}

.diagnostic-list > div,
.payment-log-item {
    background: #f8fafc;
    border: 1px solid var(--bizup-border);
    border-radius: 8px;
    min-width: 0;
    padding: .75rem;
}

.diagnostic-list span {
    color: var(--bizup-muted);
    display: block;
    font-size: .75rem;
    font-weight: 700;
    margin-bottom: .25rem;
    text-transform: uppercase;
}

.diagnostic-list code {
    color: #334155;
    display: block;
    font-size: .82rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-word;
}

.payment-log-list {
    display: grid;
    gap: .65rem;
    max-height: 560px;
    overflow: auto;
    padding-right: .15rem;
}

.payment-log-list-full {
    max-height: none;
    overflow: visible;
}

.payment-log-item {
    background: #fff;
}

.payment-log-item strong {
    color: var(--bizup-ink);
    font-family: var(--bizup-font-heading);
}

.log-payload {
    background: #f8fafc;
    border: 1px solid var(--bizup-border);
    border-radius: 8px;
    color: #475569;
    max-height: 130px;
    overflow: auto;
    overflow-wrap: anywhere;
    padding: .6rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.filter-bar {
    align-items: end;
    background: #f8fafc;
    border: 1px solid var(--bizup-border);
    border-radius: 8px;
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin-bottom: 1rem;
    padding: .85rem;
}

.filter-bar .form-label {
    color: #64748b;
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: .25rem;
    text-transform: uppercase;
}

.filter-actions {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.workflow-card {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--bizup-border);
    border-radius: 8px;
    color: inherit;
    display: flex;
    gap: .85rem;
    height: 100%;
    padding: .95rem;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.workflow-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
    transform: translateY(-1px);
}

.workflow-step {
    align-items: center;
    background: #eaf3ff;
    border-radius: 8px;
    color: #0d6efd;
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 700;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.workflow-card h3 {
    font-size: 1rem;
    margin-bottom: .1rem;
}

.workflow-card .small {
    color: var(--bizup-muted);
}

.empty-state {
    align-items: center;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: var(--bizup-muted);
    display: flex;
    flex-direction: column;
    gap: .4rem;
    justify-content: center;
    min-height: 180px;
    padding: 2rem;
    text-align: center;
}

.empty-state-icon {
    align-items: center;
    background: #eaf3ff;
    border-radius: 999px;
    color: #0d6efd;
    display: inline-flex;
    font-weight: 700;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.empty-state h2,
.empty-state h3 {
    color: var(--bizup-ink);
}

.locked-panel {
    border-left: 4px solid #f59e0b;
}

.table {
    --bs-table-bg: #fff;
    --bs-table-striped-bg: #f9fbfd;
    margin-bottom: 0;
}

.table-hover tbody tr:hover {
    background: #f8fafc;
}

.table thead th {
    background: #f8fafc;
    border-bottom: 1px solid var(--bizup-border);
    color: #475569;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.table-sort-link {
    color: inherit;
    display: inline-flex;
    gap: .25rem;
}

.table-sort-link:hover {
    color: var(--bizup-primary);
}

.table td {
    color: #334155;
    font-size: .91rem;
    line-height: 1.45;
    padding-bottom: .9rem;
    padding-top: .9rem;
    vertical-align: middle;
}

.table td a,
.dashboard-panel a:not(.btn),
.feature-box a:not(.btn),
.contact-card a:not(.btn) {
    font-weight: 700;
}

.table-responsive {
    background: #fff;
    border: 1px solid var(--bizup-border);
    border-radius: 8px;
    overflow: hidden;
}

.badge {
    border-radius: 999px;
    font-weight: 700;
    padding: .45rem .65rem;
}

.status-badge {
    min-width: 76px;
    text-align: center;
}

.action-stack {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.action-stack .btn {
    white-space: nowrap;
}

.pagination {
    gap: .25rem;
}

.page-link {
    border-color: var(--bizup-border);
    border-radius: 8px;
    color: #475569;
    font-family: var(--bizup-font-heading);
    font-weight: 700;
}

.page-item.active .page-link {
    background: var(--bizup-primary);
    border-color: var(--bizup-primary);
}

.list-group-item {
    border-color: var(--bizup-border);
}

.ticket-thread {
    display: grid;
    gap: 1rem;
}

.ticket-message {
    background: #f8fafc;
    border: 1px solid var(--bizup-border);
    border-radius: 8px;
    padding: 1rem;
}

.ticket-message.admin-reply {
    background: #eef6ff;
    border-color: #bfdbfe;
}

pre.text-wrap {
    white-space: pre-wrap;
}

@media (max-width: 1199.98px) {
    .settings-layout,
    .settings-section-layout {
        grid-template-columns: 1fr;
    }

    .settings-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 3.5rem 0;
    }

    .app-sidebar {
        flex: 0 0 auto;
        min-height: auto;
        padding: .85rem 1rem;
        position: static;
        width: 100%;
    }

    .admin-sidebar,
    .user-sidebar {
        box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
        min-height: auto;
    }

    .admin-sidebar {
        background: #101827 !important;
    }

    .user-sidebar {
        background: #fff;
    }

    .bizup-panel-brand {
        font-size: 1rem;
    }

    .app-sidebar-head {
        margin-bottom: 0;
    }

    .app-topbar {
        position: static;
        padding: .8rem 1rem;
    }

    .page-toolbar {
        flex-direction: column;
    }

    .page-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .settings-card {
        min-height: 165px;
    }
}

@media (max-width: 575.98px) {
    body {
        font-size: 15px;
    }

    .display-5,
    .display-6,
    .h1 {
        font-size: 2rem;
    }

    .hero-section {
        padding: 2.5rem 0;
    }

    .price-line {
        font-size: 1.5rem;
    }

    .dashboard-card {
        min-height: 112px;
    }

    .dashboard-panel,
    .feature-box,
    .contact-card {
        padding: 1rem;
    }

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

    .settings-card {
        min-height: auto;
    }

    .app-topbar-user .text-muted {
        display: none !important;
    }

    .app-topbar {
        align-items: flex-start;
        gap: .75rem;
    }

    .app-topbar-title h1 {
        font-size: 1.05rem;
    }

    .app-account-btn strong {
        display: none;
    }

    .app-main {
        padding: 1rem;
    }

    .app-panel-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: .35rem;
    }

    .app-panel-footer-note {
        white-space: normal;
    }

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .filter-actions {
        flex-direction: column;
    }

    .table-responsive.mobile-card-table {
        border: 0;
        overflow: visible;
    }

    .mobile-card-table table,
    .mobile-card-table thead,
    .mobile-card-table tbody,
    .mobile-card-table th,
    .mobile-card-table td,
    .mobile-card-table tr {
        display: block;
        width: 100%;
    }

    .mobile-card-table thead {
        display: none;
    }

    .mobile-card-table tr {
        background: #fff;
        border: 1px solid var(--bizup-border);
        border-radius: 8px;
        box-shadow: var(--bizup-shadow);
        margin-bottom: .85rem;
        padding: .35rem 0;
    }

    .mobile-card-table td {
        align-items: flex-start;
        border: 0;
        display: flex;
        gap: 1rem;
        justify-content: space-between;
        padding: .55rem .85rem;
        text-align: right;
    }

    .mobile-card-table td::before {
        color: #64748b;
        content: attr(data-label);
        flex: 0 0 42%;
        font-size: .78rem;
        font-weight: 800;
        text-align: left;
        text-transform: uppercase;
    }

    .mobile-card-table td > * {
        max-width: 58%;
    }

    .mobile-card-table .action-stack,
    .mobile-card-table form {
        justify-content: flex-end;
    }

    .btn,
    .form-control,
    .form-select {
        min-height: 42px;
    }
}
