/* ==========================================================================
   BottleCall — Midnight Velvet & Alabaster Luxe Design System
   Shared across Admin, Super-Admin, Auth & Onboarding (Dark & Light Themes)
   ========================================================================== */

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--bc-font-sans);
    background-color: var(--bc-bg-canvas);
    color: var(--bc-text-primary);
    transition: background-color 0.28s ease, color 0.28s ease;
}

body.dark {
    color-scheme: dark;
    background-image:
        radial-gradient(ellipse 80% 50% at 15% -10%, rgba(124, 58, 237, 0.16), transparent 60%),
        radial-gradient(ellipse 70% 45% at 90% 0%, rgba(6, 182, 212, 0.11), transparent 55%);
    background-attachment: fixed;
}

body.light,
body:not(.dark) {
    color-scheme: light;
    background-image:
        radial-gradient(ellipse 75% 45% at 12% -8%, rgba(79, 70, 229, 0.06), transparent 60%),
        radial-gradient(ellipse 65% 40% at 88% 0%, rgba(14, 165, 233, 0.05), transparent 55%);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--bc-font-display);
    letter-spacing: -0.02em;
}

/* Custom sleek scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--bc-border-strong);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bc-accent);
}

/* ==========================================================================
   TOP NAVIGATION BAR (Admin & Super-Admin)
   ========================================================================== */
.top-nav-mian {
    height: 76px !important;
    background: var(--bc-bg-glass) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--bc-border);
    box-shadow: var(--bc-shadow-sm);
    padding: 0 24px;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.logo-section {
    margin-left: 16px !important;
    min-width: 220px !important;
}

.logo-section svg {
    transition: transform 0.25s ease, filter 0.25s ease;
}

.logo-section:hover svg {
    transform: translateY(-1px);
}

body.dark .logo-section svg {
    filter: drop-shadow(0 0 12px rgba(129, 140, 248, 0.25));
}

.nav-detail-section {
    gap: 1.15rem !important;
    padding-right: 4px !important;
}

/* Modernized Pill Switches (Theme, QR, Order Mode)
   Exact 42px height matching .notify-icon, with icon dead-center INSIDE the round thumb */
.theme-toogle,
.theme-toogle form,
.theme-toogle label,
.qr-scanner-toggle,
.qr-scanner-toggle label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.top-nav-mian .theme-toogle,
.top-nav-mian .theme-toogle form,
.top-nav-mian .theme-toogle label {
    height: 42px !important;
}

.toggle-slot {
    position: relative !important;
    display: inline-block !important;
    height: 42px !important;
    width: 76px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    border: 1px solid var(--bc-border-strong) !important;
    background: var(--bc-bg-subtle) !important;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.12) !important;
    cursor: pointer !important;
    transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease !important;
    box-sizing: border-box !important;
    overflow: hidden;
}

.toggle-checkbox:checked ~ .toggle-slot,
.toggle-checkbox:checked + .toggle-slot {
    background: linear-gradient(135deg, #4338CA 0%, #6366F1 55%, #0EA5E9 100%) !important;
    border-color: rgba(129, 140, 248, 0.55) !important;
    box-shadow: 0 0 18px rgba(99, 102, 241, 0.35) !important;
}

/* Circular thumb: 34x34 inside 40px inner height => 3px top/bottom/left/right */
.toggle-button {
    position: absolute !important;
    top: 3px !important;
    left: 3px !important;
    height: 34px !important;
    width: 34px !important;
    border-radius: 50% !important;
    background: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.28) !important;
    z-index: 1 !important;
    transform: translateX(0) !important;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease !important;
}

.toggle-checkbox:checked ~ .toggle-slot .toggle-button,
.toggle-checkbox:checked + .toggle-slot .toggle-button {
    background: #FFFFFF !important;
    transform: translateX(34px) !important;
}

/* Center BOTH icon wrappers directly inside the 34x34 round thumb */
.toggle-slot .sun-icon-wrapper,
.toggle-slot .moon-icon-wrapper,
.toggle-slot .bottle-icon-waraper,
.toggle-slot .bottle-svg-wrapper {
    position: absolute !important;
    top: 3px !important;
    left: 3px !important;
    right: auto !important;
    bottom: auto !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2 !important;
    pointer-events: none !important;
    line-height: 1 !important;
    transition: opacity 0.22s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* Unchecked state: left icon centered in left circle, right icon hidden at right */
.toggle-slot .sun-icon-wrapper {
    opacity: 1 !important;
    transform: translateX(0) scale(1) !important;
}

.toggle-slot .moon-icon-wrapper {
    opacity: 0 !important;
    transform: translateX(34px) scale(0.55) !important;
}

/* Checked state: left icon hidden, right icon centered in right circle */
.toggle-checkbox:checked ~ .toggle-slot .sun-icon-wrapper,
.toggle-checkbox:checked + .toggle-slot .sun-icon-wrapper {
    opacity: 0 !important;
    transform: translateX(0) scale(0.55) !important;
}

.toggle-checkbox:checked ~ .toggle-slot .moon-icon-wrapper,
.toggle-checkbox:checked + .toggle-slot .moon-icon-wrapper {
    opacity: 1 !important;
    transform: translateX(34px) scale(1) !important;
}

/* Crisp icon sizing & colors inside the round thumb */
.toggle-slot .sun-icon {
    color: #F59E0B !important;
    font-size: 17px !important;
    display: block !important;
}

.toggle-slot .moon-icon {
    color: #4F46E5 !important;
    font-size: 16px !important;
    display: block !important;
}

.toggle-slot .sun-icon-wrapper svg,
.toggle-slot .moon-icon-wrapper svg {
    width: 17px !important;
    height: 17px !important;
    display: block !important;
}

.toggle-slot .bottle-icon-waraper svg,
.toggle-slot .bottle-svg-wrapper svg {
    width: auto !important;
    height: 18px !important;
    display: block !important;
}

/* QR Scanner toggle styling */
.qr-scanner-toggle .toggle-slot {
    background: var(--bc-bg-subtle) !important;
}

.qr-scanner-toggle .toggle-button {
    background: var(--bc-accent-gradient) !important;
}

.qr-scanner-toggle .sun-icon-wrapper {
    color: #FFFFFF !important;
}

.qr-scanner-toggle .toggle-checkbox:checked + .toggle-slot,
.qr-scanner-toggle .toggle-checkbox:checked ~ .toggle-slot {
    background: var(--bc-accent-gradient) !important;
}

.qr-scanner-toggle .toggle-checkbox:checked + .toggle-slot .toggle-button,
.qr-scanner-toggle .toggle-checkbox:checked ~ .toggle-slot .toggle-button {
    background: #FFFFFF !important;
}

.qr-scanner-toggle .toggle-checkbox:checked + .toggle-slot .moon-icon-wrapper,
.qr-scanner-toggle .toggle-checkbox:checked ~ .toggle-slot .moon-icon-wrapper {
    color: #4F46E5 !important;
}

/* Order Mode (Bottle) toggle styling */
.new-toogle-slot {
    background: var(--bc-bg-subtle) !important;
}

.bottle-svg-toogle {
    background: var(--bc-accent-gradient) !important;
}

.new-toogle-slot .bottle-icon-waraper svg path {
    fill: #FFFFFF !important;
}

.toggle-checkbox:checked ~ .new-toogle-slot {
    background: var(--bc-accent-gradient) !important;
}

.toggle-checkbox:checked ~ .new-toogle-slot .bottle-svg-toogle {
    background: #FFFFFF !important;
}

.toggle-checkbox:checked ~ .new-toogle-slot .bottle-svg-wrapper svg path {
    fill: #4F46E5 !important;
}

/* Notification Bell Button — Exact 42x42 matching toggle height */
.notify-icon {
    height: 42px !important;
    width: 42px !important;
    border-radius: 12px !important;
    background: var(--bc-bg-subtle) !important;
    border: 1px solid var(--bc-border-strong) !important;
    transition: all 0.22s ease;
    position: relative;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
}

.notify-icon a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notify-icon svg {
    width: 20px;
    height: 20px;
}

.notify-icon:hover {
    background: var(--bc-accent-soft) !important;
    border-color: var(--bc-accent) !important;
    transform: translateY(-1px);
}

body.dark .notify-icon svg path {
    stroke: #E2E8F0;
}

/* User Profile Pill & Dropdown — Exact 42px height */
.user-profile-section {
    height: 42px !important;
    width: auto !important;
    min-width: 165px;
    padding: 3px 14px 3px 4px !important;
    border-radius: 12px !important;
    background: var(--bc-bg-subtle);
    border: 1px solid var(--bc-border-strong);
    gap: 0.65rem !important;
    cursor: pointer;
    transition: all 0.22s ease;
}

.user-profile-section:hover {
    border-color: var(--bc-accent);
    box-shadow: var(--bc-shadow-sm);
}

.user-profile-section .user-image {
    height: 34px !important;
    width: 34px !important;
    border-radius: 9px !important;
    border: 1px solid var(--bc-border-strong) !important;
}

.user-profile-section h1 {
    font-family: var(--bc-font-sans) !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    color: var(--bc-text-primary) !important;
    white-space: nowrap;
}

.profile-drop-down {
    top: 56px !important;
    min-width: 210px !important;
    z-index: 1050;
}

.profile-drop-down ul {
    border-radius: 16px !important;
    background: var(--bc-bg-surface) !important;
    border: 1px solid var(--bc-border-strong);
    box-shadow: var(--bc-shadow-lg) !important;
    padding: 6px !important;
    overflow: hidden;
}

.profile-drop-down ul li {
    height: 44px !important;
}

.profile-drop-down ul li a {
    border-radius: 10px;
    padding: 0 12px !important;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--bc-text-primary) !important;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.profile-drop-down ul li a:hover {
    background: var(--bc-accent-soft) !important;
    color: var(--bc-accent) !important;
}

/* Hamburger menu icon */
.toogle-button div {
    width: 26px !important;
    height: 2.5px !important;
    border-radius: 999px;
    background-color: var(--bc-text-primary) !important;
    margin: 5px 0 !important;
    transition: all 0.22s ease;
}

/* ==========================================================================
   SIDEBAR NAVIGATION
   ========================================================================== */
.side-bar-toogle {
    width: 244px !important;
    top: 90px !important;
    left: 14px !important;
    height: calc(100vh - 104px) !important;
    border-radius: 22px !important;
    padding: 12px 10px !important;
    background: var(--bc-bg-glass) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--bc-border);
    box-shadow: var(--bc-shadow-md) !important;
}

.side-bar-toogle ul {
    background: transparent !important;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.side-bar-toogle ul li {
    height: auto !important;
}

.side-bar-toogle ul li a {
    min-height: 46px;
    padding: 10px 14px !important;
    border-radius: 13px !important;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--bc-text-secondary) !important;
    gap: 0.85rem !important;
    transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.side-bar-toogle ul li a svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.85;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.side-bar-toogle ul li a svg path {
    stroke: currentColor !important;
}

.side-bar-toogle ul li a:hover {
    background: var(--bc-accent-soft) !important;
    color: var(--bc-text-primary) !important;
    transform: translateX(3px);
}

.side-bar-toogle ul li a:hover svg {
    opacity: 1;
}

.side-bar-toogle ul li a:hover svg path {
    stroke: var(--bc-accent) !important;
}

.side-bar-toogle ul li a.active {
    background: var(--bc-accent-gradient) !important;
    color: #FFFFFF !important;
    font-weight: 600;
    box-shadow: var(--bc-shadow-glow);
}

.side-bar-toogle ul li a.active svg {
    opacity: 1;
}

.side-bar-toogle ul li a.active svg path {
    stroke: #FFFFFF !important;
}

@media screen and (max-width: 991px) {
    .side-bar-toogle {
        left: -280px !important;
        top: 84px !important;
        height: calc(100vh - 96px) !important;
        transition: left 0.32s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }

    .side-bar-toogle.side-bar-toogle-slider {
        left: 12px !important;
        z-index: 1040 !important;
    }
}

/* ==========================================================================
   MAIN CONTENT AREA & CARDS — Consistent Sidebar Offset Across ALL Pages
   Sidebar sits at left: 14px, width: 244px (right edge = 258px) on >= 992px.
   All main page sections keep a clean 20px gutter (padding-left: 278px).
   ========================================================================== */
@media screen and (min-width: 992px) {
    .top-nav-mian .notify-icon {
        display: inline-flex !important;
    }

    .top-nav-mian .user-profile-section {
        display: flex !important;
    }

    .top-nav-mian .toogle-button {
        display: none !important;
    }

    .side-bar-toogle {
        left: 14px !important;
        width: 244px !important;
    }
}

.comon-main-section,
.tablePlan-section,
.sublicense-section,
.payment-main-section,
.license-main-section,
.main-container:not([style*="padding-left: inherit"]) {
    padding: 90px 14px 14px 274px !important;
    background: transparent !important;
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .comon-main-section,
    .tablePlan-section,
    .sublicense-section,
    .payment-main-section,
    .license-main-section,
    .main-container:not([style*="padding-left: inherit"]) {
        padding: 90px 14px 14px 14px !important;
    }
}

/* Harmonize inner page containers to match sidebar top (90px) and bottom (14px) */
.tablePlan-container,
.create-sublicense-container,
.sublicense-container,
.sublicense-table-wrapper,
.table-plan-wrapper {
    min-height: calc(100vh - 104px) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-radius: 22px !important;
    border: 1px solid var(--bc-border);
    box-shadow: var(--bc-shadow-md);
}

/* Hero Welcome Card */
.comon-company-card {
    background: var(--bc-bg-surface) !important;
    border: 1px solid var(--bc-border);
    border-radius: 22px !important;
    padding: 24px 26px !important;
    box-shadow: var(--bc-shadow-md);
    position: relative;
    overflow: hidden;
}

.comon-company-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bc-accent-gradient);
    opacity: 0.9;
}

