/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-e7sz743h2d] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-e7sz743h2d] {
    flex: 1;
}

.sidebar[b-e7sz743h2d] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-e7sz743h2d] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-e7sz743h2d]  a, .top-row[b-e7sz743h2d]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-e7sz743h2d]  a:hover, .top-row[b-e7sz743h2d]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-e7sz743h2d]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-e7sz743h2d] {
        justify-content: space-between;
    }

    .top-row[b-e7sz743h2d]  a, .top-row[b-e7sz743h2d]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-e7sz743h2d] {
        flex-direction: row;
    }

    .sidebar[b-e7sz743h2d] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-e7sz743h2d] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-e7sz743h2d]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-e7sz743h2d], article[b-e7sz743h2d] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* ==================== BRAND SECTION ==================== */
.nav-brand[b-5lo93azq9o] {
    background: #0a1929;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-logo[b-5lo93azq9o] {
    display: inline-block;
    margin-bottom: 4px;
}

.brand-logo-img[b-5lo93azq9o] {
    height: 40px;
    width: auto;
    display: block;
}

.brand-subtitle[b-5lo93azq9o] {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ==================== NAVIGATION CONTAINER ==================== */
.nav-scrollable[b-5lo93azq9o] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
    overflow-y: auto;
}

/* ==================== NAVIGATION LIST ==================== */
.nav-list[b-5lo93azq9o] {
    padding: 0;
    margin: 0;
}

.nav-item[b-5lo93azq9o] {
    margin-bottom: 4px;
}

/* ==================== NAVIGATION LINKS ==================== */
.nav-link[b-5lo93azq9o] {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
}

    /* ==================== ICONS - CORRECT ALIGNMENT ==================== */
    .nav-link i[b-5lo93azq9o] {
        flex-shrink: 0;
        width: 20px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }

    /* ==================== NAVIGATION STATES ==================== */
    .nav-link:hover[b-5lo93azq9o] {
        background: rgba(255, 255, 255, 0.08);
        color: white;
    }

    .nav-link.active[b-5lo93azq9o] {
        background: #1976d2;
        color: white;
    }

/* ==================== AI BADGE ==================== */
.ai-pill[b-5lo93azq9o] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

/* ==================== BOTTOM SECTION ==================== */
.flex-grow-1[b-5lo93azq9o] {
    flex-grow: 1;
}

/* ==================== SCROLLBAR STYLING ==================== */
.nav-scrollable[b-5lo93azq9o]::-webkit-scrollbar {
    width: 6px;
}

.nav-scrollable[b-5lo93azq9o]::-webkit-scrollbar-track {
    background: transparent;
}

.nav-scrollable[b-5lo93azq9o]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

    .nav-scrollable[b-5lo93azq9o]::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.3);
    }

/* ==================== RESPONSIVE ==================== */
@media (min-width: 641px) {
    .navbar-toggler[b-5lo93azq9o] {
        display: none;
    }

    .collapse[b-5lo93azq9o] {
        display: block;
    }

    .nav-scrollable[b-5lo93azq9o] {
        height: calc(100vh - 120px);
        overflow-y: auto;
    }
}

/* ==================== LEGACY CLASSES (maintain compatibility) ==================== */
.navbar-toggler[b-5lo93azq9o] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-5lo93azq9o] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-5lo93azq9o] {
    font-size: 1.1rem;
}
/* /Pages/Company/Companies.razor.rz.scp.css */
/* Use a CSS variable so you can easily match your layout's sidebar width */
:root[b-gjpsxdgkoq] {
    --sidebar-width: 350px; /* adjust to match your app sidebar width */
}

.companies-grid .k-grid[b-gjpsxdgkoq] {
    min-height: 240px;
}

.companies-grid .k-grid-content[b-gjpsxdgkoq] {
    min-height: 160px;
}

.companies-grid .k-grid-header[b-gjpsxdgkoq],
.companies-grid .k-grid-content[b-gjpsxdgkoq],
.companies-grid .k-grid-footer[b-gjpsxdgkoq] {
    border-color: #e6e8ef;
}