.admin-dashboard-header {
    align-items: center;
    margin-bottom: 10px !important;
    flex-wrap: wrap;
    gap: 12px;
}

.dashboard-headings h2 {
    font-family: var(--bc-font-sans) !important;
    font-size: 0.95rem !important;
    font-weight: 500;
    color: var(--bc-text-muted) !important;
    margin-bottom: 4px;
}

.dashboard-headings span {
    font-size: 1.15rem !important;
}

.dashboard-headings h1 {
    font-size: 1.85rem !important;
    font-weight: 700 !important;
    background: var(--bc-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dashboard-heading-status {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dashboard-heading-status p {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--bc-success-soft);
    border: 1px solid rgba(16, 185, 129, 0.28);
    color: var(--bc-success) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: capitalize;
}

.dashboard-heading-status p::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bc-success);
    box-shadow: 0 0 8px var(--bc-success);
}

/* Feature option mini cards inside dashboard header */
.admin-comon-cards {
    background: var(--bc-bg-elevated) !important;
    border: 1px solid var(--bc-border);
    border-radius: 16px !important;
    padding: 18px 20px !important;
    gap: 14px !important;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.admin-comon-cards:hover {
    transform: translateY(-3px);
    border-color: var(--bc-accent);
    box-shadow: var(--bc-shadow-md);
}

.admin-comon-cards h1 {
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    color: var(--bc-text-primary) !important;
}

.admin-comon-card-content p {
    font-size: 0.8rem !important;
    color: var(--bc-text-muted) !important;
}

.admin-comon-card-content span {
    font-family: var(--bc-font-display);
    font-size: 0.92rem;
    font-weight: 700 !important;
    color: var(--bc-accent) !important;
    background: var(--bc-accent-soft);
    padding: 4px 10px;
    border-radius: 999px;
}

/* Primary CTA Buttons across Admin */
.dashboard-heading-button {
    margin: 16px 0 8px !important;
}

.dashboard-heading-button a {
    background: var(--bc-accent-gradient) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 10px 22px !important;
    font-weight: 600;
    font-size: 0.92rem !important;
    gap: 8px !important;
    box-shadow: var(--bc-shadow-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.dashboard-heading-button a:hover {
    background: var(--bc-accent-gradient-hover) !important;
    color: #FFFFFF !important;
    border: none !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.38);
}

.dashboard-heading-button a:hover svg:not([fill="none"]) path {
    fill: #FFFFFF !important;
}

.dashboard-heading-button a:hover svg[fill="none"],
.dashboard-heading-button a:hover svg[fill="none"] path,
.dashboard-heading-button a:hover svg[fill="none"] polyline,
.dashboard-heading-button a:hover svg[fill="none"] line,
.dashboard-heading-button a:hover svg[fill="none"] circle {
    fill: none !important;
    stroke: #FFFFFF !important;
}

/* KPI Stat Cards */
.total-common-card {
    background-color: var(--bc-bg-surface) !important;
    border: 1px solid var(--bc-border);
    border-radius: 20px !important;
    padding: 22px !important;
    box-shadow: var(--bc-shadow-md);
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.24s ease, box-shadow 0.24s ease;
    position: relative;
    overflow: hidden;
}

.total-common-card:hover {
    transform: translateY(-4px);
    border-color: var(--bc-accent);
    box-shadow: var(--bc-shadow-lg);
}

.total-card-image {
    width: 44px !important;
    height: 44px !important;
    border-radius: 13px !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.total-reserve {
    background: linear-gradient(135deg, #6366F1, #4338CA) !important;
}

.bottle-img {
    background: linear-gradient(135deg, #06B6D4, #0284C7) !important;
}

.current-total-reserve {
    background: linear-gradient(135deg, #10B981, #059669) !important;
}

.team-img-sec {
    background: linear-gradient(135deg, #F59E0B, #D97706) !important;
}

.sale-time {
    background: linear-gradient(135deg, #A855F7, #7C3AED) !important;
}

.total-common-card-head h1 {
    font-family: var(--bc-font-sans) !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    color: var(--bc-text-muted) !important;
}

.total-common-card > h1 {
    font-family: var(--bc-font-display) !important;
    font-size: 2.1rem !important;
    font-weight: 700 !important;
    color: var(--bc-text-primary) !important;
    letter-spacing: -0.03em;
}

/* ==========================================================================
   TABLES, LISTS & DATA CONTAINERS
   ========================================================================== */
.reservation-table,
.comon-table-wrapper,
.table-container {
    background: var(--bc-bg-surface) !important;
    border: 1px solid var(--bc-border);
    border-radius: 22px !important;
    padding: 24px !important;
    box-shadow: var(--bc-shadow-md);
}

.reservation-table-head {
    margin-bottom: 16px;
    gap: 12px;
    flex-wrap: wrap;
}

.reservation-table-head h1 {
    font-size: 1.35rem !important;
    font-weight: 700;
    color: var(--bc-text-primary) !important;
}

.reservation-body table,
.comon-main-section table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--bc-border);
}

.reservation-body table thead tr:nth-child(1),
.comon-main-section table thead tr {
    background: var(--bc-bg-elevated) !important;
}

.reservation-body table th,
.comon-main-section table th {
    padding: 14px 18px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bc-text-muted) !important;
    border-bottom: 1px solid var(--bc-border-strong) !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
}

.reservation-body table td,
.comon-main-section table td {
    padding: 15px 18px !important;
    font-size: 0.92rem;
    color: var(--bc-text-primary) !important;
    border-bottom: 1px solid var(--bc-border) !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    vertical-align: middle;
}

.reservation-body table tr,
.comon-main-section table tbody tr {
    border: none !important;
    transition: background-color 0.16s ease;
}

.reservation-body table tbody tr:hover,
.comon-main-section table tbody tr:hover {
    background: var(--bc-accent-soft) !important;
}

.reservation-body table tbody tr:last-child td,
.comon-main-section table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Fix hardcoded black SVG strokes inside dark mode tables */
body.dark .option-icon svg path,
body.dark .reserve-td-option svg path,
body.dark td svg path[stroke="black"],
body.dark td svg path[stroke="#000"],
body.dark td svg path[stroke="#000000"] {
    stroke: #CBD5E1 !important;
}

/* ==========================================================================
   FORMS, INPUTS, DATE PICKERS, SELECTS & BUTTONS
   ========================================================================== */
.comon-main-section input[type="text"],
.comon-main-section input[type="email"],
.comon-main-section input[type="password"],
.comon-main-section input[type="number"],
.comon-main-section input[type="tel"],
.comon-main-section input[type="date"],
.comon-main-section input[type="time"],
.comon-main-section input[type="search"],
.comon-main-section select,
.comon-main-section textarea,
.payment-main-section input[type="text"],
.payment-main-section textarea,
.profile-main-section input[type="text"],
.profile-main-section input[type="email"],
.profile-main-section input[type="password"],
.profile-main-section select,
.profile-main-section textarea,
.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="password"],
.modal-content input[type="number"],
.modal-content input[type="date"],
.modal-content select,
.modal-content textarea {
    background-color: var(--input-background) !important;
    color: var(--bc-text-primary) !important;
    border: 1px solid var(--bc-border-strong) !important;
    border-radius: 12px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.comon-main-section input:focus,
.comon-main-section select:focus,
.comon-main-section textarea:focus,
.profile-main-section input:focus,
.profile-main-section select:focus,
.profile-main-section textarea:focus,
.modal-content input:focus,
.modal-content select:focus,
.modal-content textarea:focus {
    border-color: var(--bc-accent) !important;
    box-shadow: 0 0 0 3px var(--bc-ring) !important;
    outline: none !important;
}

/* Form controls */
.form-control,
.form-select {
    background-color: var(--input-background) !important;
    color: var(--bc-text-primary) !important;
    border-color: var(--bc-border-strong) !important;
    border-radius: 12px !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--bc-accent) !important;
    box-shadow: 0 0 0 3px var(--bc-ring) !important;
}

.form-label,
.form-text {
    color: var(--bc-text-secondary) !important;
}

/* Primary Buttons */
.btn-primary,
.configuration-button {
    background: var(--bc-accent-gradient) !important;
    border: none !important;
    color: #FFFFFF !important;
    border-radius: 12px !important;
    font-weight: 600;
    padding: 9px 20px;
    box-shadow: var(--bc-shadow-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-primary:hover,
.configuration-button:hover {
    background: var(--bc-accent-gradient-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(99, 102, 241, 0.36);
}

.btn-danger {
    background: linear-gradient(135deg, #EF4444, #DC2626) !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.35);
}

.btn-secondary {
    background: var(--bc-bg-subtle) !important;
    color: var(--bc-text-primary) !important;
    border: 1px solid var(--bc-border-strong) !important;
    border-radius: 12px !important;
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--bc-bg-elevated) !important;
}

/* ==========================================================================
   UNIFIED MODALS & POPUPS (Harmonized across Admin, Super-Admin & Auth)
   ========================================================================== */
.modal-backdrop.show {
    background-color: rgba(4, 7, 15, 0.72) !important;
    opacity: 1 !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal .modal-dialog {
    padding: 12px;
}

.modal .modal-content {
    background: var(--bc-bg-surface) !important;
    color: var(--bc-text-primary) !important;
    border: 1px solid var(--bc-border-strong) !important;
    border-radius: 24px !important;
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.48) !important;
    overflow: hidden;
    position: relative;
}

.modal .modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bc-accent-gradient);
    z-index: 3;
}

.modal .modal-header {
    border-bottom: 1px solid var(--bc-border) !important;
    padding: 20px 26px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px;
    background: transparent !important;
}

.modal .modal-header .modal-title,
.modal .modal-header h1,
.modal .modal-header h2,
.modal .modal-header h3,
.modal .modal-header h5 {
    font-family: var(--bc-font-display) !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--bc-text-primary) !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

/* Harmonized close button (.btn-close and .button-close) */
.modal .btn-close,
.modal .button-close {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background-color: var(--bc-bg-subtle) !important;
    border: 1px solid var(--bc-border-strong) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0.9 !important;
    color: var(--bc-text-primary) !important;
    filter: none !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.modal .btn-close {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230F172A' stroke-width='2.1' stroke-linecap='round'%3E%3Cpath d='M3 3l10 10M13 3L3 13'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 13px 13px !important;
}

body.dark .modal .btn-close {
    filter: none !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(148, 163, 184, 0.24) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23F8FAFC' stroke-width='2.1' stroke-linecap='round'%3E%3Cpath d='M3 3l10 10M13 3L3 13'/%3E%3C/svg%3E") !important;
}

.modal .btn-close:hover,
.modal .button-close:hover {
    opacity: 1 !important;
    background-color: var(--bc-accent-soft) !important;
    border-color: var(--bc-accent) !important;
    transform: rotate(90deg);
}

.modal .modal-body {
    padding: 26px !important;
    color: var(--bc-text-secondary) !important;
    font-size: 0.96rem !important;
    line-height: 1.6 !important;
}

.modal .modal-body p {
    color: var(--bc-text-secondary) !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}

/* Harmonize centered confirmation / logout / delete / refund / trial popups */
.modal .modal-body.logout-modal,
.modal .modal-body.new-design-modal-head,
.modal .modal-body.subscription-modal-head,
.modal .modal-body.otp-modal-body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 28px 26px 22px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
}

.modal .modal-body.subscription-modal-head {
    align-items: flex-start !important;
    text-align: left !important;
}

.modal .modal-body.logout-modal img,
.modal .otp-modal-head img {
    width: 68px !important;
    height: 68px !important;
    object-fit: contain !important;
    margin: 0 auto 4px !important;
    padding: 12px;
    border-radius: 18px;
    background: var(--bc-bg-elevated);
    border: 1px solid var(--bc-border);
}

.modal .modal-body.logout-modal h1,
.modal .modal-body.new-design-modal-head h1,
.modal .modal-body.otp-modal-body h1 {
    font-family: var(--bc-font-display) !important;
    font-size: 1.32rem !important;
    font-weight: 700 !important;
    color: var(--bc-text-primary) !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

.modal .modal-footer,
.modal .modal-footer.logout-modal-footer,
.modal .modal-footer.subscription-modal-footer,
.modal .modal-footer.otp-modal-footer {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 18px 26px !important;
    border-top: 1px solid var(--bc-border) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    flex-wrap: wrap;
    background: var(--bc-bg-elevated) !important;
}

.modal .modal-footer.logout-modal-footer {
    justify-content: center !important;
}

.modal .modal-footer button,
.modal .modal-footer .btn {
    min-height: 44px !important;
    padding: 0 22px !important;
    border-radius: 12px !important;
    font-family: var(--bc-font-sans) !important;
    font-size: 0.94rem !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease !important;
}

.modal .modal-footer.logout-modal-footer button {
    width: auto !important;
    min-width: 130px;
    flex: 1 1 130px;
    max-width: 210px;
}

.modal .modal-footer .cancel-button,
.modal .modal-footer .btn-secondary {
    background: var(--bc-bg-surface) !important;
    border: 1px solid var(--bc-border-strong) !important;
    color: var(--bc-text-primary) !important;
    box-shadow: none !important;
}

.modal .modal-footer .cancel-button:hover,
.modal .modal-footer .btn-secondary:hover {
    background: var(--bc-bg-subtle) !important;
    border-color: var(--bc-accent) !important;
}

.modal .modal-footer .logout-button,
.modal .modal-footer .btn-danger {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
    border: none !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.32) !important;
}

.modal .modal-footer .logout-button:hover,
.modal .modal-footer .btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(239, 68, 68, 0.42) !important;
}

.modal .modal-footer .save-button,
.modal .modal-footer .configuration-button,
.modal .modal-footer .btn-primary,
.modal .modal-footer .submit-button {
    background: var(--bc-accent-gradient) !important;
    border: none !important;
    color: #FFFFFF !important;
    box-shadow: var(--bc-shadow-glow) !important;
}

.modal .modal-footer .save-button:hover,
.modal .modal-footer .configuration-button:hover,
.modal .modal-footer .btn-primary:hover,
.modal .modal-footer .submit-button:hover {
    background: var(--bc-accent-gradient-hover) !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   PAYMENT & SUBSCRIPTION PAGE (/web-app/payment)
   ========================================================================== */
.payment-wrapper,
.history-wrapper,
.subscription-container {
    background: var(--bc-bg-surface) !important;
    border: 1px solid var(--bc-border) !important;
    border-radius: 22px !important;
    box-shadow: var(--bc-shadow-md) !important;
}

.payment-card {
    background: var(--bc-bg-elevated) !important;
    border: 1px solid var(--bc-border) !important;
    border-radius: 18px !important;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.payment-card:hover {
    transform: translateY(-2px);
    border-color: var(--bc-accent) !important;
    box-shadow: var(--bc-shadow-md);
}

.payment-card button {
    background: var(--bc-accent-gradient) !important;
    border-radius: 12px !important;
    border: none !important;
    font-weight: 600;
    box-shadow: var(--bc-shadow-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.payment-card button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.36);
}

.history-invoice-card {
    background: var(--bc-bg-elevated) !important;
    border: 1px solid var(--bc-border) !important;
    border-radius: 14px !important;
}

.history-header button,
.history-invoice-card button,
.subscription-checkbox .subscription-btn-wrapper button {
    background: var(--bc-accent-gradient) !important;
    border: none !important;
    border-radius: 11px !important;
    color: #FFFFFF !important;
    font-weight: 600;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.subscription-checkbox .subscription-btn-wrapper button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

#card-element {
    padding: 14px 16px;
    border: 1px solid var(--bc-border-strong);
    border-radius: 12px;
    background: var(--input-background);
}

/* ==========================================================================
   PROFILE SETTING / ONBOARDING
   ========================================================================== */
.profile-main-section {
    background: transparent !important;
}

.profile-content-container {
    background: var(--bc-bg-surface) !important;
    border: 1px solid var(--bc-border) !important;
    border-radius: 26px !important;
    box-shadow: var(--bc-shadow-lg) !important;
}

.profile-header-section {
    background: var(--bc-bg-elevated) !important;
    border: 1px solid var(--bc-border);
    border-radius: 18px !important;
}

.profile-content-footer .add-card-btn,
.profile-btn-wrapper .add-card-btn,
.stripe-btn-wrapper .add-card-btn {
    background: var(--bc-accent-gradient) !important;
    border: none !important;
    border-radius: 14px !important;
    font-weight: 600;
    box-shadow: var(--bc-shadow-glow);
}

/* ==========================================================================
   AUTH PAGES (Login, Forgot Password, OTP, Reset Password)
   ========================================================================== */
.auth-section {
    background: var(--bc-bg-canvas);
    position: relative;
}

.auth-left-section {
    background: var(--bc-bg-surface) !important;
    border-right: 1px solid var(--bc-border);
    padding: 2.8rem 4.5rem 2rem 4.5rem !important;
    transition: background-color 0.25s ease;
}

body.dark .auth-logo-wrapper svg path {
    fill: #FFFFFF !important;
}

.auth-logo-wrapper {
    max-width: 100% !important;
    gap: 14px;
}

.bc-auth-back-home {
    display: flex;
    align-items: center;
}

.bc-auth-back-home a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 999px;
    background: var(--bc-bg-subtle);
    border: 1px solid var(--bc-border-strong);
    color: var(--bc-text-primary);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bc-auth-back-home a svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.bc-auth-back-home a svg path {
    fill: none !important;
    stroke: currentColor !important;
}

.bc-auth-back-home a:hover {
    background: var(--bc-accent-soft);
    border-color: var(--bc-accent);
    color: var(--bc-accent);
}

.bc-auth-back-home a:hover svg {
    transform: translateX(-3px);
}

.auth-form-header h1 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    background: var(--bc-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-form-header p {
    font-size: 1rem !important;
    color: var(--bc-text-muted) !important;
}

.form-feild label {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: var(--bc-text-secondary) !important;
}

.form-feild input {
    height: 52px !important;
    border-radius: 14px !important;
    border: 1px solid var(--bc-border-strong) !important;
    background: var(--input-background) !important;
    color: var(--bc-text-primary) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-feild input:focus {
    border-color: var(--bc-accent) !important;
    box-shadow: 0 0 0 3px var(--bc-ring) !important;
}

body.dark .eye-icon {
    stroke: #94A3B8 !important;
}

.checkbox-feild input {
    width: 1.25rem !important;
    height: 1.25rem !important;
    accent-color: #6366F1 !important;
    border-radius: 6px;
}

.link-wrapper a {
    color: var(--bc-accent) !important;
    font-weight: 500 !important;
    transition: opacity 0.2s ease;
}

.link-wrapper a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.auth-btn-wrapper button {
    height: 52px !important;
    border-radius: 14px !important;
    background: var(--bc-accent-gradient) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    letter-spacing: 0.01em;
    box-shadow: var(--bc-shadow-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.auth-btn-wrapper button:hover {
    background: var(--bc-accent-gradient-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.42);
}

.auth-right-section {
    background:
        radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.72), transparent 52%),
        radial-gradient(circle at 82% 28%, rgba(6, 182, 212, 0.55), transparent 50%),
        radial-gradient(circle at 50% 85%, rgba(245, 158, 11, 0.28), transparent 52%),
        linear-gradient(155deg, #090B1A 0%, #16153A 50%, #0D1829 100%) !important;
    position: relative;
    overflow: hidden;
}

.auth-right-content {
    background: rgba(15, 19, 34, 0.42) !important;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    padding: 2.2rem !important;
}

.auth-right-content h1 {
    font-family: var(--bc-font-display);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

/* Floating Auth Theme Switcher */
.bc-auth-theme-toggle {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(15, 19, 34, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #F8FAFC;
    font-family: var(--bc-font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.bc-auth-theme-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(165, 180, 252, 0.55);
}

@media (max-width: 1100px) {
    body:not(.dark) .bc-auth-theme-toggle {
        background: rgba(255, 255, 255, 0.9);
        color: #0F172A;
        border-color: rgba(15, 23, 42, 0.12);
    }
}

/* ==========================================================================
   PAGINATION & BADGES & ALERTS
   ========================================================================== */
.pagination .page-link {
    background: var(--bc-bg-surface);
    color: var(--bc-text-primary);
    border: 1px solid var(--bc-border-strong);
    border-radius: 10px !important;
    margin: 0 3px;
    transition: all 0.2s ease;
}

.pagination .page-item.active .page-link {
    background: var(--bc-accent-gradient);
    border-color: transparent;
    color: #FFFFFF;
    box-shadow: var(--bc-shadow-glow);
}

.alert {
    border-radius: 14px !important;
    border-width: 1px !important;
    font-weight: 500;
}

/* ==========================================================================
   SUPER-ADMIN SPECIFIC REFINEMENTS
   ========================================================================== */
/* Super Admin has NO fixed desktop sidebar: remove the 274px admin sidebar offset across ALL super-admin pages */
body.bc-super-admin .main-container,
body.bc-super-admin .main-container:not([style*="padding-left: inherit"]),
body.bc-super-admin .license-main-section,
body.bc-super-admin .comon-main-section {
    padding: 96px 28px 40px 28px !important;
    background: transparent !important;
    display: block !important;
}

body.bc-super-admin .main-container > .container-fluid {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

@media screen and (min-width: 992px) {
    body.bc-super-admin .side-bar-toogle {
        display: none !important;
    }
}

@media screen and (max-width: 991px) {
    body.bc-super-admin .main-container,
    body.bc-super-admin .main-container:not([style*="padding-left: inherit"]),
    body.bc-super-admin .license-main-section,
    body.bc-super-admin .comon-main-section {
        padding: 92px 16px 32px 16px !important;
    }
}

body.bc-super-admin .superadmin-dashboard-header {
    background: var(--bc-bg-surface) !important;
    border: 1px solid var(--bc-border) !important;
    border-radius: 22px !important;
    padding: 22px 26px !important;
    box-shadow: var(--bc-shadow-md);
    gap: 16px;
    flex-wrap: wrap;
}

body.bc-super-admin .superadmin-dashboard-header .dashboard-heading-button {
    margin: 0 !important;
    gap: 12px !important;
    flex-wrap: wrap;
}

body.bc-super-admin .super-dashboard-content {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-top: 22px;
}

body.bc-super-admin .total-list-section {
    width: 280px;
    flex-shrink: 0;
    gap: 14px;
}

body.bc-super-admin .comon-cards {
    background-color: var(--bc-bg-surface) !important;
    border: 1px solid var(--bc-border) !important;
    border-radius: 20px !important;
    padding: 20px 22px !important;
    gap: 18px !important;
    box-shadow: var(--bc-shadow-md);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

body.bc-super-admin .comon-cards:hover {
    transform: translateY(-2px);
    border-color: var(--bc-accent) !important;
}

body.bc-super-admin .comon-cards .card-head-img {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    flex-shrink: 0;
}

body.bc-super-admin .comon-cards .comon-card-head h1 {
    font-family: var(--bc-font-sans) !important;
    font-size: 0.96rem !important;
    font-weight: 600 !important;
    color: var(--bc-text-secondary) !important;
}

body.bc-super-admin .comon-cards > h1,
body.bc-super-admin .comon-cards .bc-kpi-val-wrap h1 {
    font-family: var(--bc-font-display) !important;
    font-size: clamp(1.22rem, 2.15vw, 1.95rem) !important;
    font-weight: 700 !important;
    color: var(--bc-text-primary) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em;
}

body.bc-super-admin .tab-section {
    flex: 1;
    width: auto !important;
    min-width: 0;
    padding: 0 !important;
}

body.bc-super-admin .tabs-head {
    background: var(--bc-bg-surface) !important;
    border: 1px solid var(--bc-border) !important;
    border-radius: 18px !important;
    padding: 10px 14px !important;
    box-shadow: var(--bc-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

body.bc-super-admin .bc-sa-tabs-left {
    display: flex;
    align-items: center;
}

body.bc-super-admin .bc-sa-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

body.bc-super-admin .bc-per-page-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--bc-text-muted);
}

body.bc-super-admin .bc-per-page-control select {
    height: 38px;
    padding: 0 12px;
    border-radius: 11px;
    background: var(--bc-bg-elevated);
    border: 1px solid var(--bc-border-strong);
    color: var(--bc-text-primary);
    font-family: var(--bc-font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease;
}

body.bc-super-admin .bc-per-page-control select:focus,
body.bc-super-admin .bc-per-page-control select:hover {
    border-color: var(--bc-accent);
}

body.bc-super-admin .bc-view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border-radius: 12px;
    background: var(--bc-bg-elevated);
    border: 1px solid var(--bc-border-strong);
}

body.bc-super-admin .bc-view-btn {
    height: 32px;
    padding: 0 11px;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: var(--bc-text-muted);
    font-family: var(--bc-font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

body.bc-super-admin .bc-view-btn:hover {
    color: var(--bc-text-primary);
}

body.bc-super-admin .bc-view-btn.active {
    background: var(--bc-accent-gradient);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Financial KPI cards & CTA in Super Admin left column */
body.bc-super-admin a.comon-cards {
    text-decoration: none;
    cursor: pointer;
}

body.bc-super-admin .bc-kpi-icon-sub {
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%) !important;
    color: #FFFFFF;
}

body.bc-super-admin .bc-kpi-icon-fees {
    background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%) !important;
    color: #FFFFFF;
}

body.bc-super-admin .bc-kpi-revenue-card > h1,
body.bc-super-admin .bc-kpi-revenue-card .bc-kpi-val-wrap h1 {
    background: linear-gradient(135deg, #818CF8 0%, #22D3EE 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(1.12rem, 1.9vw, 1.72rem) !important;
}

body.bc-super-admin.light .bc-kpi-revenue-card > h1,
body.bc-super-admin.light .bc-kpi-revenue-card .bc-kpi-val-wrap h1 {
    background: linear-gradient(135deg, #4F46E5 0%, #0284C7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.bc-super-admin .bc-kpi-fees-card > h1,
body.bc-super-admin .bc-kpi-fees-card .bc-kpi-val-wrap h1 {
    color: #22D3EE !important;
    font-size: clamp(1.12rem, 1.9vw, 1.72rem) !important;
}

body.bc-super-admin.light .bc-kpi-fees-card > h1,
body.bc-super-admin.light .bc-kpi-fees-card .bc-kpi-val-wrap h1 {
    color: #0284C7 !important;
}

body.bc-super-admin .superadmin-dashboard-header .dashboard-heading-button a,
body.bc-super-admin .bc-sa-header-btn,
body.bc-super-admin .bc-finances-nav-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px !important;
}

body.bc-super-admin .bc-mobile-status-wrap {
    display: none;
}

body.bc-super-admin .bc-delete-pending-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(239, 68, 68, 0.34);
    background: rgba(239, 68, 68, 0.12);
    color: #F87171;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.18s ease;
}

body.bc-super-admin.light .bc-delete-pending-btn {
    color: #DC2626;
}

body.bc-super-admin .bc-delete-pending-btn:hover {
    background: #EF4444;
    border-color: #EF4444;
    color: #FFFFFF;
    transform: scale(1.05);
}

body.bc-super-admin .bc-modal-danger-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.34);
    color: #F87171;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

/* Card view: delete button top-right, Free Trial centered in the middle */
body.bc-super-admin .comon-company-card {
    position: relative;
}

body.bc-super-admin #myTabContent:not(.bc-view-list) .comon-company-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "head actions"
        "trial trial"
        "body body";
    row-gap: 12px;
    column-gap: 12px;
    align-items: start;
}

body.bc-super-admin #myTabContent:not(.bc-view-list) .card-detail-sec {
    grid-area: head;
}

body.bc-super-admin #myTabContent:not(.bc-view-list) .bc-card-trial-slot {
    grid-area: trial;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

body.bc-super-admin #myTabContent:not(.bc-view-list) .bc-card-actions-right {
    grid-area: actions;
    justify-self: end;
    align-self: start;
}

body.bc-super-admin #myTabContent:not(.bc-view-list) .comon-card-body {
    grid-area: body;
}

/* Dashboard List / Row View Mode:
   Left = Club name/email | Middle = Statut + Date + Emplacement stacked in ONE column | Far Right = Badges + Delete button */
body.bc-super-admin #myTabContent.bc-view-list .tabs-main-cards {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

body.bc-super-admin #myTabContent.bc-view-list .comon-company-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 22px !important;
    border-radius: 16px !important;
    gap: 24px !important;
}

body.bc-super-admin #myTabContent.bc-view-list .comon-company-card::before {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 3px;
    height: auto;
}

body.bc-super-admin #myTabContent.bc-view-list .card-detail-sec {
    flex: 1.05;
    min-width: 210px;
    align-items: center;
    order: 1;
}

body.bc-super-admin #myTabContent.bc-view-list .bc-card-trial-slot {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    order: 2;
}

body.bc-super-admin #myTabContent.bc-view-list .company-logo-comon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    border-radius: 12px !important;
}

body.bc-super-admin #myTabContent.bc-view-list .comon-card-body {
    flex: 1.3;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 5px !important;
    padding-top: 0 !important;
    border-top: none !important;
    min-width: 240px;
    max-width: 440px;
    order: 3;
}

body.bc-super-admin #myTabContent.bc-view-list .comon-card-body p {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 14px;
    margin: 0;
    font-size: 0.84rem !important;
    line-height: 1.35 !important;
}

body.bc-super-admin #myTabContent.bc-view-list .comon-card-body .full-address {
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.bc-super-admin #myTabContent.bc-view-list .bc-card-actions-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
    order: 4;
}

@media screen and (max-width: 991px) {
    body.bc-super-admin #myTabContent.bc-view-list .comon-company-card {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    body.bc-super-admin #myTabContent.bc-view-list .comon-card-body {
        max-width: none;
        padding-top: 12px !important;
        border-top: 1px solid var(--bc-border) !important;
    }

    body.bc-super-admin #myTabContent.bc-view-list .bc-card-actions-right {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ==========================================================================
   SUPER-ADMIN FINANCIAL DASHBOARD (/web-app/finances)
   ========================================================================== */
body.bc-super-admin .bc-fin-topbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 10px;
}

body.bc-super-admin .bc-fin-topbar .bc-sa-back-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

body.bc-super-admin .bc-fin-year-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bc-bg-surface);
    border: 1px solid var(--bc-border-strong);
    border-radius: 12px;
    padding: 5px 10px 5px 12px;
    flex-shrink: 0;
    white-space: nowrap;
}

body.bc-super-admin .bc-fin-year-form label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--bc-text-muted);
    margin: 0;
}

body.bc-super-admin .bc-fin-year-form select {
    height: 32px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1px solid var(--bc-border-strong);
    background: var(--bc-bg-elevated);
    color: var(--bc-text-primary);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
}

body.bc-super-admin .bc-fin-header {
    margin-bottom: 22px;
}

body.bc-super-admin .bc-fin-header-pills {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

body.bc-super-admin .bc-fin-pill {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 16px;
    border-radius: 14px;
    background: var(--bc-bg-elevated);
    border: 1px solid var(--bc-border-strong);
    min-width: 150px;
}

body.bc-super-admin .bc-fin-pill span {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bc-text-muted);
}

body.bc-super-admin .bc-fin-pill strong {
    font-family: var(--bc-font-display);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--bc-text-primary);
}

body.bc-super-admin .bc-fin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

body.bc-super-admin .bc-fin-kpi-card {
    background: var(--bc-bg-surface);
    border: 1px solid var(--bc-border);
    border-radius: 20px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--bc-shadow-md);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

body.bc-super-admin .bc-fin-kpi-card:hover {
    transform: translateY(-2px);
    border-color: var(--bc-accent);
}

body.bc-super-admin .bc-fin-kpi-card.bc-fin-kpi-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bc-accent-gradient);
}