.companies-grid td[b-gjpsxdgkoq],
.companies-grid th[b-gjpsxdgkoq] {
    border-color: #eef0f5;
}

.companies-toolbar[b-gjpsxdgkoq] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.companies-filter[b-gjpsxdgkoq] {
    max-width: 420px;
}

.companies-add[b-gjpsxdgkoq] {
    margin-left: auto;
}

[b-gjpsxdgkoq] .k-grid thead .k-header {
    color: #6c757d;
    font-weight: 500;
}

[b-gjpsxdgkoq] .company-name-header {
    color: #0d6efd;
    font-weight: 600;
}

/* Page layout (scoped) */
.companies-page[b-gjpsxdgkoq] {
    background: #f6f7f9;
    min-height: calc(100vh - 64px);
    padding: 20px 28px;
    box-sizing: border-box;
}

/* Inner container positioned to the right of sidebar and wider */
.companies-inner[b-gjpsxdgkoq] {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Title: match CompanyDetails title */
.company-title[b-gjpsxdgkoq] {
    font-size: 34px;
    font-weight: 700;
    color: #0b1720;
    margin: 0 0 16px 0;
}

/* Controls row spacing */
.d-flex.justify-content-between.align-items-center.mb-3[b-gjpsxdgkoq] {
    gap: 12px;
}

/* Filter control and add button sizes */
.companies-filter[b-gjpsxdgkoq] {
    width: 100%;
    max-width: 420px;
}

.companies-add[b-gjpsxdgkoq] {
    min-width: 140px;
}

/* Card that holds the table */
.companies-card[b-gjpsxdgkoq] {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e6e8ee;
    box-shadow: 0 8px 20px rgba(11,21,40,0.03);
    overflow: visible;
}

/* make card/table overflow visible so dropdown isn't clipped */
.companies-card[b-gjpsxdgkoq] {
    padding: 16px;
    overflow: visible;
}

/* menu items */
.company-action-item[b-gjpsxdgkoq] {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    background: transparent;
    border: none;
    color: #111827;
    cursor: pointer;
    font-size: 14px;
    outline: none;
}

    .company-action-item:hover[b-gjpsxdgkoq] {
        background: #f8fafc;
    }

    .company-action-item:focus[b-gjpsxdgkoq] {
        box-shadow: inset 0 0 0 9999px rgba(37,99,235,0.03);
    }

/* destructive action */
.company-action-delete[b-gjpsxdgkoq] {
    color: #dc2626;
    font-weight: 600;
}

/* Wide screens */
@media (min-width: 1400px) {
    .companies-inner[b-gjpsxdgkoq] {
        width: calc(1400px - var(--sidebar-width) - 48px);
        max-width: 1400px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .companies-inner[b-gjpsxdgkoq] {
        width: 100%;
        margin-left: 0;
        padding: 0 12px;
    }

    .company-title[b-gjpsxdgkoq] {
        font-size: 22px;
    }
}
/* /Pages/Company/CompanyDetails.razor.rz.scp.css */
.company-details-page[b-eyjccxindv] {
  background: #f6f7f9;
  min-height: calc(100vh - 64px);
  padding: 24px 32px;
  box-sizing: border-box;
}

.company-inner[b-eyjccxindv] {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 6px;
}

/* Header */
.company-top[b-eyjccxindv] { padding: 8px 0 18px; display:flex; align-items:center; justify-content:space-between; }
.company-title[b-eyjccxindv] {
  font-size: 34px;
  font-weight: 700;
  color: #0b1720;
  margin: 0;
}

/* Actions */
.company-actions .btn-edit[b-eyjccxindv] {
  background: #083a6a;
  color: #fff;
  border-radius: 8px;
  border: 1px solid rgba(8,58,106,0.95);
  padding: 8px 14px;
  font-weight: 600;
}
.company-actions .btn-back[b-eyjccxindv] {
  background: #fff;
  color: #111827;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  padding: 8px 12px;
  font-weight: 600;
  margin-left: 8px;
}

/* Tabs */
.company-tabs-wrapper[b-eyjccxindv] { margin-bottom: 18px; }
.company-tabs.nav[b-eyjccxindv] {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #f3f4f6;
  padding: 8px;
  border-radius: 10px;
  list-style: none;
  margin: 0;
}
.company-tabs.nav .nav-link[b-eyjccxindv] {
  color: #2563eb;
  background: transparent;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: all .12s ease-in-out;
  text-decoration: none;
}
.company-tabs.nav .nav-link .count[b-eyjccxindv] { color: #6b7280; font-weight: 500; margin-left: 6px; font-size: 0.9rem; }
.company-tabs.nav .nav-link:hover[b-eyjccxindv] { background: #eef2ff; color: #1e3a8a; text-decoration: none; }
.company-tabs.nav .nav-link.active[b-eyjccxindv] {
  background: #fff;
  color: #0b1720;
  border: 1px solid #e6e8ee;
  box-shadow: 0 4px 10px rgba(11,21,40,0.04);
  transform: translateY(-1px);
}

/* Card */
.company-card[b-eyjccxindv] {
  margin-top: 10px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e6e8ee;
  box-shadow: 0 10px 24px rgba(11,21,40,0.03);
  overflow: hidden;
}
.company-card .card-body[b-eyjccxindv] { padding: 28px; }

/* Grid for label/value pairs (two columns) */
.company-info-grid[b-eyjccxindv] {
  display: grid;
  grid-template-columns: 200px 1fr 200px 1fr;
  column-gap: 36px;
  row-gap: 10px;
  align-items: start;
  margin: 0;
}
.company-info-grid dt[b-eyjccxindv] {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}
.company-info-grid dd[b-eyjccxindv] {
  margin: 0;
  font-size: 15px;
  color: #0b1720;
  font-weight: 700;
}

/* Footer row (tax / ids) */
.company-info-footer[b-eyjccxindv] {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
}
.company-info-footer .tax-toggle[b-eyjccxindv] { display: flex; align-items: center; gap: 8px; }

/* Users table */
.company-users-table thead th[b-eyjccxindv] {
  padding: 10px 12px;
  color: #6b7280;
  font-weight: 700;
  font-size: 0.875rem;
  border-bottom: 1px solid #e6e8ee;
}
.company-users-table tbody td[b-eyjccxindv] {
  padding: 12px;
  border-bottom: 1px solid #e6e8ee;
}

/* Responsive */
@media (max-width: 992px) {
  .company-inner[b-eyjccxindv] { padding: 0 12px; max-width: 100%; }
  .company-title[b-eyjccxindv] { font-size: 22px; }
  .company-tabs.nav[b-eyjccxindv] { padding: 8px; }
  .company-card .card-body[b-eyjccxindv] { padding: 16px; }
  .company-info-grid[b-eyjccxindv] { grid-template-columns: 1fr; }
  .company-info-grid dt[b-eyjccxindv] { margin-top: 10px; }
  .company-info-footer[b-eyjccxindv] { flex-direction: column; align-items: flex-start; gap: 12px; }
}
/* /Pages/Dashboard.razor.rz.scp.css */
/* ==================== LAYOUT PRINCIPAL ==================== */
.dashboard-container[b-o41ry241g4] {
    padding: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-title[b-o41ry241g4] {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
}

/* ==================== STATS GRID ==================== */
.stats-grid[b-o41ry241g4] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card[b-o41ry241g4] {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

    .stat-card:hover[b-o41ry241g4] {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
    }

.stat-header[b-o41ry241g4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.stat-label[b-o41ry241g4] {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.stat-value[b-o41ry241g4] {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.stat-footer[b-o41ry241g4] {
    font-size: 13px;
    font-weight: 500;
}

/* ==================== CONTENT GRID ==================== */
.content-grid[b-o41ry241g4] {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

@media (max-width: 1024px) {
    .content-grid[b-o41ry241g4] {
        grid-template-columns: 1fr;
    }
}

/* ==================== CHART CARD ==================== */
.chart-card[b-o41ry241g4] {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}

.card-title[b-o41ry241g4] {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.chart-container[b-o41ry241g4] {
    position: relative;
    height: 300px;
    width: 100%;
    margin-bottom: 20px;
}

.chart-legend[b-o41ry241g4] {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.legend-item[b-o41ry241g4] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
}

.legend-color[b-o41ry241g4] {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

/* ==================== ACTIVITY CARD ==================== */
.activity-card[b-o41ry241g4] {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}

.activity-list[b-o41ry241g4] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-item[b-o41ry241g4] {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

    .activity-item:hover[b-o41ry241g4] {
        background: #f8fafc;
    }

.activity-avatar[b-o41ry241g4] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.activity-content[b-o41ry241g4] {
    flex: 1;
    min-width: 0;
}

.activity-text[b-o41ry241g4] {
    font-size: 14px;
    color: #1e293b;
    line-height: 1.5;
    margin-bottom: 4px;
}

.activity-time[b-o41ry241g4] {
    font-size: 12px;
    color: #94a3b8;
}
/* /Pages/Pricing/Pricing.razor.rz.scp.css */
.pricings-inner[b-7jw02gxjg2] {
    max-width: 1020px;
}

.page-title[b-7jw02gxjg2] {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 18px;
}

.section-title[b-7jw02gxjg2] {
    font-size: 22px;
    font-weight: 700;
}

.pricings-card[b-7jw02gxjg2] {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.pricings-grid .k-grid-header[b-7jw02gxjg2] {
    background: #fff;
}

    .pricings-grid .k-grid-header th[b-7jw02gxjg2] {
        font-weight: 600;
        color: #6b7280;
        border-bottom: 1px solid #e5e7eb;
    }

.pricings-grid .k-grid-content td[b-7jw02gxjg2] {
    border-bottom: 1px solid #eef2f7;
}

.pricings-grid .k-grid-content tr:last-child td[b-7jw02gxjg2] {
    border-bottom: none;
}
/* /Pages/Pricing/PricingSelection.razor.rz.scp.css */
.pricing-plan-card[b-4g0dt66sub] {
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    transition: all 0.2s ease-in-out;
}

.pricing-plan-card:hover[b-4g0dt66sub] {
    border-color: #1976d2;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.15);
    transform: translateY(-2px);
}

.pricing-plan-card.border-primary[b-4g0dt66sub] {
    border-color: #1976d2 !important;
    border-width: 2px;
}
/* /Pages/Product/Product.razor.rz.scp.css */
.products-inner[b-30fd2fybux] {
    max-width: 1020px;
}

.page-title[b-30fd2fybux] {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 18px;
}

.section-title[b-30fd2fybux] {
    font-size: 22px;
    font-weight: 700;
}

.products-card[b-30fd2fybux] {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.products-grid .k-grid-header[b-30fd2fybux] {
    background: #fff;
}

    .products-grid .k-grid-header th[b-30fd2fybux] {
        font-weight: 600;
        color: #6b7280;
        border-bottom: 1px solid #e5e7eb;
    }

.products-grid .k-grid-content td[b-30fd2fybux] {
    border-bottom: 1px solid #eef2f7;
}

.products-grid .k-grid-content tr:last-child td[b-30fd2fybux] {
    border-bottom: none;
}

.actions-btn[b-30fd2fybux] {
    width: 44px;
    height: 38px;
    border-radius: 10px;
    border: 2px solid #0b2d5c;
    background: #fff;
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
}

.actions-menu[b-30fd2fybux] {
    position: absolute;
    right: 0;
    top: 44px;
    width: 200px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 8px;
    z-index: 50;
}

.actions-title[b-30fd2fybux] {
    font-weight: 700;
    padding: 6px 10px;
    color: #111827;
    font-size: 14px;
}

.actions-item[b-30fd2fybux] {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
    color: #111827;
}

    .actions-item:hover[b-30fd2fybux] {
        background: #f3f4f6;
    }

.actions-danger[b-30fd2fybux] {
    color: #ef4444;
}

.products-footer[b-30fd2fybux] {
    border-top: 1px solid #eef2f7;
}
/* /Pages/Product/ProductDetail.razor.rz.scp.css */
/* Scoped styles for ProductDetail.razor — Add & Assign / Edit tier-assignment panel */

.add-assign-panel[b-vf94kmvbrh] {
    background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
    border: 1px solid #e4e9f5;
    border-radius: 10px;
    padding: 14px;
    animation: addAssignFadeIn-b-vf94kmvbrh 0.18s ease-out;
}

@keyframes addAssignFadeIn-b-vf94kmvbrh {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.add-assign-panel .quickfill-bar[b-vf94kmvbrh] {
    background-color: #ffffff;
    border: 1px dashed #c9d4ea;
    border-radius: 8px;
    padding: 10px;
}

.add-assign-panel .preview-line[b-vf94kmvbrh] {
    background-color: #f3f6fd;
    border: 1px solid #dbe3f3;
}

.add-assign-panel .status-bar[b-vf94kmvbrh] {
    padding: 6px 10px;
    border-radius: 6px;
    background-color: #ffffff;
    border: 1px solid #e4e9f5;
}

/* Tier assignment data grid */
.tier-assign-table[b-vf94kmvbrh] {
    border: 1px solid #e4e9f5;
    border-radius: 8px;
    overflow: hidden;
}

.tier-assign-table thead th[b-vf94kmvbrh] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4a5568;
    border-bottom: 1.5px solid #dfe4ee;
}

.tier-assign-table tbody tr[b-vf94kmvbrh] {
    transition: background-color 0.1s ease;
}

.tier-assign-table tbody tr.row-selected[b-vf94kmvbrh] {
    background-color: #f3f8ff;
}

.tier-assign-table tbody tr.row-selected:hover[b-vf94kmvbrh] {
    background-color: #e9f1ff;
}
/* /Pages/Tokens/BuyTokens.razor.rz.scp.css */
/* === Page-level === */
.buy-tokens-page .bt-hero[b-opal3xhqk2] {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-left: 4px solid #1976d2;
    border-radius: 12px;
}

.buy-tokens-page .bt-hero h4[b-opal3xhqk2] {
    font-weight: 700;
    color: #0f172a;
}

/* === Segmented tabs (replaces .buy-tokens-tabs btn-group) === */
.buy-tokens-page .bt-segmented[b-opal3xhqk2] {
    display: flex;
    width: 100%;
    background: #f1f5f9;
    border-radius: 14px;
    padding: 5px;
    gap: 4px;
}

.buy-tokens-page .bt-segment[b-opal3xhqk2] {
    flex: 1;
    border: none;
    background: transparent;
    color: #475569;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.15s ease;
}

    .buy-tokens-page .bt-segment:hover[b-opal3xhqk2] {
        color: #1976d2;
    }

    .buy-tokens-page .bt-segment.bt-segment-active[b-opal3xhqk2] {
        background: #fff;
        color: #0f172a;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(25, 118, 210, 0.12);
        transform: translateY(-1px);
    }

        .buy-tokens-page .bt-segment.bt-segment-active i[b-opal3xhqk2] {
            color: #1976d2;
        }

.buy-tokens-page .bt-chip[b-opal3xhqk2] {
    font-size: 0.7rem;
    background: #fde68a;
    color: #92400e;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1.4;
}

    .buy-tokens-page .bt-chip.bt-chip-success[b-opal3xhqk2] {
        background: #d1fae5;
        color: #065f46;
    }

/* === Cards (shared) === */
.buy-tokens-card[b-opal3xhqk2] {
    border-radius: 14px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    position: relative;
    overflow: visible;
    transition: transform 0.15s ease-in-out, box-shadow 0.18s ease-in-out, border-color 0.18s ease-in-out;
}

    .buy-tokens-card:hover[b-opal3xhqk2] {
        border-color: #1976d2;
        box-shadow: 0 8px 24px rgba(25, 118, 210, 0.10);
        transform: translateY(-3px);
    }

    .buy-tokens-card.border-primary[b-opal3xhqk2] {
        border-color: #1976d2 !important;
        box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.15), 0 8px 24px rgba(25, 118, 210, 0.12);
    }

    .buy-tokens-card.border-success[b-opal3xhqk2] {
        border-color: #198754 !important;
        box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.15), 0 8px 24px rgba(25, 135, 84, 0.12);
    }

    .buy-tokens-card.plan-card-active[b-opal3xhqk2] {
        opacity: 0.92;
    }

        .buy-tokens-card.plan-card-active:hover[b-opal3xhqk2] {
            transform: none;
            box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.15);
            border-color: #198754 !important;
        }

/* Corner check badge for selected state */
.buy-tokens-card .bt-check[b-opal3xhqk2] {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(25, 118, 210, 0.4);
    font-size: 1.1rem;
    z-index: 2;
    animation: bt-pop-b-opal3xhqk2 0.18s ease-out;
}

@keyframes bt-pop-b-opal3xhqk2 {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Ribbon (top-right, used for Best Bonus / Current Plan) */
.buy-tokens-card .bt-ribbon[b-opal3xhqk2] {
    position: absolute;
    top: 14px;
    right: -6px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    padding: 5px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-radius: 4px 0 0 4px;
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.35);
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

    .buy-tokens-card .bt-ribbon[b-opal3xhqk2]::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: -6px;
        border-style: solid;
        border-width: 6px 6px 0 0;
        border-color: #78350f transparent transparent transparent;
    }

    .buy-tokens-card .bt-ribbon.bt-ribbon-success[b-opal3xhqk2] {
        background: linear-gradient(135deg, #198754 0%, #157347 100%);
        box-shadow: 0 4px 8px rgba(25, 135, 84, 0.35);
    }

        .buy-tokens-card .bt-ribbon.bt-ribbon-success[b-opal3xhqk2]::after {
            border-color: #14532d transparent transparent transparent;
        }

/* === Single tab — slider counter === */
.buy-tokens-page .bt-counter[b-opal3xhqk2] {
    text-align: center;
    padding: 6px 4px 12px 4px;
}

.buy-tokens-page .bt-counter-value[b-opal3xhqk2] {
    font-size: 3.25rem;
    font-weight: 800;
    color: #1976d2;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.buy-tokens-page .bt-counter-input[b-opal3xhqk2] {
    font-size: 3.25rem;
    font-weight: 800;
    color: #1976d2;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    text-align: center;
    background: transparent;
    border: none;
    border-bottom: 2px dashed transparent;
    width: 100%;
    max-width: 280px;
    padding: 2px 8px;
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease;
    -moz-appearance: textfield;
}

    .buy-tokens-page .bt-counter-input:hover[b-opal3xhqk2] {
        border-bottom-color: #cbd5e1;
    }

    .buy-tokens-page .bt-counter-input:focus[b-opal3xhqk2] {
        border-bottom-color: #1976d2;
        background: rgba(25, 118, 210, 0.04);
        border-radius: 8px 8px 0 0;
    }

    .buy-tokens-page .bt-counter-input.bt-counter-input-invalid[b-opal3xhqk2] {
        color: #b91c1c;
        border-bottom-color: #b91c1c;
    }

    .buy-tokens-page .bt-counter-input[b-opal3xhqk2]::-webkit-outer-spin-button,
    .buy-tokens-page .bt-counter-input[b-opal3xhqk2]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

.buy-tokens-page .bt-counter-label[b-opal3xhqk2] {
    display: block;
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 4px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.buy-tokens-page .bt-counter-total[b-opal3xhqk2] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 6px 16px;
    background: #ecfdf5;
    color: #065f46;
    border-radius: 999px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.buy-tokens-page .bt-slider[b-opal3xhqk2] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 999px;
    outline: none;
    margin: 18px 0 4px 0;
}

    .buy-tokens-page .bt-slider[b-opal3xhqk2]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 22px;
        height: 22px;
        background: #fff;
        border: 3px solid #1976d2;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(25, 118, 210, 0.35);
        transition: transform 0.15s ease;
    }

        .buy-tokens-page .bt-slider[b-opal3xhqk2]::-webkit-slider-thumb:hover {
            transform: scale(1.18);
        }

    .buy-tokens-page .bt-slider[b-opal3xhqk2]::-moz-range-thumb {
        width: 22px;
        height: 22px;
        background: #fff;
        border: 3px solid #1976d2;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(25, 118, 210, 0.35);
    }

.buy-tokens-page .bt-slider-meta[b-opal3xhqk2] {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}

/* Quick-pick chips */
.buy-tokens-page .quick-pick .btn[b-opal3xhqk2] {
    min-width: 60px;
    border-radius: 999px;
    font-weight: 600;
}

/* === Bundle / Plan card content === */
.buy-tokens-card .bt-big-number[b-opal3xhqk2] {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1976d2;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.buy-tokens-card .bt-bonus-capsule[b-opal3xhqk2] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #d1fae5;
    color: #065f46;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.buy-tokens-card .bt-plan-price[b-opal3xhqk2] {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

    .buy-tokens-card .bt-plan-price .bt-currency[b-opal3xhqk2] {
        font-size: 1.25rem;
        font-weight: 600;
        color: #64748b;
        vertical-align: top;
        margin-right: 2px;
    }

/* === Order summary === */
.buy-tokens-summary[b-opal3xhqk2] {
    border-radius: 14px;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

    .buy-tokens-summary .bt-summary-header[b-opal3xhqk2] {
        background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
        color: #fff;
        padding: 14px 16px;
    }

    .buy-tokens-summary .bt-summary-subtotal[b-opal3xhqk2] {
        font-size: 1.75rem;
        font-weight: 800;
        color: #065f46;
        font-variant-numeric: tabular-nums;
        letter-spacing: -0.02em;
    }

    .buy-tokens-summary .bt-cta[b-opal3xhqk2] {
        background: linear-gradient(135deg, #198754 0%, #157347 100%);
        border: none;
        color: #fff;
        font-weight: 700;
        padding: 12px;
        border-radius: 10px;
        transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    }

        .buy-tokens-summary .bt-cta:hover:not(:disabled)[b-opal3xhqk2] {
            transform: translateY(-1px);
            box-shadow: 0 6px 14px rgba(25, 135, 84, 0.35);
        }

        .buy-tokens-summary .bt-cta:disabled[b-opal3xhqk2] {
            opacity: 0.55;
            cursor: not-allowed;
        }

.buy-tokens-summary .bt-save-line[b-opal3xhqk2] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fef3c7;
    color: #92400e;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}
/* /Pages/User/UserDetails.razor.rz.scp.css */
.userdetail-page .form-switch .form-check-input:disabled[b-3ikja5n7f0] {
    opacity: 1;
    pointer-events: none;
}

    .userdetail-page .form-switch .form-check-input:disabled:checked[b-3ikja5n7f0] {
        background-color: #0d6efd;
        border-color: #0d6efd;
    }

    .userdetail-page .form-switch .form-check-input:disabled:not(:checked)[b-3ikja5n7f0] {
        background-color: #ced4da;
        border-color: #ced4da;
    }
/* /Pages/User/UserNew.razor.rz.scp.css */
.usernew-card[b-5uoipion1j] {
  border: 1px solid var(--border, #e6e8ee);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(16,24,40,.02);
}
/* /Pages/User/Users.razor.rz.scp.css */
:root[b-vadnhvzxgi] {
  --sidebar-width: 240px;
}

/* Page layout (scoped) */
.users-page[b-vadnhvzxgi] {
  background: #f6f7f9;
  min-height: calc(100vh - 64px);
  padding: 20px 28px;
  box-sizing: border-box;
}

/* Inner container positioned to the right of sidebar and wider */
.users-inner[b-vadnhvzxgi] {
  width: calc(100% - var(--sidebar-width) - 48px);
  margin-left: calc(var(--sidebar-width) + 16px);
  max-width: 1400px;
  margin-top: 8px;
}

/* Title */
.user-title[b-vadnhvzxgi] {
  font-size: 34px;
  font-weight: 700;
  color: #0b1720;
  margin: 0 0 16px 0;
}

/* Controls row spacing */
.users-controls[b-vadnhvzxgi] {
  gap: 12px;
}

/* Filter control and add button sizes */
.users-filter[b-vadnhvzxgi] { width: 100%; max-width: 420px; }
.users-add[b-vadnhvzxgi] { min-width: 140px; }

/* Card that holds the table */
.users-card[b-vadnhvzxgi] {
  width: 100%;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e6e8ee;
  box-shadow: 0 8px 20px rgba(11,21,40,0.03);
  overflow: visible;
}

.users-card .table-responsive[b-vadnhvzxgi] {
  padding: 16px;
  overflow: visible;
}

/* Table uses full width */
.users-table[b-vadnhvzxgi] {
  width: 100%;
  margin-bottom: 0;
}

/* Header styling (semi-dark gray) */
.users-table thead th[b-vadnhvzxgi] {
  padding: 14px 18px;
  color: #6b7280;
  font-weight: 600;
  border-bottom: 1px solid #eef2f2;
  background: transparent;
}

.users-table tbody td[b-vadnhvzxgi] {
  padding: 14px 18px;
  border-bottom: 1px solid #f3f6f7;
  vertical-align: middle;
}

/* Avatar fallback */
.avatar[b-vadnhvzxgi] {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
  color: #475569;
}
.avatar-sm[b-vadnhvzxgi] {
  width: 28px;
  height: 28px;
  font-size: 11px;
}

/* Actions dropdown (three dots) */
.user-actions-menu[b-vadnhvzxgi] {
  position: absolute;
  top: 12px;
  right: 12px;
  min-width: 180px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e6e8ee;
  box-shadow: 0 8px 24px rgba(11,21,40,0.12);
  padding: 6px 0;
  z-index: 2200;
}
.user-actions-menu[b-vadnhvzxgi]::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  border-left: 1px solid #e6e8ee;
  border-top: 1px solid #e6e8ee;
}
.user-actions-menu .menu-title[b-vadnhvzxgi] {
  font-weight: 700;
  padding: 10px 14px;
  color: #0b1720;
  border-bottom: 1px solid #f3f6f7;
}
.user-action-item[b-vadnhvzxgi] {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  background: transparent;
  border: none;
  color: #111827;
  cursor: pointer;
  font-size: 14px;
  outline: none;
}
.user-action-item:hover[b-vadnhvzxgi] {
  background: #f8fafc;
}
.user-action-delete[b-vadnhvzxgi] {
  color: #dc2626;
  font-weight: 600;
}
.user-actions-btn[b-vadnhvzxgi] {
  font-size: 20px;
  line-height: 1;
  color: #6b7280;
  background: transparent;
  border: none;
  padding: 0;
}
.user-actions-btn:focus[b-vadnhvzxgi] {
  outline: none;
}

@media (max-width: 992px) {
  .users-inner[b-vadnhvzxgi] {
    width: 100%;
    margin-left: 0;
    padding: 0 12px;
  }
  .user-title[b-vadnhvzxgi] { font-size: 22px; }
  .users-card .table-responsive[b-vadnhvzxgi] { padding: 8px; }
  .users-table thead th[b-vadnhvzxgi], .users-table tbody td[b-vadnhvzxgi] { padding: 10px 8px; }
}
/* /Shared/Payments/PaymentCardEntry.razor.rz.scp.css */
#card-number[b-ra7ms06r4o],
#card-cvv[b-ra7ms06r4o] {
    position: relative;
    z-index: 1;
    background: white;
    height: 42px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 10px 12px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hosted-field-disabled[b-ra7ms06r4o] {
    pointer-events: none;
    opacity: 0.6;
}

/* Hosted-field iframes are injected by the AffiniPay SDK at runtime,
   so they don't carry Blazor's scope attribute — ::deep is required. */
#card-number[b-ra7ms06r4o]  iframe,
#card-cvv[b-ra7ms06r4o]  iframe {
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
    height: 100% !important;
    background-color: transparent !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

#card-number:focus-within[b-ra7ms06r4o],
#card-cvv:focus-within[b-ra7ms06r4o] {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}