body.bc-super-admin .bc-fin-kpi-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

body.bc-super-admin .bc-fin-kpi-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--bc-text-muted);
}

body.bc-super-admin .bc-fin-kpi-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    flex-shrink: 0;
}

body.bc-super-admin .bc-fin-icon-indigo  { background: linear-gradient(135deg, #6366F1, #4338CA); }
body.bc-super-admin .bc-fin-icon-violet  { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
body.bc-super-admin .bc-fin-icon-cyan    { background: linear-gradient(135deg, #06B6D4, #0284C7); }
body.bc-super-admin .bc-fin-icon-emerald { background: linear-gradient(135deg, #10B981, #059669); }
body.bc-super-admin .bc-fin-icon-amber   { background: linear-gradient(135deg, #F59E0B, #D97706); }
body.bc-super-admin .bc-fin-icon-pink    { background: linear-gradient(135deg, #EC4899, #BE185D); }

body.bc-super-admin .bc-fin-kpi-value {
    font-family: var(--bc-font-display);
    font-size: clamp(1.32rem, 2.3vw, 1.95rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--bc-text-primary);
    line-height: 1.1;
}

body.bc-super-admin .bc-fin-kpi-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--bc-text-muted);
}

body.bc-super-admin .bc-fin-kpi-meta strong {
    color: var(--bc-text-primary);
}

body.bc-super-admin .bc-fin-trend {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
}

body.bc-super-admin .bc-fin-trend.is-up {
    background: rgba(16, 185, 129, 0.16);
    color: #34D399;
}

body.bc-super-admin .bc-fin-trend.is-down {
    background: rgba(239, 68, 68, 0.16);
    color: #F87171;
}

body.bc-super-admin .bc-fin-charts-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 22px;
}

body.bc-super-admin .bc-fin-middle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 22px;
}

body.bc-super-admin .bc-fin-panel {
    background: var(--bc-bg-surface);
    border: 1px solid var(--bc-border);
    border-radius: 22px;
    padding: 24px 26px;
    box-shadow: var(--bc-shadow-md);
}

body.bc-super-admin .bc-fin-table-panel {
    margin-bottom: 22px;
}

body.bc-super-admin .bc-fin-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

body.bc-super-admin .bc-fin-panel-head h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bc-text-primary);
    margin: 0 0 4px;
}

body.bc-super-admin .bc-fin-panel-head p {
    font-size: 0.85rem;
    color: var(--bc-text-muted);
    margin: 0;
}

body.bc-super-admin .bc-fin-chart-wrap {
    position: relative;
    height: 320px;
    width: 100%;
}

body.bc-super-admin .bc-fin-donut-wrap {
    position: relative;
    height: 210px;
    width: 100%;
    margin-bottom: 18px;
}

body.bc-super-admin .bc-fin-legend-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.bc-super-admin .bc-fin-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--bc-bg-elevated);
    border: 1px solid var(--bc-border);
    font-size: 0.86rem;
}

body.bc-super-admin .bc-fin-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

body.bc-super-admin .bc-fin-legend-name {
    flex: 1;
    color: var(--bc-text-secondary);
}

body.bc-super-admin .bc-fin-legend-item strong {
    color: var(--bc-text-primary);
    font-family: var(--bc-font-display);
}

body.bc-super-admin .bc-best-client-spotlight {
    display: block;
    text-decoration: none;
    padding: 18px 20px;
    border-radius: 18px;
    background:
        radial-gradient(ellipse 80% 80% at 90% 10%, rgba(251, 191, 36, 0.16), transparent 60%),
        var(--bc-bg-elevated);
    border: 1px solid rgba(251, 191, 36, 0.36);
    margin-bottom: 16px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

body.bc-super-admin .bc-best-client-spotlight:hover {
    transform: translateY(-2px);
    border-color: #FBBF24;
}

body.bc-super-admin .bc-best-client-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.18);
    color: #FBBF24;
    font-size: 0.76rem;
    font-weight: 700;
    margin-bottom: 10px;
}

body.bc-super-admin.light .bc-best-client-badge {
    color: #B45309;
}

body.bc-super-admin .bc-best-client-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

body.bc-super-admin .bc-best-client-row h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bc-text-primary);
    margin: 0 0 3px;
}

body.bc-super-admin .bc-best-client-row p {
    font-size: 0.84rem;
    color: var(--bc-text-muted);
    margin: 0;
}

body.bc-super-admin .bc-best-client-amount {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body.bc-super-admin .bc-best-client-amount strong {
    font-family: var(--bc-font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: #34D399;
}

body.bc-super-admin.light .bc-best-client-amount strong {
    color: #059669;
}

body.bc-super-admin .bc-best-client-amount span {
    font-size: 0.78rem;
    color: var(--bc-text-muted);
}

body.bc-super-admin .bc-top-clients-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.bc-super-admin .bc-top-client-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 14px;
    background: var(--bc-bg-elevated);
    border: 1px solid var(--bc-border);
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.18s ease;
}

body.bc-super-admin .bc-top-client-item:hover {
    border-color: var(--bc-accent);
    transform: translateX(2px);
}

body.bc-super-admin .bc-rank-badge {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--bc-bg-surface);
    border: 1px solid var(--bc-border-strong);
    color: var(--bc-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.bc-super-admin .bc-rank-badge.is-gold   { background: rgba(251, 191, 36, 0.18); border-color: rgba(251, 191, 36, 0.45); color: #FBBF24; }
body.bc-super-admin .bc-rank-badge.is-silver { background: rgba(148, 163, 184, 0.18); border-color: rgba(148, 163, 184, 0.45); color: #CBD5E1; }
body.bc-super-admin .bc-rank-badge.is-bronze { background: rgba(217, 119, 6, 0.18); border-color: rgba(217, 119, 6, 0.45); color: #F59E0B; }

body.bc-super-admin .bc-top-client-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body.bc-super-admin .bc-top-client-info strong {
    font-size: 0.92rem;
    color: var(--bc-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.bc-super-admin .bc-top-client-info span {
    font-size: 0.78rem;
    color: var(--bc-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.bc-super-admin .bc-top-client-metrics {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}

body.bc-super-admin .bc-top-client-metrics strong {
    font-family: var(--bc-font-display);
    font-size: 0.96rem;
    color: var(--bc-text-primary);
}

body.bc-super-admin .bc-top-client-metrics span {
    font-size: 0.74rem;
    color: var(--bc-text-muted);
}

body.bc-super-admin .bc-options-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body.bc-super-admin .bc-option-row {
    padding: 14px 16px;
    border-radius: 15px;
    background: var(--bc-bg-elevated);
    border: 1px solid var(--bc-border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.bc-super-admin .bc-option-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

body.bc-super-admin .bc-option-head strong {
    font-size: 0.94rem;
    color: var(--bc-text-primary);
}

body.bc-super-admin .bc-option-price {
    margin-left: 8px;
    font-size: 0.78rem;
    color: var(--bc-text-muted);
}

body.bc-super-admin .bc-option-counts {
    font-size: 0.84rem;
    color: var(--bc-text-muted);
}

body.bc-super-admin .bc-option-counts strong {
    font-family: var(--bc-font-display);
    color: var(--bc-text-primary);
    font-size: 1rem;
    margin-right: 3px;
}

body.bc-super-admin .bc-option-bar-track {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: var(--bc-bg-surface);
    overflow: hidden;
}

body.bc-super-admin .bc-option-bar-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

body.bc-super-admin .bc-option-sub {
    font-size: 0.76rem;
    color: var(--bc-text-muted);
}

body.bc-super-admin .bc-fin-table-scroll {
    width: 100%;
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--bc-border);
}

body.bc-super-admin .bc-fin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 720px;
}

body.bc-super-admin .bc-fin-table th {
    background: var(--bc-bg-elevated);
    color: var(--bc-text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 13px 16px;
    border-bottom: 1px solid var(--bc-border-strong);
    text-align: left;
}

body.bc-super-admin .bc-fin-table td {
    padding: 13px 16px;
    font-size: 0.9rem;
    color: var(--bc-text-primary);
    border-bottom: 1px solid var(--bc-border);
}

body.bc-super-admin .bc-fin-table tbody tr:hover td {
    background: var(--bc-accent-soft);
}

body.bc-super-admin .bc-fin-table tbody tr.is-selected-year td {
    background: rgba(99, 102, 241, 0.10);
}

body.bc-super-admin .bc-fin-table tfoot td {
    background: var(--bc-bg-elevated);
    border-top: 1px solid var(--bc-border-strong);
    border-bottom: none;
}

body.bc-super-admin .bc-fin-highlight {
    color: var(--bc-accent);
    font-family: var(--bc-font-display);
}

body.bc-super-admin .bc-fin-muted {
    color: var(--bc-text-muted) !important;
}

body.bc-super-admin .bc-fin-empty {
    text-align: center;
    padding: 28px 16px;
    color: var(--bc-text-muted);
    font-size: 0.92rem;
    margin: 0;
}

body.bc-super-admin .bc-fin-all-clients-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 14px;
    border-radius: 10px;
    background: var(--bc-accent-soft);
    border: 1px solid rgba(129, 140, 248, 0.34);
    color: var(--bc-accent);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.18s ease;
}

body.bc-super-admin .bc-fin-all-clients-btn:hover {
    background: var(--bc-accent-gradient);
    border-color: transparent;
    color: #FFFFFF;
    transform: translateY(-1px);
}

body.bc-super-admin .bc-fin-month-pager {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

body.bc-super-admin .bc-fin-pager-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 13px;
    border-radius: 10px;
    background: var(--bc-bg-elevated);
    border: 1px solid var(--bc-border-strong);
    color: var(--bc-text-primary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

body.bc-super-admin .bc-fin-pager-btn:hover:not(:disabled) {
    border-color: var(--bc-accent);
    color: var(--bc-accent);
    background: var(--bc-accent-soft);
}

body.bc-super-admin .bc-fin-pager-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}

body.bc-super-admin .bc-fin-pager-range {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 14px;
    border-radius: 10px;
    background: var(--bc-accent-soft);
    border: 1px solid rgba(129, 140, 248, 0.28);
    color: var(--bc-accent);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

body.bc-super-admin .bc-clients-modal-header {
    padding: 20px 24px !important;
    border-bottom: 1px solid var(--bc-border) !important;
    align-items: flex-start !important;
}

body.bc-super-admin .bc-clients-modal-sub {
    font-size: 0.84rem;
    color: var(--bc-text-muted);
    margin: 4px 0 0;
}

body.bc-super-admin .bc-clients-modal-body {
    padding: 20px 24px !important;
}

body.bc-super-admin .bc-clients-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px 0 16px;
    height: 50px;
    border-radius: 14px;
    background: var(--bc-bg-elevated);
    border: 1px solid var(--bc-border-strong);
    color: var(--bc-text-muted);
    margin-bottom: 18px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.bc-super-admin .bc-clients-search-bar svg {
    flex-shrink: 0;
    color: var(--bc-text-muted);
    transition: color 0.2s ease;
}

body.bc-super-admin .bc-clients-search-bar:focus-within {
    border-color: var(--bc-accent);
    box-shadow: 0 0 0 3px var(--bc-ring);
}

body.bc-super-admin .bc-clients-search-bar:focus-within svg {
    color: var(--bc-accent);
}

body.bc-super-admin .bc-clients-search-bar input {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: var(--bc-text-primary) !important;
    font-size: 0.94rem !important;
    outline: none !important;
}

body.bc-super-admin .bc-clients-search-bar input:focus {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

body.bc-super-admin .bc-clients-search-bar input::placeholder {
    color: var(--bc-text-muted) !important;
    opacity: 0.85;
}

body.bc-super-admin .bc-clients-search-count {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bc-text-muted);
    white-space: nowrap;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--bc-bg-surface);
    border: 1px solid var(--bc-border);
}

body.bc-super-admin .bc-modal-clients-list {
    max-height: 460px;
    overflow-y: auto;
    padding-right: 4px;
}

@media screen and (max-width: 1200px) {
    body.bc-super-admin .bc-fin-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.bc-super-admin .bc-fin-charts-grid,
    body.bc-super-admin .bc-fin-middle-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media screen and (max-width: 767.98px) {
    body.bc-super-admin .bc-fin-page .container-fluid {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    body.bc-super-admin .bc-fin-topbar {
        gap: 8px;
    }

    body.bc-super-admin .bc-fin-topbar .bc-sa-back-btn {
        height: 40px;
        padding: 0 13px;
        font-size: 0.84rem;
    }

    body.bc-super-admin .bc-fin-year-form {
        height: 40px;
        padding: 4px 8px 4px 10px;
        gap: 6px;
    }

    body.bc-super-admin .bc-fin-year-form label {
        font-size: 0.78rem;
    }

    body.bc-super-admin .bc-fin-year-form select {
        height: 30px;
        padding: 0 8px;
        font-size: 0.84rem;
    }

    body.bc-super-admin .bc-fin-kpi-grid,
    body.bc-super-admin .bc-fin-charts-grid,
    body.bc-super-admin .bc-fin-middle-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        gap: 14px !important;
    }

    body.bc-super-admin .bc-fin-header,
    body.bc-super-admin .bc-fin-kpi-card,
    body.bc-super-admin .bc-fin-panel,
    body.bc-super-admin .bc-fin-table-panel {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 18px 16px !important;
        border-radius: 18px !important;
    }

    body.bc-super-admin .bc-fin-header-pills {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        gap: 10px !important;
    }

    body.bc-super-admin .bc-fin-pill {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
}

@media screen and (max-width: 400px) {
    body.bc-super-admin .bc-fin-year-form label {
        font-size: 0.72rem;
    }
}

/* Super Admin Dashboard Pagination Bar */
body.bc-super-admin .bc-sa-pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px !important;
    padding: 14px 18px;
    border-radius: 16px;
    background: var(--bc-bg-surface);
    border: 1px solid var(--bc-border);
}

body.bc-super-admin .bc-pagination-info {
    font-size: 0.86rem;
    color: var(--bc-text-muted);
}

body.bc-super-admin .bc-pagination-info strong {
    color: var(--bc-text-primary);
    font-weight: 600;
}

body.bc-super-admin .bc-sa-pagination .pagination-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

body.bc-super-admin .bc-sa-pagination .control-buton,
body.bc-super-admin .bc-sa-pagination .pagination-count {
    min-width: 38px;
    height: 38px;
    padding: 0 13px;
    border-radius: 10px;
    border: 1px solid var(--bc-border-strong);
    background: var(--bc-bg-elevated);
    color: var(--bc-text-primary);
    font-size: 0.86rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

body.bc-super-admin .bc-sa-pagination a.control-buton:hover,
body.bc-super-admin .bc-sa-pagination a.pagination-count:hover {
    border-color: var(--bc-accent);
    color: var(--bc-accent);
    background: var(--bc-accent-soft);
}

body.bc-super-admin .bc-sa-pagination .control-buton:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}

body.bc-super-admin .bc-sa-pagination .pagination-count.active-button {
    background: var(--bc-accent-gradient) !important;
    border-color: transparent !important;
    color: #FFFFFF !important;
    box-shadow: var(--bc-shadow-glow);
}

body.bc-super-admin .bc-sa-pagination .bc-page-ellipsis {
    border: none;
    background: transparent;
    pointer-events: none;
    color: var(--bc-text-muted);
}

/* ==========================================================================
   SUPER-ADMIN LICENSE DETAIL PAGE (/web-app/license/view/{id})
   ========================================================================== */
body.bc-super-admin .bc-sa-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

body.bc-super-admin .bc-sa-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    background: var(--bc-bg-surface);
    border: 1px solid var(--bc-border-strong);
    color: var(--bc-text-primary);
    font-family: var(--bc-font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--bc-shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

body.bc-super-admin .bc-sa-back-btn:hover {
    border-color: var(--bc-accent);
    color: var(--bc-accent);
    background: var(--bc-accent-soft);
    transform: translateX(-2px);
}

body.bc-super-admin .license-content-container {
    width: 100%;
    background: var(--bc-bg-surface);
    border: 1px solid var(--bc-border);
    border-radius: 24px !important;
    overflow: hidden;
    box-shadow: var(--bc-shadow-lg);
}

body.bc-super-admin .map-image-wrapper {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: var(--bc-bg-elevated);
}

body.bc-super-admin .map-image-wrapper::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 70px;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 15, 29, 0.55) 100%);
    pointer-events: none;
}

body.bc-super-admin.light .map-image-wrapper::after {
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.16) 100%);
}

body.bc-super-admin .map-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
}

body.bc-super-admin .license-details-wrapper {
    background: var(--bc-bg-surface) !important;
    border-radius: 0 !important;
    padding-bottom: 12px;
}

body.bc-super-admin .license-header-section {
    padding: 20px 28px 26px !important;
    gap: 24px !important;
    border-bottom: 1px solid var(--bc-border) !important;
}

body.bc-super-admin .license-header {
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 18px;
}

body.bc-super-admin .license-header-left {
    display: flex;
    flex-direction: row !important;
    align-items: center !important;
    gap: 18px;
    position: relative;
}

body.bc-super-admin .license-header-left-img {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    margin-top: -54px;
    width: 104px !important;
    min-width: 104px;
    max-width: 104px !important;
    height: 104px !important;
    border-radius: 22px !important;
    border: 4px solid var(--bc-bg-surface);
    background: var(--bc-bg-elevated);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

body.bc-super-admin .license-header-left-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
}

body.bc-super-admin .license-header-left-img .bc-company-initials {
    font-size: 1.75rem;
}

body.bc-super-admin .bc-license-identity {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body.bc-super-admin .license-header-left h1 {
    padding-left: 0 !important;
    font-size: 1.55rem !important;
    font-weight: 700 !important;
    color: var(--bc-text-primary) !important;
}

body.bc-super-admin .license-header-left p {
    padding-left: 0 !important;
    font-size: 0.94rem !important;
    color: var(--bc-text-muted) !important;
}

body.bc-super-admin .license-header-right {
    display: flex;
    align-items: center;
    gap: 12px !important;
    flex-wrap: wrap;
}

body.bc-super-admin .license-header-right .payment-via-email-button {
    height: 42px;
    padding: 0 18px !important;
    border-radius: 12px !important;
    background: var(--bc-accent-gradient) !important;
    color: #FFFFFF !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    box-shadow: var(--bc-shadow-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.bc-super-admin .license-header-right .payment-via-email-button:hover {
    background: var(--bc-accent-gradient-hover) !important;
    transform: translateY(-1px);
}

body.bc-super-admin .header-right-option a,
body.bc-super-admin .header-right-option button.delete-button {
    height: 42px;
    padding: 0 16px !important;
    border-radius: 12px !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

body.bc-super-admin .header-right-option a {
    background: var(--bc-bg-elevated) !important;
    border: 1px solid var(--bc-border-strong) !important;
    color: var(--bc-text-primary) !important;
}

body.bc-super-admin .header-right-option a svg {
    width: 17px;
    height: 17px;
    stroke: var(--bc-accent) !important;
}

body.bc-super-admin .header-right-option a span {
    font-size: 0.9rem !important;
    color: var(--bc-text-primary) !important;
}

body.bc-super-admin .header-right-option a:hover {
    border-color: var(--bc-accent) !important;
    background: var(--bc-accent-soft) !important;
}

body.bc-super-admin .header-right-option button.delete-button {
    background: rgba(239, 68, 68, 0.12) !important;
    border: 1px solid rgba(239, 68, 68, 0.32) !important;
}

body.bc-super-admin .header-right-option button.delete-button img {
    width: 16px;
    height: 16px;
}

body.bc-super-admin .header-right-option button.delete-button span {
    font-size: 0.9rem !important;
    color: #F87171 !important;
}

body.bc-super-admin.light .header-right-option button.delete-button span {
    color: #DC2626 !important;
}

body.bc-super-admin .header-right-option button.delete-button:hover {
    background: rgba(239, 68, 68, 0.22) !important;
    border-color: rgba(239, 68, 68, 0.55) !important;
}

body.bc-super-admin .license-header-content {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px !important;
    padding: 0 !important;
}

body.bc-super-admin .license-header-card {
    background: var(--bc-bg-elevated);
    border: 1px solid var(--bc-border);
    border-radius: 16px;
    padding: 14px 18px;
}

body.bc-super-admin .license-header-card p {
    font-size: 0.76rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bc-text-muted) !important;
    padding-bottom: 6px !important;
}

body.bc-super-admin .license-header-card h1 {
    font-family: var(--bc-font-sans) !important;
    font-size: 0.98rem !important;
    font-weight: 600 !important;
    color: var(--bc-text-primary) !important;
    word-break: break-word;
}

body.bc-super-admin .license-header-card h1.active {
    color: #34D399 !important;
    text-transform: capitalize;
}

body.bc-super-admin.light .license-header-card h1.active {
    color: #059669 !important;
}

body.bc-super-admin .license-card-section {
    padding: 24px 28px !important;
    border-bottom: 1px solid var(--bc-border) !important;
    gap: 18px !important;
}

body.bc-super-admin .license-card-buttons {
    background: var(--bc-bg-elevated) !important;
    border: 1px solid var(--bc-border-strong);
    border-radius: 14px !important;
    padding: 4px !important;
    gap: 4px !important;
}

body.bc-super-admin .license-card-buttons button {
    padding: 8px 16px !important;
    border-radius: 10px !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    color: var(--bc-text-muted) !important;
    transition: all 0.2s ease;
}

body.bc-super-admin .license-card-buttons button:hover {
    color: var(--bc-text-primary) !important;
}

body.bc-super-admin .license-card-buttons button.active {
    background: var(--bc-accent-gradient) !important;
    color: #FFFFFF !important;
    box-shadow: var(--bc-shadow-glow);
}

body.bc-super-admin .license-info-card {
    background: var(--bc-bg-elevated) !important;
    border: 1px solid var(--bc-border) !important;
    border-radius: 18px !important;
    padding: 22px 24px !important;
    gap: 20px !important;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

body.bc-super-admin .license-info-card:hover {
    transform: translateY(-2px);
    border-color: var(--bc-accent) !important;
}

body.bc-super-admin .license-info-card-header span {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--bc-text-primary) !important;
}

body.bc-super-admin .license-info-card-content p {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: var(--bc-text-muted) !important;
}

body.bc-super-admin .license-info-card-content h1 {
    font-family: var(--bc-font-display) !important;
    font-size: 1.95rem !important;
    font-weight: 700 !important;
    color: #34D399 !important;
}

body.bc-super-admin .license-info-card-content h1.ticketing {
    color: #FBBF24 !important;
}

body.bc-super-admin .license-info-card-content h1.commission {
    color: #818CF8 !important;
}

body.bc-super-admin.light .license-info-card-content h1.commission {
    color: #4F46E5 !important;
}

body.bc-super-admin .license-grid-section {
    padding: 24px 28px !important;
    gap: 14px !important;
    border-bottom: 1px solid var(--bc-border) !important;
}

body.bc-super-admin .license-grid-card {
    background: var(--bc-bg-elevated);
    border: 1px solid var(--bc-border) !important;
    border-radius: 16px;
    padding: 16px 18px !important;
    gap: 12px !important;
}

body.bc-super-admin .license-grid-card-header h1 {
    font-family: var(--bc-font-sans) !important;
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    color: var(--bc-text-primary) !important;
}

body.bc-super-admin .license-grid-card-content p {
    font-size: 0.82rem !important;
    color: var(--bc-text-muted) !important;
}

body.bc-super-admin .license-grid-card-content h5 {
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    color: var(--bc-accent) !important;
    margin: 0;
}

body.bc-super-admin .license-grid-card.last-card {
    opacity: 0.48;
}

body.bc-super-admin .license-description-section,
body.bc-super-admin .license-table-section {
    padding: 24px 28px !important;
}

body.bc-super-admin .license-description-section {
    border-bottom: 1px solid var(--bc-border) !important;
}

body.bc-super-admin .license-description-section h1,
body.bc-super-admin .license-table-section h1 {
    font-size: 1.12rem !important;
    font-weight: 700 !important;
    color: var(--bc-text-primary) !important;
}

body.bc-super-admin .license-description-section p {
    color: var(--bc-text-secondary) !important;
    font-size: 0.95rem !important;
    line-height: 1.65;
}

body.bc-super-admin .license-table-select select {
    height: 44px !important;
    border-radius: 12px !important;
    background: var(--bc-bg-elevated) !important;
    border: 1px solid var(--bc-border-strong) !important;
    color: var(--bc-text-primary) !important;
    font-size: 0.9rem !important;
}

body.bc-super-admin .license-table {
    border: 1px solid var(--bc-border) !important;
    border-radius: 16px !important;
    overflow: hidden;
}

body.bc-super-admin .license-table th {
    background: var(--bc-bg-elevated) !important;
    color: var(--bc-text-muted) !important;
    font-size: 0.78rem !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 14px 18px !important;
}

body.bc-super-admin .license-table td {
    color: var(--bc-text-primary) !important;
    padding: 14px 18px !important;
    font-size: 0.92rem !important;
}

body.bc-super-admin .license-table tr {
    border-bottom: 1px solid var(--bc-border) !important;
}

@media screen and (max-width: 1100px) {
    body.bc-super-admin .license-header-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 640px) {
    body.bc-super-admin .license-header-content {
        grid-template-columns: 1fr;
    }

    body.bc-super-admin .license-header-section,
    body.bc-super-admin .license-card-section,
    body.bc-super-admin .license-grid-section,
    body.bc-super-admin .license-description-section,
    body.bc-super-admin .license-table-section {
        padding: 18px 16px !important;
    }

    body.bc-super-admin .license-header-left-img {
        width: 76px !important;
        min-width: 76px;
        max-width: 76px !important;
        height: 76px !important;
        margin-top: -36px;
    }
}

body.bc-super-admin .nav-tabs {
    gap: 8px !important;
    border-bottom: none !important;
}

body.bc-super-admin .tabs-head .nav-link {
    font-family: var(--bc-font-sans) !important;
    font-size: 0.94rem !important;
    font-weight: 600 !important;
    color: var(--bc-text-secondary) !important;
    padding: 9px 18px !important;
    border-radius: 12px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    transition: all 0.2s ease;
}

body.bc-super-admin .tabs-head .nav-link:hover {
    color: var(--bc-text-primary) !important;
    background: var(--bc-bg-subtle) !important;
}

body.bc-super-admin .tabs-head .nav-link.active {
    background: var(--bc-accent-gradient) !important;
    color: #FFFFFF !important;
    box-shadow: var(--bc-shadow-glow);
}

body.bc-super-admin .tabs-main-cards {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
    gap: 18px !important;
}

body.bc-super-admin .comon-company-card {
    padding: 22px 24px !important;
    gap: 16px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

body.bc-super-admin .comon-company-card:hover {
    transform: translateY(-3px);
    border-color: var(--bc-accent) !important;
    box-shadow: var(--bc-shadow-lg);
}

body.bc-super-admin .card-detail-sec {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

body.bc-super-admin .bc-company-link {
    flex: 1;
    min-width: 0;
    text-decoration: none;
}

body.bc-super-admin .common-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

body.bc-super-admin .company-logo-comon {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px;
    border-radius: 14px !important;
    background: var(--bc-bg-elevated);
    border: 1px solid var(--bc-border-strong);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.bc-super-admin .company-logo-comon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
}

body.bc-super-admin .bc-company-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bc-accent-gradient);
    color: #FFFFFF;
    font-family: var(--bc-font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

body.bc-super-admin .common-company-name {
    min-width: 0;
}

body.bc-super-admin .common-company-name h1 {
    font-size: 1.08rem !important;
    font-weight: 700 !important;
    color: var(--bc-text-primary) !important;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.bc-super-admin .common-company-name p {
    font-size: 0.84rem !important;
    color: var(--bc-text-muted) !important;
    word-break: break-word;
}

body.bc-super-admin .bc-card-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

body.bc-super-admin .free-trial-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.36);
    color: #FBBF24 !important;
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
}

body.bc-super-admin.light .free-trial-badge {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(217, 119, 6, 0.35);
    color: #B45309 !important;
}

body.bc-super-admin .comon-card-body {
    margin-top: 0 !important;
    padding-top: 14px;
    border-top: 1px solid var(--bc-border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.bc-super-admin .comon-card-body p {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.86rem !important;
    line-height: 1.45 !important;
    color: var(--bc-text-primary) !important;
}

body.bc-super-admin .comon-card-body p > span:first-child {
    color: var(--bc-text-muted) !important;
    font-weight: 500;
    flex-shrink: 0;
}

body.bc-super-admin .comon-card-body .full-address {
    color: var(--bc-text-secondary) !important;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.bc-super-admin .bc-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

body.bc-super-admin .bc-status-active {
    background: rgba(16, 185, 129, 0.16);
    color: #34D399;
}

body.bc-super-admin.light .bc-status-active {
    color: #059669;
}

body.bc-super-admin .bc-status-pending {
    background: rgba(245, 158, 11, 0.16);
    color: #FBBF24;
}

body.bc-super-admin.light .bc-status-pending {
    color: #D97706;
}

body.bc-super-admin .bc-status-rejected,
body.bc-super-admin .bc-status-cancel {
    background: rgba(239, 68, 68, 0.16);
    color: #F87171;
}

body.bc-super-admin .no-license {
    padding: 48px 20px;
    border-radius: 20px;
    background: var(--bc-bg-surface);
    border: 1px dashed var(--bc-border-strong);
    color: var(--bc-text-muted);
    font-size: 0.96rem;
}

/* Super Admin Emails Page polish */
body.bc-super-admin .email-main-wrapper {
    background: var(--bc-bg-surface) !important;
    border: 1px solid var(--bc-border);
    border-radius: 22px;
    padding: 26px 28px;
    box-shadow: var(--bc-shadow-md);
}

body.bc-super-admin .email-main-header .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--bc-text-primary);
}

body.bc-super-admin .email-main-header .back-btn h1,
body.bc-super-admin .email-main-body-head h1 {
    color: var(--bc-text-primary) !important;
}

body.bc-super-admin .email-main-body-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

body.bc-super-admin .email-main-body-head .filter-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

body.bc-super-admin .email-main-body-head .form-group input {
    height: 44px;
    padding: 0 14px 0 38px !important;
    border-radius: 12px !important;
    background: var(--bc-bg-elevated) !important;
    border: 1px solid var(--bc-border-strong) !important;
    color: var(--bc-text-primary) !important;
}

body.bc-super-admin .email-main-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--bc-border);
    border-radius: 16px;
    overflow: hidden;
}

body.bc-super-admin .email-main-body table th {
    background: var(--bc-bg-elevated) !important;
    color: var(--bc-text-muted) !important;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 14px 18px;
    border-bottom: 1px solid var(--bc-border-strong);
}

body.bc-super-admin .email-main-body table td {
    padding: 14px 18px;
    color: var(--bc-text-primary) !important;
    border-bottom: 1px solid var(--bc-border);
    vertical-align: middle;
}

body.bc-super-admin .email-main-body table tbody tr:last-child td {
    border-bottom: none;
}

@media screen and (max-width: 991px) {
    body.bc-super-admin .super-dashboard-content {
        flex-direction: column;
    }

    body.bc-super-admin .total-list-section {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    body.bc-super-admin .tabs-main-cards {
        grid-template-columns: 1fr !important;
    }
}

.license-cards,
.license-detail-card,
.super-admin-card,
.license-table-wrapper {
    background: var(--bc-bg-surface) !important;
    border: 1px solid var(--bc-border) !important;
    border-radius: 20px !important;
    box-shadow: var(--bc-shadow-md) !important;
}

/* ==========================================================================
   KPI 30-DAY SUBLABEL, OPTIONS RATIO & MONTH CALENDAR PICKER
   ========================================================================== */
body.bc-super-admin .bc-kpi-val-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

body.bc-super-admin .bc-kpi-val-wrap h1 {
    margin: 0 !important;
    line-height: 1.15 !important;
}

body.bc-super-admin .bc-kpi-period {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bc-text-muted);
    letter-spacing: 0.01em;
}

body.bc-super-admin .bc-option-ratio {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--bc-accent-soft);
    border: 1px solid rgba(129, 140, 248, 0.28);
    color: var(--bc-accent) !important;
    font-family: var(--bc-font-display);
    font-size: 0.88rem !important;
    font-weight: 700;
    margin-right: 0 !important;
    white-space: nowrap;
}

/* Month Calendar Picker Popover on Financial Dashboard */
body.bc-super-admin .bc-month-cal-wrap {
    position: relative;
    display: inline-flex;
}

body.bc-super-admin .bc-month-cal-btn {
    gap: 7px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

body.bc-super-admin .bc-month-cal-btn:hover,
body.bc-super-admin .bc-month-cal-btn.is-open {
    border-color: var(--bc-accent);
    box-shadow: 0 0 0 3px var(--bc-ring);
}

body.bc-super-admin .bc-month-cal-caret {
    transition: transform 0.2s ease;
}

body.bc-super-admin .bc-month-cal-btn.is-open .bc-month-cal-caret {
    transform: rotate(180deg);
}

body.bc-super-admin .bc-month-cal-popover {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 286px;
    padding: 14px;
    border-radius: 18px;
    background: var(--bc-bg-surface);
    border: 1px solid var(--bc-border-strong);
    box-shadow: var(--bc-shadow-lg);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

body.bc-super-admin .bc-month-cal-popover.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

body.bc-super-admin .bc-month-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

body.bc-super-admin .bc-month-cal-year {
    font-family: var(--bc-font-display);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--bc-text-primary);
}

body.bc-super-admin .bc-month-cal-nav {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    border: 1px solid var(--bc-border-strong);
    background: var(--bc-bg-elevated);
    color: var(--bc-text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

body.bc-super-admin .bc-month-cal-nav:hover:not(:disabled) {
    border-color: var(--bc-accent);
    color: var(--bc-accent);
    background: var(--bc-accent-soft);
}

body.bc-super-admin .bc-month-cal-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

body.bc-super-admin .bc-month-cal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

body.bc-super-admin .bc-month-cal-cell {
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--bc-border);
    background: var(--bc-bg-elevated);
    color: var(--bc-text-primary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.12s ease;
}

body.bc-super-admin .bc-month-cal-cell:hover:not(:disabled) {
    border-color: var(--bc-accent);
    color: var(--bc-accent);
    background: var(--bc-accent-soft);
}

body.bc-super-admin .bc-month-cal-cell.is-in-range {
    background: var(--bc-accent-soft);
    border-color: rgba(129, 140, 248, 0.35);
    color: var(--bc-accent);
}

body.bc-super-admin .bc-month-cal-cell.is-selected {
    background: var(--bc-accent-gradient);
    border-color: transparent;
    color: #FFFFFF;
    box-shadow: var(--bc-shadow-glow);
}

body.bc-super-admin .bc-month-cal-cell:disabled {
    opacity: 0.32;
    cursor: not-allowed;
    background: transparent;
}

body.bc-super-admin .bc-month-cal-foot {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--bc-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

body.bc-super-admin .bc-month-cal-foot span {
    font-size: 0.71rem;
    line-height: 1.3;
    color: var(--bc-text-muted);
}

body.bc-super-admin .bc-month-cal-reset {
    border: none;
    background: transparent;
    color: var(--bc-accent);
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 7px;
    transition: background-color 0.16s ease;
}

body.bc-super-admin .bc-month-cal-reset:hover {
    background: var(--bc-accent-soft);
}

@media screen and (max-width: 640px) {
    body.bc-super-admin .bc-month-cal-popover {
        left: 0;
        right: auto;
        max-width: calc(100vw - 32px);
    }
}

/* ==========================================================================
   SUPER-ADMIN NOTIFICATIONS POPOVER (DESKTOP) & BOTTOM SHEET (MOBILE)
   ========================================================================== */
body.bc-super-admin .notify-icon.bc-notify-wrapper {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
}

body.bc-super-admin .bc-notify-trigger {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--bc-border-strong);
    background: var(--bc-bg-elevated);
    color: var(--bc-text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.16s ease, box-shadow 0.2s ease;
}

body.bc-super-admin .bc-notify-trigger:hover,
body.bc-super-admin .bc-notify-trigger[aria-expanded="true"] {
    border-color: var(--bc-accent);
    color: var(--bc-accent);
    background: var(--bc-accent-soft);
    box-shadow: 0 0 0 3px var(--bc-ring);
}

body.bc-super-admin .bc-notify-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, #EF4444 0%, #EC4899 100%);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.45);
    border: 2px solid var(--bc-bg-surface);
}

body.bc-super-admin .bc-notify-badge.is-hidden {
    display: none !important;
}

.bc-notify-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1060;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.bc-notify-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.bc-notify-popover {
    position: fixed;
    z-index: 1065;
    width: 400px;
    max-width: calc(100vw - 24px);
    max-height: min(560px, calc(100vh - 96px));
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background: var(--bc-bg-surface);
    border: 1px solid var(--bc-border-strong);
    box-shadow: var(--bc-shadow-lg);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1), transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.2s ease;
}

.bc-notify-popover.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.bc-notify-sheet-handle {
    display: none;
}

.bc-notify-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid var(--bc-border);
    flex-shrink: 0;
}

.bc-notify-header-title {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.bc-notify-header-title h2 {
    margin: 0;
    font-family: var(--bc-font-display);
    font-size: 1.06rem;
    font-weight: 700;
    color: var(--bc-text-primary);
}

.bc-notify-pill {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--bc-accent-soft);
    color: var(--bc-accent);
    white-space: nowrap;
}

.bc-notify-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bc-notify-mark-all {
    height: 30px;
    padding: 0 10px;
    border-radius: 9px;
    border: 1px solid var(--bc-border-strong);
    background: var(--bc-bg-elevated);
    color: var(--bc-text-primary);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.bc-notify-mark-all:hover:not(:disabled) {
    border-color: var(--bc-accent);
    color: var(--bc-accent);
    background: var(--bc-accent-soft);
}

.bc-notify-mark-all:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.bc-notify-close-btn {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    border: 1px solid var(--bc-border-strong);
    background: var(--bc-bg-elevated);
    color: var(--bc-text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.bc-notify-close-btn:hover {
    border-color: var(--bc-accent);
    color: var(--bc-accent);
    background: var(--bc-accent-soft);
}

.bc-notify-filter-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-bottom: 1px solid var(--bc-border);
    background: var(--bc-bg-elevated);
    flex-shrink: 0;
}

.bc-notify-tab {
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--bc-text-muted);
    font-size: 0.79rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.bc-notify-tab:hover {
    color: var(--bc-text-primary);
}

.bc-notify-tab.active {
    background: var(--bc-accent-soft);
    border-color: rgba(129, 140, 248, 0.34);
    color: var(--bc-accent);
}

.bc-notify-list {
    overflow-y: auto;
    overscroll-behavior: contain;
    flex: 1 1 auto;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bc-notify-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid transparent;
    transition: background-color 0.16s ease, border-color 0.16s ease;
    position: relative;
}

.bc-notify-item:hover {
    background: var(--bc-bg-elevated);
}

.bc-notify-item.is-unread {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(129, 140, 248, 0.22);
    cursor: pointer;
}

body.light .bc-notify-item.is-unread {
    background: rgba(79, 70, 229, 0.06);
    border-color: rgba(79, 70, 229, 0.18);
}

.bc-notify-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bc-accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bc-notify-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bc-notify-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-family: var(--bc-font-display);
    font-size: 0.82rem;
    font-weight: 700;
}

.bc-notify-content {
    flex: 1 1 auto;
    min-width: 0;
}

.bc-notify-top-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 3px;
}

.bc-notify-top-line strong {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--bc-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bc-notify-time {
    font-size: 0.72rem;
    color: var(--bc-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.bc-notify-message {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--bc-text-secondary);
    word-break: break-word;
}

.bc-notify-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.bc-notify-act-accept,
.bc-notify-act-deny {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: opacity 0.16s ease, transform 0.14s ease;
}

.bc-notify-act-accept {
    background: var(--bc-accent-gradient);
    color: #FFFFFF !important;
}

.bc-notify-act-deny {
    background: var(--bc-bg-subtle);
    border: 1px solid var(--bc-border-strong);
    color: var(--bc-text-primary) !important;
}

.bc-notify-act-accept:hover,
.bc-notify-act-deny:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.bc-notify-file-chip {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 5px 10px;
    border-radius: 9px;
    background: var(--bc-bg-elevated);
    border: 1px solid var(--bc-border-strong);
    color: var(--bc-accent) !important;
    font-size: 0.76rem;
    font-weight: 600;
    text-decoration: none !important;
}

.bc-notify-file-chip span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bc-notify-unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--bc-accent);
    box-shadow: 0 0 0 3px var(--bc-accent-soft);
    flex-shrink: 0;
    margin-top: 6px;
}

.bc-notify-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 36px 20px;
    text-align: center;
    color: var(--bc-text-muted);
}

.bc-notify-empty p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--bc-text-muted);
}

body.bc-notify-sheet-open {
    overflow: hidden !important;
}

/* Keep notification bell visible on tablet & mobile */
@media screen and (max-width: 991px) {
    body.bc-super-admin .notify-icon.bc-notify-wrapper {
        display: inline-flex !important;
    }
}

/* Mobile Bottom Sheet Presentation (< 768px) */
@media screen and (max-width: 767.98px) {
    .bc-notify-backdrop {
        background: rgba(2, 6, 23, 0.56);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .bc-notify-popover {
        top: auto !important;
        right: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 82dvh;
        border-radius: 24px 24px 0 0;
        border-bottom: none;
        transform: translateY(100%);
        transform-origin: bottom center;
        padding-bottom: env(safe-area-inset-bottom, 12px);
    }

    .bc-notify-popover.is-open {
        transform: translateY(0);
    }

    .bc-notify-sheet-handle {
        display: flex;
        justify-content: center;
        padding: 10px 0 4px;
        flex-shrink: 0;
    }

    .bc-notify-sheet-handle span {
        width: 42px;
        height: 4px;
        border-radius: 999px;
        background: var(--bc-border-strong);
    }

    .bc-notify-header {
        padding: 10px 18px 12px;
    }

    .bc-notify-list {
        padding: 10px 12px 18px;
    }

    .bc-notify-delete-btn {
        display: none !important;
    }
}

/* ==========================================================================
   NOTIFICATIONS SWIPE-TO-DELETE (MOBILE) & DELETE BUTTON (DESKTOP)
   ========================================================================== */
.bc-notify-swipe-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    transition: max-height 0.24s ease, opacity 0.2s ease, margin 0.24s ease;
}

.bc-notify-swipe-wrap.is-deleting {
    max-height: 0 !important;
    opacity: 0;
    margin: 0 !important;
}

.bc-notify-swipe-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 0 16px;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 14px;
    cursor: pointer;
    opacity: 0.9;
    transition: background 0.16s ease, opacity 0.16s ease;
}

.bc-notify-swipe-bg.is-ready,
.bc-notify-swipe-bg:active {
    opacity: 1;
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
}

.bc-notify-swipe-wrap .bc-notify-item {
    position: relative;
    z-index: 1;
    background: var(--bc-bg-surface);
    touch-action: pan-y;
    will-change: transform;
}

.bc-notify-swipe-wrap .bc-notify-item:hover {
    background: var(--bc-bg-elevated);
}

.bc-notify-swipe-wrap .bc-notify-item.is-unread {
    background: #171D35;
}

body.light .bc-notify-swipe-wrap .bc-notify-item.is-unread {
    background: #EEF0FF;
}

.bc-notify-item-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.bc-notify-delete-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--bc-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    opacity: 0.55;
    transition: opacity 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.14s ease;
}

.bc-notify-item:hover .bc-notify-delete-btn,
.bc-notify-delete-btn:focus-visible {
    opacity: 1;
}

.bc-notify-delete-btn:hover {
    opacity: 1;
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.35);
    color: #F87171;
    transform: scale(1.06);
}

body.light .bc-notify-delete-btn:hover {
    color: #DC2626;
}

/* ==========================================================================
   SUPER-ADMIN BOTTLECALL "B" PROFILE AVATAR
   ========================================================================== */
body.bc-super-admin .bc-sa-brand-avatar {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 12px !important;
    background: var(--bc-accent-gradient) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.22);
    flex-shrink: 0;
    overflow: hidden;
}

body.bc-super-admin .bc-sa-brand-avatar--sm {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
}

body.bc-super-admin .bc-sa-brand-avatar--sm svg {
    width: 17px;
    height: 22px;
}

body.bc-super-admin .bc-sa-brand-avatar--md {
    width: 58px !important;
    height: 58px !important;
    border-radius: 16px !important;
}

body.bc-super-admin .bc-sa-brand-avatar--md svg {
    width: 28px;
    height: 36px;
}

body.bc-super-admin .bc-sa-brand-avatar--lg {
    width: 96px !important;
    height: 96px !important;
    border-radius: 26px !important;
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.38);
}

body.bc-super-admin .bc-sa-brand-avatar--lg svg {
    width: 44px;
    height: 58px;
}

/* ==========================================================================
   SUPER-ADMIN EMAILS PAGE (FRENCH OVERHAUL + ANIMATED COPY)
   ========================================================================== */
body.bc-super-admin .bc-email-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

body.bc-super-admin .bc-email-card {
    padding: 28px 30px !important;
}

body.bc-super-admin .bc-email-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--bc-border);
}

body.bc-super-admin .bc-email-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

body.bc-super-admin .bc-email-title-row h1 {
    margin: 0 !important;
    font-family: var(--bc-font-display);
    font-size: 1.55rem !important;
    font-weight: 700 !important;
    color: var(--bc-text-primary) !important;
}

body.bc-super-admin .bc-email-total-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--bc-accent-soft);
    border: 1px solid rgba(129, 140, 248, 0.3);
    color: var(--bc-accent);
    font-size: 0.8rem;
    font-weight: 700;
}

body.bc-super-admin .bc-email-subtitle {
    margin: 6px 0 0;
    font-size: 0.88rem;
    color: var(--bc-text-muted);
}

body.bc-super-admin .bc-email-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

body.bc-super-admin .bc-email-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    min-width: 280px;
    padding: 0 12px 0 14px;
    border-radius: 12px;
    background: var(--bc-bg-elevated);
    border: 1px solid var(--bc-border-strong);
    color: var(--bc-text-muted);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.bc-super-admin .bc-email-search-box:focus-within {
    border-color: var(--bc-accent);
    box-shadow: 0 0 0 3px var(--bc-ring);
    color: var(--bc-accent);
}

body.bc-super-admin .bc-email-search-box input {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: var(--bc-text-primary) !important;
    font-size: 0.9rem !important;
    outline: none !important;
}

body.bc-super-admin .bc-email-search-box input::placeholder {
    color: var(--bc-text-muted) !important;
}

body.bc-super-admin .bc-email-search-clear {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    border: none;
    background: var(--bc-bg-subtle);
    color: var(--bc-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: color 0.16s ease, background-color 0.16s ease;
}

body.bc-super-admin .bc-email-search-clear:hover {
    color: var(--bc-text-primary);
    background: var(--bc-accent-soft);
}

body.bc-super-admin .bc-email-export-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    border: none;
    background: var(--bc-accent-gradient);
    color: #FFFFFF;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--bc-shadow-glow);
    transition: transform 0.18s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

body.bc-super-admin .bc-email-export-btn:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

body.bc-super-admin .bc-email-table-wrap {
    width: 100%;
    overflow-x: auto;
}

body.bc-super-admin .bc-email-table {
    width: 100%;
    min-width: 620px;
}

body.bc-super-admin .bc-email-table th.bc-col-id,
body.bc-super-admin .bc-email-table td.bc-col-id {
    width: 72px;
}

body.bc-super-admin .bc-email-table th.bc-col-actions,
body.bc-super-admin .bc-email-table td.bc-col-actions {
    width: 185px;
    text-align: right;
}

body.bc-super-admin .bc-email-table tbody tr {
    transition: background-color 0.16s ease;
}

body.bc-super-admin .bc-email-table tbody tr:hover td {
    background: var(--bc-accent-soft);
}

body.bc-super-admin .bc-email-idx {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 26px;
    padding: 0 8px;
    border-radius: 8px;
    background: var(--bc-bg-elevated);
    border: 1px solid var(--bc-border);
    color: var(--bc-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

body.bc-super-admin .bc-email-cell {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

body.bc-super-admin .bc-email-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--bc-accent-soft);
    color: var(--bc-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.bc-super-admin .bc-email-address {
    font-weight: 600;
    color: var(--bc-text-primary);
    word-break: break-all;
}

body.bc-super-admin .bc-email-date {
    color: var(--bc-text-muted) !important;
    font-size: 0.86rem;
    white-space: nowrap;
}

body.bc-super-admin .bc-email-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

@keyframes bcCopyPop {
    0% { transform: scale(1); }
    35% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

body.bc-super-admin .bc-email-copy-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 13px;
    border-radius: 10px;
    border: 1px solid rgba(129, 140, 248, 0.34);
    background: var(--bc-accent-soft);
    color: var(--bc-accent);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.16s ease, box-shadow 0.22s ease;
}

body.bc-super-admin .bc-email-copy-btn:hover {
    background: var(--bc-accent-gradient);
    border-color: transparent;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: var(--bc-shadow-glow);
}

body.bc-super-admin .bc-email-copy-btn .bc-copy-icon-default,
body.bc-super-admin .bc-email-copy-btn .bc-copy-icon-done {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.bc-super-admin .bc-email-copy-btn .bc-copy-icon-done,
body.bc-super-admin .bc-email-copy-btn .bc-copy-label-done {
    display: none;
}

body.bc-super-admin .bc-email-copy-btn.is-copied {
    background: rgba(16, 185, 129, 0.18) !important;
    border-color: rgba(16, 185, 129, 0.55) !important;
    color: #34D399 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22) !important;
    animation: bcCopyPop 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

body.bc-super-admin.light .bc-email-copy-btn.is-copied {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #059669 !important;
}

body.bc-super-admin .bc-email-copy-btn.is-copied .bc-copy-icon-default,
body.bc-super-admin .bc-email-copy-btn.is-copied .bc-copy-label {
    display: none;
}

body.bc-super-admin .bc-email-copy-btn.is-copied .bc-copy-icon-done,
body.bc-super-admin .bc-email-copy-btn.is-copied .bc-copy-label-done {
    display: inline-flex;
}

body.bc-super-admin .bc-email-empty-cell {
    padding: 44px 20px !important;
    text-align: center;
}

body.bc-super-admin .bc-email-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--bc-text-muted);
}

body.bc-super-admin .bc-email-empty-state p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--bc-text-muted);
}

@media screen and (max-width: 640px) {
    body.bc-super-admin .bc-email-card {
        padding: 20px 16px !important;
    }

    body.bc-super-admin .bc-email-controls,
    body.bc-super-admin .bc-email-search-box,
    body.bc-super-admin .bc-email-export-btn {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }
}

/* ==========================================================================
   SUPER-ADMIN DASHBOARD RESPONSIVE MOBILE UX (<= 767.98px)
   ========================================================================== */
@media screen and (max-width: 991px) {
    body.bc-super-admin .comon-cards {
        padding: 16px 16px !important;
        gap: 12px !important;
    }

    body.bc-super-admin .comon-cards .comon-card-head h1 {
        font-size: 0.86rem !important;
        line-height: 1.25 !important;
    }

    body.bc-super-admin .comon-cards > h1,
    body.bc-super-admin .comon-cards .bc-kpi-val-wrap h1 {
        font-size: clamp(1.18rem, 4.2vw, 1.55rem) !important;
    }

    body.bc-super-admin .bc-kpi-revenue-card .bc-kpi-val-wrap h1,
    body.bc-super-admin .bc-kpi-fees-card .bc-kpi-val-wrap h1 {
        font-size: clamp(1.08rem, 3.8vw, 1.42rem) !important;
    }

    body.bc-super-admin .bc-kpi-period {
        font-size: 0.72rem;
    }
}

@media screen and (max-width: 767.98px) {
    body.bc-super-admin .superadmin-dashboard-header {
        padding: 18px 16px !important;
    }

    body.bc-super-admin .superadmin-dashboard-header .dashboard-heading-button {
        width: 100%;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    body.bc-super-admin .superadmin-dashboard-header .dashboard-heading-button a {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* Hide desktop tabs & grid/list switcher on phone; show dropdown status selector */
    body.bc-super-admin .tabs-head {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding: 12px 14px !important;
        flex-wrap: wrap !important;
    }

    body.bc-super-admin .tabs-head .hide-sec,
    body.bc-super-admin .bc-view-toggle {
        display: none !important;
    }

    body.bc-super-admin .bc-sa-tabs-left,
    body.bc-super-admin .bc-mobile-status-wrap {
        display: flex !important;
        flex: 1 1 140px;
    }

    body.bc-super-admin .bc-sa-toolbar {
        flex: 1 1 130px;
        justify-content: flex-end;
    }

    body.bc-super-admin .bc-mobile-status-control,
    body.bc-super-admin .bc-per-page-control {
        width: 100%;
        justify-content: space-between;
        gap: 6px;
    }

    body.bc-super-admin .bc-mobile-status-control select,
    body.bc-super-admin .bc-per-page-control select {
        flex: 1 1 auto;
        min-width: 0;
        height: 40px;
    }

    /* Force single-column row layout on phone with compact "Essai gratuit" pinned top-right */
    body.bc-super-admin #myTabContent .tabs-main-cards {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    body.bc-super-admin #myTabContent .comon-company-card,
    body.bc-super-admin #myTabContent:not(.bc-view-list) .comon-company-card,
    body.bc-super-admin #myTabContent.bc-view-list .comon-company-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        padding: 16px !important;
        border-radius: 16px !important;
        position: relative !important;
    }

    body.bc-super-admin #myTabContent .comon-company-card::before,
    body.bc-super-admin #myTabContent.bc-view-list .comon-company-card::before {
        top: 0;
        bottom: 0;
        left: 0;
        right: auto;
        width: 3px;
        height: auto;
    }

    body.bc-super-admin #myTabContent .bc-card-trial-slot,
    body.bc-super-admin #myTabContent:not(.bc-view-list) .bc-card-trial-slot,
    body.bc-super-admin #myTabContent.bc-view-list .bc-card-trial-slot {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        width: auto !important;
        margin: 0 !important;
        z-index: 2;
    }

    body.bc-super-admin #myTabContent .comon-company-card:has(.bc-card-actions-right) .bc-card-trial-slot {
        top: 16px !important;
        right: 54px !important;
    }

    body.bc-super-admin #myTabContent .free-trial-badge {
        padding: 2px 8px !important;
        font-size: 0.68rem !important;
        line-height: 1.35 !important;
    }

    body.bc-super-admin #myTabContent .card-detail-sec,
    body.bc-super-admin #myTabContent.bc-view-list .card-detail-sec {
        order: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        padding-right: 0;
    }

    body.bc-super-admin #myTabContent .comon-company-card:has(.bc-card-trial-slot) .card-detail-sec {
        padding-right: 88px;
    }

    body.bc-super-admin #myTabContent .comon-company-card:has(.bc-card-actions-right) .card-detail-sec {
        padding-right: 44px;
    }

    body.bc-super-admin #myTabContent .comon-company-card:has(.bc-card-trial-slot):has(.bc-card-actions-right) .card-detail-sec {
        padding-right: 130px;
    }

    body.bc-super-admin #myTabContent .comon-card-body,
    body.bc-super-admin #myTabContent.bc-view-list .comon-card-body {
        order: 2 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        padding-top: 10px !important;
        border-top: 1px solid var(--bc-border) !important;
    }

    body.bc-super-admin #myTabContent .bc-card-actions-right,
    body.bc-super-admin #myTabContent.bc-view-list .bc-card-actions-right {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        width: auto !important;
        margin: 0 !important;
        z-index: 2;
    }
}

@media screen and (max-width: 440px) {
    body.bc-super-admin .comon-cards {
        padding: 13px 12px !important;
        gap: 10px !important;
    }

    body.bc-super-admin .comon-cards .card-head-img {
        width: 32px;
        height: 32px;
        border-radius: 9px;
    }

    body.bc-super-admin .comon-cards .comon-card-head h1 {
        font-size: 0.78rem !important;
    }

    body.bc-super-admin .comon-cards > h1,
    body.bc-super-admin .comon-cards .bc-kpi-val-wrap h1 {
        font-size: 1.15rem !important;
    }

    body.bc-super-admin .bc-kpi-revenue-card .bc-kpi-val-wrap h1,
    body.bc-super-admin .bc-kpi-fees-card .bc-kpi-val-wrap h1 {
        font-size: 1.02rem !important;
    }
}

/* ==========================================================================
   LICENSE SEARCH BAR (SUPER-ADMIN DASHBOARD) & COMPACT MOBILE NAVBAR LOGO
   ========================================================================== */
body.bc-super-admin .bc-sa-license-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 46px;
    margin-top: 14px;
    padding: 0 12px 0 15px;
    border-radius: 14px;
    background: var(--bc-bg-surface);
    border: 1px solid var(--bc-border-strong);
    color: var(--bc-text-muted);
    box-shadow: var(--bc-shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

body.bc-super-admin .bc-sa-license-search-bar:focus-within {
    border-color: var(--bc-accent);
    box-shadow: 0 0 0 3px var(--bc-ring);
    color: var(--bc-accent);
}

body.bc-super-admin .bc-sa-license-search-bar svg {
    flex-shrink: 0;
}

body.bc-super-admin .bc-sa-license-search-bar input {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: var(--bc-text-primary) !important;
    font-size: 0.9rem !important;
    outline: none !important;
}

body.bc-super-admin .bc-sa-license-search-bar input::placeholder {
    color: var(--bc-text-muted) !important;
}

@media screen and (max-width: 767.98px) {
    .top-nav-mian {
        height: 66px !important;
        padding: 0 12px !important;
        gap: 8px !important;
    }

    .logo-section {
        margin-left: 0 !important;
        min-width: 0 !important;
        width: auto !important;
        flex: 0 1 auto !important;
    }

    .logo-section svg {
        width: 118px !important;
        height: auto !important;
        max-width: 100%;
    }

    .nav-detail-section {
        gap: 9px !important;
        padding-right: 0 !important;
        flex-shrink: 0 !important;
    }
}

@media screen and (max-width: 440px) {
    .top-nav-mian {
        padding: 0 10px !important;
    }

    .logo-section svg {
        width: 98px !important;
    }

    .nav-detail-section {
        gap: 7px !important;
    }

    body.bc-super-admin .bc-notify-trigger {
        width: 38px !important;
        height: 38px !important;
    }
}

/* ==========================================================================
   UNIFIED HOVER SHEEN ANIMATION (AUTH FLOW & SUPER-ADMIN PURPLE BUTTONS)
   Same lift + diagonal light sweep as Hero CTA, keeping exact steady color
   ========================================================================== */
.auth-btn-wrapper button,
.dashboard-heading-button a,
body.bc-super-admin .bc-email-export-btn,
body.bc-super-admin .license-header-right .payment-via-email-button,
body.bc-super-admin .submit-button,
body.bc-super-admin .btn-primary,
body.bc-super-admin .modal .modal-footer .save-button,
body.bc-super-admin .modal .modal-footer .btn-primary,
body.bc-super-admin .modal .modal-footer .submit-button,
.bc-notify-act-accept {
    position: relative !important;
    overflow: hidden !important;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, opacity 0.2s ease !important;
}

.auth-btn-wrapper button::after,
.dashboard-heading-button a::after,
body.bc-super-admin .bc-email-export-btn::after,
body.bc-super-admin .license-header-right .payment-via-email-button::after,
body.bc-super-admin .submit-button::after,
body.bc-super-admin .btn-primary::after,
body.bc-super-admin .modal .modal-footer .save-button::after,
body.bc-super-admin .modal .modal-footer .btn-primary::after,
body.bc-super-admin .modal .modal-footer .submit-button::after,
.bc-notify-act-accept::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.24) 50%, transparent 80%);
    transform: translateX(-120%);
    transition: transform 0.65s ease;
    pointer-events: none;
}

.auth-btn-wrapper button:hover:not(:disabled),
.dashboard-heading-button a:hover,
body.bc-super-admin .bc-email-export-btn:hover:not(:disabled),
body.bc-super-admin .license-header-right .payment-via-email-button:hover:not(:disabled),
body.bc-super-admin .submit-button:hover:not(:disabled),
body.bc-super-admin .btn-primary:hover:not(:disabled),
body.bc-super-admin .modal .modal-footer .save-button:hover:not(:disabled),
body.bc-super-admin .modal .modal-footer .btn-primary:hover:not(:disabled),
body.bc-super-admin .modal .modal-footer .submit-button:hover:not(:disabled),
.bc-notify-act-accept:hover {
    background: var(--bc-accent-gradient) !important;
    filter: none !important;
    opacity: 1 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 18px 40px rgba(99, 102, 241, 0.52), 0 0 0 1px rgba(255, 255, 255, 0.22) inset !important;
}

.auth-btn-wrapper button:hover:not(:disabled)::after,
.dashboard-heading-button a:hover::after,
body.bc-super-admin .bc-email-export-btn:hover:not(:disabled)::after,
body.bc-super-admin .license-header-right .payment-via-email-button:hover:not(:disabled)::after,
body.bc-super-admin .submit-button:hover:not(:disabled)::after,
body.bc-super-admin .btn-primary:hover:not(:disabled)::after,
body.bc-super-admin .modal .modal-footer .save-button:hover:not(:disabled)::after,
body.bc-super-admin .modal .modal-footer .btn-primary:hover:not(:disabled)::after,
body.bc-super-admin .modal .modal-footer .submit-button:hover:not(:disabled)::after,
.bc-notify-act-accept:hover::after {
    transform: translateX(120%);
}


/* ==========================================================================
   SUPER ADMIN — HYBRID ACCOUNT REQUEST APPROVAL UI
   ========================================================================== */
.bc-awaiting-badge,
.bc-sent-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.bc-awaiting-badge {
    background: rgba(245, 158, 11, 0.16);
    color: #F59E0B;
    border: 1px solid rgba(245, 158, 11, 0.36);
}

.bc-sent-badge {
    background: rgba(14, 165, 233, 0.14);
    color: #38BDF8;
    border: 1px solid rgba(14, 165, 233, 0.32);
}

.bc-approve-pending-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 34px;
    padding: 0 11px;
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.42);
    background: rgba(16, 185, 129, 0.14);
    color: var(--bc-success);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bc-approve-pending-btn:hover {
    background: #10B981;
    border-color: #10B981;
    color: #FFFFFF;
    transform: translateY(-1px);
}

.bc-pending-approval-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.1rem 1.35rem;
    border-radius: 18px;
    margin-bottom: 1.25rem;
    background: var(--bc-bg-surface);
    border: 1.5px solid rgba(245, 158, 11, 0.42);
    box-shadow: var(--bc-shadow-sm);
}

.bc-pending-approval-banner.is-sent {
    border-color: rgba(14, 165, 233, 0.36);
}

.bc-pending-approval-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 240px;
}

.bc-pending-approval-copy strong {
    font-family: var(--bc-font-display);
    font-size: 1rem;
    color: var(--bc-text-primary);
}

.bc-pending-approval-copy span {
    font-size: 0.86rem;
    color: var(--bc-text-muted);
    line-height: 1.45;
}

.bc-approve-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 44px;
    padding: 0 1.2rem;
    border-radius: 12px;
    border: none;
    background: var(--bc-accent-gradient);
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--bc-shadow-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.bc-approve-banner-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.42);
}
