/* ==========================================================================
   CRYSTAL CARGO SERVICE - Ultra-Modern Enterprise Design System
   Architecture: High-Precision Modern SaaS UI (Linear/Stripe Standard)
   Typography: Inter (Body & Data) + Plus Jakarta Sans (Headings & Brand)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
    /* Font Stack */
    --bc-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --bc-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --bc-font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    /* Apple HIG Color Palette */
    --apple-blue: #0071e3;
    --apple-blue-hover: #0077ed;
    --apple-blue-light: rgba(0, 113, 227, 0.08);
    --apple-green: #34c759;
    --apple-green-hover: #30b852;
    --apple-green-light: rgba(52, 199, 89, 0.1);
    --apple-orange: #ff9500;
    --apple-orange-light: rgba(255, 149, 0, 0.1);
    --apple-red: #ff3b30;
    --apple-red-light: rgba(255, 59, 48, 0.1);
    --apple-purple: #af52de;
    --apple-purple-light: rgba(175, 82, 222, 0.1);
    --apple-indigo: #5856d6;
    --apple-indigo-light: rgba(88, 86, 214, 0.1);
    --apple-teal: #30b0c7;
    --apple-teal-light: rgba(48, 176, 199, 0.1);

    /* Color Palette - Industry Standard Slate & Royal Indigo */
    --bc-primary: #0071e3; /* Apple Blue Primary */
    --bc-primary-hover: #0077ed;
    --bc-primary-light: #eff6ff;
    --bc-primary-subtle: rgba(0, 113, 227, 0.08);
    --bc-primary-border: rgba(0, 113, 227, 0.2);

    --bc-success: #34c759;
    --bc-success-hover: #30b852;
    --bc-success-light: #ecfdf5;

    --bc-warning: #ff9500;
    --bc-warning-light: #fffbeb;

    --bc-danger: #ff3b30;
    --bc-danger-light: #fef2f2;

    --bc-whatsapp: #25d366;
    --bc-whatsapp-hover: #20ba59;

    /* Backgrounds & Surfaces (Apple macOS / iOS Canvas) */
    --bc-bg-app: #f5f5f7;
    --bc-bg-card: #ffffff;
    --bc-bg-elevated: #ffffff;
    --bc-border: rgba(0, 0, 0, 0.08);
    --bc-border-subtle: rgba(0, 0, 0, 0.04);
    --bc-border-strong: rgba(0, 0, 0, 0.16);

    /* Typography Colors */
    --bc-text-primary: #1d1d1f;
    --bc-text-secondary: #515154;
    --bc-text-muted: #86868b;

    /* Apple Diffused Ambient Shadows */
    --bc-shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --bc-shadow-sm: 0 2px 6px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.02);
    --bc-shadow-md: 0 6px 16px -2px rgba(0, 0, 0, 0.06), 0 2px 6px -2px rgba(0, 0, 0, 0.03);
    --bc-shadow-lg: 0 14px 28px -4px rgba(0, 0, 0, 0.08), 0 6px 12px -4px rgba(0, 0, 0, 0.03);
    --bc-shadow-xl: 0 24px 48px -8px rgba(0, 0, 0, 0.12), 0 12px 20px -6px rgba(0, 0, 0, 0.04);
    --bc-shadow-glow: 0 0 24px rgba(0, 113, 227, 0.25);
    --bc-shadow-emerald: 0 0 24px rgba(52, 199, 89, 0.25);

    /* Radii */
    --bc-radius-xs: 6px;
    --bc-radius-sm: 10px;
    --bc-radius-md: 14px;
    --bc-radius-lg: 18px;
    --bc-radius-xl: 24px;
    --bc-radius-pill: 9999px;
}

[data-bs-theme="dark"] {
    --bc-bg-app: #000000;
    --bc-bg-card: #161618;
    --bc-bg-elevated: #202024;
    --bc-border: rgba(255, 255, 255, 0.09);
    --bc-border-subtle: rgba(255, 255, 255, 0.05);
    --bc-border-strong: rgba(255, 255, 255, 0.18);

    --bc-text-primary: #f5f5f7;
    --bc-text-secondary: #a1a1a6;
    --bc-text-muted: #6e6e73;

    --bc-primary-light: rgba(0, 113, 227, 0.2);
    --bc-success-light: rgba(52, 199, 89, 0.2);
    --bc-warning-light: rgba(255, 149, 0, 0.2);
    --bc-danger-light: rgba(255, 59, 48, 0.2);
}

/* Base Reset & Typography */
body {
    font-family: var(--bc-font-sans);
    background-color: var(--bc-bg-app);
    color: var(--bc-text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    letter-spacing: -0.012em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--bc-font-heading);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--bc-text-primary);
}

.mono, .font-mono {
    font-family: var(--bc-font-mono);
    font-feature-settings: 'tnum' 1;
}

/* Tabular Numbers for Data Grids & Ledgers */
.tabular-nums, .font-mono, td.text-end, th.text-end {
    font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Apple-Grade Frosted Glass Navigation Chrome (macOS / iPadOS HIG)
   ========================================================================== */
.bc-apple-header,
.bc-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.04);
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

[data-bs-theme="dark"] .bc-apple-header,
[data-bs-theme="dark"] .bc-navbar {
    background: rgba(24, 24, 27, 0.86);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.35);
}

/* Tier 1: Apple System Toolbar */
.bc-apple-topbar {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

[data-bs-theme="dark"] .bc-apple-topbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.bc-brand-logo {
    font-family: var(--bc-font-heading);
    font-size: 1.18rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.025em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.bc-brand-logo:hover {
    transform: scale(1.02);
}

.bc-brand-icon {
    font-size: 1.25rem;
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.25));
}

/* Apple Developer Status Chip */
.bc-dev-chip,
.bc-dev-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 9999px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-family: var(--bc-font-sans);
    letter-spacing: 0.01em;
    box-shadow: 0 1px 2px rgba(16, 185, 129, 0.05);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.bc-dev-chip:hover,
.bc-dev-top-badge:hover {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
}

.bc-dev-pulse,
.bc-dev-top-badge .dev-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.6);
    animation: bc-pulse-emerald 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
    display: inline-block;
}

@keyframes bc-pulse-emerald {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.bc-dev-link,
.bc-dev-top-badge .dev-brand-link {
    color: #059669;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.15s ease;
}

.bc-dev-link:hover,
.bc-dev-top-badge .dev-brand-link:hover {
    color: #047857;
    text-decoration: underline;
}

.bc-dev-divider,
.bc-dev-top-badge .dev-sep {
    color: rgba(16, 185, 129, 0.4);
    font-weight: 400;
}

.bc-dev-contact,
.bc-dev-top-badge .dev-author-link {
    color: #047857;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}

.bc-dev-contact:hover,
.bc-dev-top-badge .dev-author-link:hover {
    color: #065f46;
    text-decoration: underline;
}

[data-bs-theme="dark"] .bc-dev-chip,
[data-bs-theme="dark"] .bc-dev-top-badge {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
}

[data-bs-theme="dark"] .bc-dev-link,
[data-bs-theme="dark"] .bc-dev-top-badge .dev-brand-link {
    color: #34d399;
}

[data-bs-theme="dark"] .bc-dev-contact,
[data-bs-theme="dark"] .bc-dev-top-badge .dev-author-link {
    color: #6ee7b7;
}

/* Apple Toolbar Controls */
.bc-apple-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: var(--bc-font-sans);
    border-radius: 9px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.03);
    color: var(--bc-text-primary);
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.bc-apple-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--bc-text-primary);
    transform: translateY(-0.5px);
}

.bc-apple-btn:active {
    transform: scale(0.98);
}

[data-bs-theme="dark"] .bc-apple-btn {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .bc-apple-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
}

.bc-apple-btn-icon {
    width: 34px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
}

.bc-apple-user-btn {
    padding: 0 10px 0 4px;
    border-radius: 9999px;
}

.bc-apple-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
}

/* Tier 2: Apple Segmented Navigation Ribbon */
.bc-apple-navribbon {
    padding: 6px 0 8px 0;
}

.bc-nav-capsule-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.bc-nav-capsule-wrapper::-webkit-scrollbar {
    display: none;
}

/* Apple Segmented Capsule - ALWAYS HORIZONTAL, NEVER VERTICAL */
.bc-apple-segmented-capsule,
.bc-nav-pills {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    white-space: nowrap !important;
    padding: 3px !important;
    background: rgba(118, 118, 128, 0.12) !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    gap: 3px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
    margin: 0 !important;
    list-style: none;
}

[data-bs-theme="dark"] .bc-apple-segmented-capsule,
[data-bs-theme="dark"] .bc-nav-pills {
    background: rgba(118, 118, 128, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.bc-apple-segmented-capsule .bc-nav-pill,
.bc-nav-pills .nav-item,
.bc-nav-pills .nav-link {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.bc-apple-segmented-capsule .bc-nav-pill,
.bc-nav-pills .nav-link {
    font-family: var(--bc-font-sans) !important;
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    color: var(--bc-text-secondary) !important;
    padding: 6px 16px !important;
    border-radius: 9999px !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
    gap: 6px !important;
    text-decoration: none !important;
    border: none !important;
    user-select: none;
    line-height: 1.4;
}

.bc-apple-segmented-capsule .bc-nav-pill:hover,
.bc-nav-pills .nav-link:hover {
    color: var(--bc-text-primary) !important;
    background: rgba(255, 255, 255, 0.45) !important;
}

[data-bs-theme="dark"] .bc-apple-segmented-capsule .bc-nav-pill:hover,
[data-bs-theme="dark"] .bc-nav-pills .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.bc-apple-segmented-capsule .bc-nav-pill.active,
.bc-nav-pills .nav-link.active {
    background: #ffffff !important;
    color: #0071e3 !important; /* Apple vibrant blue */
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09), 0 0.5px 2px rgba(0, 0, 0, 0.04) !important;
}

[data-bs-theme="dark"] .bc-apple-segmented-capsule .bc-nav-pill.active,
[data-bs-theme="dark"] .bc-nav-pills .nav-link.active {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
}

.bc-pill-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.bc-pill-text {
    letter-spacing: -0.01em;
}

/* Top Header Bar */
.bc-header-bar {
    background: var(--bc-bg-card);
    border-radius: var(--bc-radius-lg);
    border: 1px solid var(--bc-border);
    padding: 18px 24px;
    box-shadow: var(--bc-shadow-xs);
    margin-bottom: 20px;
    transition: box-shadow 0.2s ease;
}

.bc-header-bar:hover {
    box-shadow: var(--bc-shadow-sm);
}

/* Spreadsheet Grid Style */
.bc-grid-container {
    background: var(--bc-bg-card);
    border-radius: var(--bc-radius-lg);
    border: 1px solid var(--bc-border);
    box-shadow: var(--bc-shadow-sm);
    overflow: hidden;
    margin-bottom: 90px; /* Leave clearance for fixed action bar */
    transition: box-shadow 0.2s ease;
}

.bc-table {
    margin-bottom: 0;
    vertical-align: middle;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.bc-table thead th {
    font-family: var(--bc-font-heading);
    background-color: #f8fafc;
    color: var(--bc-text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 12px 14px;
    border-bottom: 2px solid var(--bc-border);
    border-top: none;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 10;
}

[data-bs-theme="dark"] .bc-table thead th {
    background-color: #1e293b;
    color: #cbd5e1;
}

.bc-table tbody tr {
    transition: background-color 0.12s ease;
}

.bc-table tbody tr:hover {
    background-color: rgba(37, 99, 235, 0.035);
}

.bc-table tbody td {
    padding: 6px 8px;
    border-bottom: 1px solid var(--bc-border);
    font-size: 0.92rem;
}

/* Grid Cells & Inputs */
.bc-grid-input {
    width: 100%;
    border: 1px solid transparent;
    border-radius: var(--bc-radius-sm);
    padding: 8px 10px;
    font-size: 0.92rem;
    background: transparent;
    color: var(--bc-text-primary);
    transition: all 0.15s ease;
}

.bc-grid-input:hover {
    border-color: var(--bc-border-strong);
    background: var(--bc-bg-app);
}

.bc-grid-input:focus {
    outline: none;
    border-color: var(--bc-primary);
    background: var(--bc-bg-card);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.bc-grid-input.text-end {
    font-family: var(--bc-font-mono);
    font-weight: 500;
    font-feature-settings: 'tnum' 1;
}

/* Save Status Indicator */
.bc-save-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--bc-radius-pill);
    transition: all 0.2s ease;
}

.bc-save-indicator.saved {
    background: var(--bc-success-light);
    color: var(--bc-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.bc-save-indicator.saving {
    background: var(--bc-warning-light);
    color: var(--bc-warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.bc-save-indicator.error {
    background: var(--bc-danger-light);
    color: var(--bc-danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Autocomplete Dropdown */
.bc-autocomplete-container {
    position: relative;
}

.bc-autocomplete-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--bc-bg-card);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-md);
    box-shadow: var(--bc-shadow-lg);
    max-height: 240px;
    overflow-y: auto;
    margin-top: 4px;
    display: none;
}

.bc-autocomplete-item {
    padding: 9px 12px;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--bc-border-subtle);
    transition: background-color 0.1s ease;
}

.bc-autocomplete-item:last-child {
    border-bottom: none;
}

.bc-autocomplete-item:hover, .bc-autocomplete-item.active {
    background-color: var(--bc-primary-light);
    color: var(--bc-primary);
    font-weight: 500;
}

/* Fixed Bottom Action Bar */
.bc-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--bc-border);
    padding: 12px 24px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    z-index: 1010;
}

[data-bs-theme="dark"] .bc-action-bar {
    background: rgba(17, 24, 39, 0.94);
}

/* Buttons */
.btn {
    font-family: var(--bc-font-heading);
    border-radius: var(--bc-radius-md);
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
    background-color: var(--bc-primary);
    border-color: var(--bc-primary);
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background-color: var(--bc-primary-hover);
    border-color: var(--bc-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.btn-whatsapp {
    background-color: var(--bc-whatsapp);
    color: #ffffff;
    font-weight: 600;
    border: none;
    box-shadow: 0 1px 2px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background-color: var(--bc-whatsapp-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25);
}

/* Status Badges */
.badge-paid {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-weight: 600;
}

.badge-partial {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-weight: 600;
}

.badge-unpaid {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
    font-weight: 600;
}

/* Challan Card */
.bc-challan-card {
    background: #ffffff;
    border-radius: var(--bc-radius-lg);
    border: 1px solid var(--bc-border);
    box-shadow: var(--bc-shadow-md);
    padding: 32px;
}

/* Micro-modal Styling */
.modal-content {
    border-radius: var(--bc-radius-lg);
    border: 1px solid var(--bc-border);
    box-shadow: var(--bc-shadow-xl);
}

.modal-header {
    border-bottom: 1px solid var(--bc-border);
    padding: 18px 24px;
}

.modal-footer {
    border-top: 1px solid var(--bc-border);
    padding: 16px 24px;
}

/* ==========================================================================
   DEVELOPER SIGNATURE BADGE (Top Left After Main Logo)
   VERTEX SOFT (www.vertexsoftbd.com) | Developer Ashiqq (Call 01315912131)
   ========================================================================== */
.bc-dev-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: var(--bc-radius-pill);
    padding: 3px 10px;
    font-family: var(--bc-font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--bc-text-muted);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    line-height: 1.25;
}

[data-bs-theme="dark"] .bc-dev-top-badge {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(96, 165, 250, 0.3);
    color: #94a3b8;
}

.bc-dev-top-badge:hover {
    background: rgba(37, 99, 235, 0.14);
    border-color: var(--bc-primary);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.18);
}

.bc-dev-top-badge .dev-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    display: inline-block;
    box-shadow: 0 0 5px rgba(16, 185, 129, 0.8);
    flex-shrink: 0;
}

.bc-dev-top-badge .dev-brand-link {
    color: #1e40af;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.15s ease;
}

[data-bs-theme="dark"] .bc-dev-top-badge .dev-brand-link {
    color: #60a5fa;
}

.bc-dev-top-badge .dev-brand-link:hover {
    color: var(--bc-primary);
    text-decoration: underline;
}

.bc-dev-top-badge .dev-sep {
    color: #94a3b8;
    opacity: 0.6;
    font-weight: 400;
}

.bc-dev-top-badge .dev-author-link {
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s ease;
}

[data-bs-theme="dark"] .bc-dev-top-badge .dev-author-link {
    color: #cbd5e1;
}

.bc-dev-top-badge .dev-author-link:hover {
    color: var(--bc-primary);
    text-decoration: underline;
}

/* Hide legacy bottom corner badge */
.bc-dev-corner-badge {
    display: none !important;
}

/* ==========================================================================
   CHALLAN MASTER-DETAIL SPLIT LAYOUT (Left List & Active Bill)
   ========================================================================== */
.bc-challan-sidebar {
    background: var(--bc-bg-card);
    border-radius: var(--bc-radius-lg);
    border: 1px solid var(--bc-border);
    box-shadow: var(--bc-shadow-sm);
    overflow: hidden;
    position: sticky;
    top: 76px;
    z-index: 100;
}

.bc-challan-client-list {
    max-height: calc(100vh - 250px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--bc-border) transparent;
}

.bc-challan-client-list::-webkit-scrollbar {
    width: 5px;
}

.bc-challan-client-list::-webkit-scrollbar-thumb {
    background: var(--bc-border);
    border-radius: 4px;
}

.bc-client-card-item {
    padding: 12px 14px;
    border-left: 4px solid transparent;
    border-bottom: 1px solid var(--bc-border-subtle);
    background: var(--bc-bg-card);
    text-decoration: none;
    display: block;
    color: var(--bc-text-primary);
    transition: all 0.15s ease;
    cursor: pointer;
}

.bc-client-card-item:hover {
    background-color: #f8fafc;
    border-left-color: var(--bc-primary-border);
    color: var(--bc-text-primary);
}

[data-bs-theme="dark"] .bc-client-card-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.bc-client-card-item.active {
    background-color: var(--bc-primary-light);
    border-left-color: var(--bc-primary);
    border-left-width: 4px;
}

[data-bs-theme="dark"] .bc-client-card-item.active {
    background-color: rgba(37, 99, 235, 0.16);
    border-left-color: var(--bc-primary);
}

.bc-client-card-item .client-mark-title {
    font-family: var(--bc-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--bc-text-primary);
}

.bc-client-card-item.active .client-mark-title {
    color: var(--bc-primary);
}

.bc-client-card-item .client-due-amount {
    font-family: var(--bc-font-mono);
    font-weight: 700;
    font-size: 0.88rem;
}

/* Batch Print All Invoices Banner & Buttons */
.btn-batch-pdf {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #ffffff;
    border: 1px solid #334155;
    font-weight: 700;
    box-shadow: var(--bc-shadow-xs);
    transition: all 0.18s ease;
}

.btn-batch-pdf:hover {
    background: linear-gradient(135deg, #0f172a, #020617);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: var(--bc-shadow-md);
}

/* ==========================================================================
   HORIZONTAL CONTAINER ARCHITECTURE (SaaS Executive Proportions)
   Constrains layout from stretching edge-to-edge on PC / Wide Monitors.
   Centers content cleanly with optimal visual breathing room.
   ========================================================================== */
.bc-app-container,
body > .container-fluid,
.bc-navbar .container-fluid,
.bc-action-bar .container-fluid {
    width: 100% !important;
    max-width: 1260px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(12px, 2.5vw, 24px) !important;
    padding-right: clamp(12px, 2.5vw, 24px) !important;
}

/* Smooth Scrollbar for Horizontally Scrollable Tables */
.table-responsive {
    -webkit-overflow-scrolling: touch;
    border-radius: var(--bc-radius-lg);
    scrollbar-width: thin;
}

.table-responsive::-webkit-scrollbar {
    height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
    background: var(--bc-border-subtle);
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: var(--bc-border-strong);
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: var(--bc-text-muted);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE CORE FOUNDATION
   ========================================================================== */

/* Universal Fluid Resets & Safe Mobile Tap */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

.bc-app-container {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding-bottom: 120px; /* Essential clearance for bottom floating action dock */
}

/* Base Responsive Grid & Ribbon Defaults */
.bc-nav-capsule-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.table-responsive {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    position: relative;
    border-radius: var(--bc-radius-md);
}

/* ==========================================================================
   APPLE-GRADE GOD LEVEL DESIGN SYSTEM (macOS Sequoia & iOS 18 HIG)
   ========================================================================== */

/* 1. Apple Hero Bar (Page Header) */
.bc-apple-hero-bar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: var(--bc-radius-lg);
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    padding: 20px 26px;
    margin-bottom: 22px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-bs-theme="dark"] .bc-apple-hero-bar {
    background: rgba(22, 22, 24, 0.85);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.bc-apple-hero-bar:hover {
    box-shadow: 0 8px 30px -6px rgba(0, 0, 0, 0.07);
}

.bc-hero-title-group h2,
.bc-hero-title-group h4 {
    font-family: var(--bc-font-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--bc-text-primary);
    margin-bottom: 0;
}

.bc-hero-subtitle {
    color: var(--bc-text-secondary);
    font-size: 0.86rem;
    margin-top: 4px;
    margin-bottom: 0;
    letter-spacing: -0.01em;
}

/* Status Badges with Apple Glow Dot */
.bc-apple-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--bc-radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
}

.bc-apple-status-pill.active,
.bc-apple-status-pill.draft {
    background: rgba(52, 199, 89, 0.12);
    color: #248a3d;
    border-color: rgba(52, 199, 89, 0.28);
}

[data-bs-theme="dark"] .bc-apple-status-pill.active,
[data-bs-theme="dark"] .bc-apple-status-pill.draft {
    background: rgba(52, 199, 89, 0.2);
    color: #4cd964;
    border-color: rgba(52, 199, 89, 0.35);
}

.bc-apple-status-pill.archived,
.bc-apple-status-pill.locked {
    background: rgba(255, 59, 48, 0.1);
    color: #d70015;
    border-color: rgba(255, 59, 48, 0.25);
}

[data-bs-theme="dark"] .bc-apple-status-pill.archived,
[data-bs-theme="dark"] .bc-apple-status-pill.locked {
    background: rgba(255, 59, 48, 0.2);
    color: #ff453a;
    border-color: rgba(255, 59, 48, 0.35);
}

.bc-apple-status-pill .pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    box-shadow: 0 0 6px currentColor;
}

/* 2. Apple Stats Island (Widget Cards Grid) */
.bc-apple-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.bc-apple-stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: var(--bc-radius-lg);
    padding: 18px 20px;
    box-shadow: var(--bc-shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 16px;
}

[data-bs-theme="dark"] .bc-apple-stat-card {
    background: rgba(22, 22, 24, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bc-apple-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--bc-shadow-md);
    border-color: rgba(0, 113, 227, 0.25);
}

.bc-stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--bc-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.bc-stat-icon-wrapper.blue {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.15), rgba(0, 113, 227, 0.25));
    color: #0071e3;
    border: 1px solid rgba(0, 113, 227, 0.2);
}

.bc-stat-icon-wrapper.green {
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.15), rgba(52, 199, 89, 0.25));
    color: #34c759;
    border: 1px solid rgba(52, 199, 89, 0.2);
}

.bc-stat-icon-wrapper.orange {
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.15), rgba(255, 149, 0, 0.25));
    color: #ff9500;
    border: 1px solid rgba(255, 149, 0, 0.2);
}

.bc-stat-icon-wrapper.purple {
    background: linear-gradient(135deg, rgba(175, 82, 222, 0.15), rgba(175, 82, 222, 0.25));
    color: #af52de;
    border: 1px solid rgba(175, 82, 222, 0.2);
}

.bc-stat-icon-wrapper.red {
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.15), rgba(255, 59, 48, 0.25));
    color: #ff3b30;
    border: 1px solid rgba(255, 59, 48, 0.2);
}

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

.bc-stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bc-text-muted);
    margin-bottom: 2px;
}

.bc-stat-value {
    font-family: var(--bc-font-mono);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--bc-text-primary);
    line-height: 1.2;
}

.bc-stat-meta {
    font-size: 0.75rem;
    color: var(--bc-text-secondary);
    margin-top: 3px;
}

/* 3. Apple Intelligence Number-to-Words Callout */
.bc-apple-words-banner {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.04) 0%, rgba(88, 86, 214, 0.06) 100%);
    border: 1px solid rgba(0, 113, 227, 0.18);
    border-radius: var(--bc-radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.05);
    position: relative;
    overflow: hidden;
}

[data-bs-theme="dark"] .bc-apple-words-banner {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1) 0%, rgba(88, 86, 214, 0.12) 100%);
    border-color: rgba(0, 113, 227, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.bc-apple-words-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 113, 227, 0.4), transparent);
}

.bc-words-icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0071e3 0%, #5856d6 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.35);
}

.bc-words-body {
    flex: 1;
}

.bc-words-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--apple-blue);
    margin-bottom: 2px;
}

.bc-words-text {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--bc-text-primary);
    line-height: 1.35;
}

/* 4. Apple Spotlight Instant Search Bar */
.bc-spotlight-bar {
    position: relative;
    max-width: 480px;
    width: 100%;
}

.bc-spotlight-input {
    width: 100%;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--bc-radius-pill);
    padding: 0 42px 0 38px;
    font-size: 0.875rem;
    color: var(--bc-text-primary);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03), 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-bs-theme="dark"] .bc-spotlight-input {
    background: rgba(30, 30, 34, 0.8);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.bc-spotlight-input:focus {
    outline: none;
    background: var(--bc-bg-card);
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.2), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.bc-spotlight-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bc-text-muted);
    font-size: 0.95rem;
    pointer-events: none;
}

.bc-spotlight-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--bc-text-muted);
    font-size: 0.85rem;
    padding: 4px;
    cursor: pointer;
    border-radius: 50%;
    display: none;
    transition: color 0.15s ease;
}

.bc-spotlight-clear:hover {
    color: var(--bc-text-primary);
}

.bc-spotlight-badge {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 0.68rem;
    font-family: var(--bc-font-mono);
    color: var(--bc-text-muted);
    pointer-events: none;
}

[data-bs-theme="dark"] .bc-spotlight-badge {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

/* 5. Apple Contacts & Catalog Cards / High Density UI */
.bc-apple-card-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: var(--bc-radius-lg);
    box-shadow: var(--bc-shadow-sm);
    overflow: hidden;
    margin-bottom: 28px;
}

[data-bs-theme="dark"] .bc-apple-card-container {
    background: rgba(22, 22, 24, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.bc-client-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

/* 6. Apple Dynamic Island Action Dock */
.bc-apple-floating-dock {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--bc-radius-pill);
    box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 95vw;
}

[data-bs-theme="dark"] .bc-apple-floating-dock {
    background: rgba(28, 28, 30, 0.88);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 40px -6px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.bc-apple-floating-dock:hover {
    box-shadow: 0 20px 44px -6px rgba(0, 0, 0, 0.18);
    transform: translateX(-50%) translateY(-2px);
}

/* 7. Apple Modals & Dialogs */
.modal-content.bc-apple-modal {
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    overflow: hidden;
}

[data-bs-theme="dark"] .modal-content.bc-apple-modal {
    background: rgba(28, 28, 30, 0.96);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 70px -12px rgba(0, 0, 0, 0.7);
}

.bc-apple-modal .modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 20px 24px;
}

[data-bs-theme="dark"] .bc-apple-modal .modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.bc-apple-modal .modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.02);
}

[data-bs-theme="dark"] .bc-apple-modal .modal-footer {
    border-top-color: rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

/* 8. Table Focus & Precision Enhancements */
.bc-table tbody tr:focus-within {
    background-color: rgba(0, 113, 227, 0.04);
}

[data-bs-theme="dark"] .bc-table tbody tr:focus-within {
    background-color: rgba(0, 113, 227, 0.1);
}

.bc-grid-input:focus {
    border-color: var(--apple-blue) !important;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.22) !important;
}

/* Copy to Clipboard Chip */
.bc-copy-btn {
    opacity: 0.6;
    transition: opacity 0.15s ease, transform 0.15s ease;
    border: none;
    background: none;
    padding: 2px 4px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--bc-text-muted);
}

.bc-copy-btn:hover {
    opacity: 1;
    transform: scale(1.15);
    color: var(--apple-blue);
}

/* ==========================================================================
   5. Apple-Grade Projects Directory & Recent Batch System
   ========================================================================== */
.bc-recent-projects-container {
    margin-bottom: 2rem;
}

.bc-recent-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.bc-recent-section-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bc-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bc-recent-card {
    position: relative;
    background: var(--bc-glass-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--bc-glass-border);
    border-radius: var(--bc-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--bc-shadow-ambient);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.bc-recent-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.bc-recent-card.recent-primary {
    border-color: rgba(52, 199, 89, 0.35);
    background: linear-gradient(145deg, rgba(52, 199, 89, 0.04) 0%, var(--bc-glass-surface) 100%);
}

[data-bs-theme="dark"] .bc-recent-card.recent-primary {
    border-color: rgba(52, 199, 89, 0.45);
    background: linear-gradient(145deg, rgba(52, 199, 89, 0.08) 0%, var(--bc-glass-surface) 100%);
}

.bc-recent-card.recent-secondary {
    border-color: rgba(88, 86, 214, 0.3);
    background: linear-gradient(145deg, rgba(88, 86, 214, 0.04) 0%, var(--bc-glass-surface) 100%);
}

[data-bs-theme="dark"] .bc-recent-card.recent-secondary {
    border-color: rgba(88, 86, 214, 0.4);
    background: linear-gradient(145deg, rgba(88, 86, 214, 0.08) 0%, var(--bc-glass-surface) 100%);
}

.bc-recent-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--bc-radius-pill);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.bc-recent-badge.primary {
    background: rgba(52, 199, 89, 0.12);
    color: var(--apple-green);
    border: 1px solid rgba(52, 199, 89, 0.3);
}

.bc-recent-badge.secondary {
    background: rgba(88, 86, 214, 0.12);
    color: var(--apple-indigo);
    border: 1px solid rgba(88, 86, 214, 0.3);
}

.bc-recent-badge .badge-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
    animation: pulseDot 1.8s infinite;
}

.bc-recent-project-title {
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--bc-text-primary);
    margin: 0.75rem 0 0.35rem 0;
    line-height: 1.3;
}

.bc-recent-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 1.25rem;
}

.bc-recent-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--bc-radius-pill);
    padding: 3px 10px;
    font-size: 0.75rem;
    color: var(--bc-text-secondary);
    font-weight: 500;
}

[data-bs-theme="dark"] .bc-recent-meta-chip {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
}

.bc-recent-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0.85rem;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--bc-radius-md);
    margin-bottom: 1.25rem;
}

[data-bs-theme="dark"] .bc-recent-stats-row {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

.bc-recent-stat-col {
    text-align: center;
}

.bc-recent-stat-col .stat-lbl {
    font-size: 0.68rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--bc-text-muted);
}

.bc-recent-stat-col .stat-val {
    font-size: 1.05rem;
    font-weight: 800;
    font-family: var(--bc-font-mono);
    color: var(--bc-text-primary);
    margin-top: 2px;
}

/* Dropdown Menu Recent Item Highlight */
.bc-dropdown-recent-item {
    border-left: 3px solid transparent;
    transition: all 0.15s ease;
}

.bc-dropdown-recent-item.recent-1 {
    border-left-color: var(--apple-green);
    background: rgba(52, 199, 89, 0.04);
}

.bc-dropdown-recent-item.recent-2 {
    border-left-color: var(--apple-indigo);
    background: rgba(88, 86, 214, 0.04);
}

.bc-dropdown-recent-tag {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    border-radius: var(--bc-radius-pill);
    text-transform: uppercase;
}

.bc-dropdown-recent-tag.tag-1 {
    background: rgba(52, 199, 89, 0.15);
    color: var(--apple-green);
}

.bc-dropdown-recent-tag.tag-2 {
    background: rgba(88, 86, 214, 0.15);
    color: var(--apple-indigo);
}

/* ==========================================================================
   MASTER FRONTEND PERFECTION & COMPLETE RESPONSIVE SUITE
   Multi-tier: 1200px | 992px | 768px | 576px | 380px
   ========================================================================== */

/* Universal Transitions, Interactive Feedback & Glassmorphism */
* {
    -webkit-tap-highlight-color: transparent;
}

body {
    transition: background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:active,
.bc-apple-btn:active,
.bc-nav-pill:active {
    transform: scale(0.96) !important;
}

/* Pulse Glow Animation for Status Pills & Live Badges */
@keyframes bcPulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(52, 199, 89, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 199, 89, 0);
    }
}

.bc-apple-status-pill .pill-dot,
.bc-recent-badge .badge-pulse-dot {
    animation: bcPulseGlow 2.2s infinite ease-out;
}

/* Glass Surface Universal Utilities */
.bc-glass-panel {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-bs-theme="dark"] .bc-glass-panel {
    background: rgba(22, 22, 24, 0.88);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Autocomplete Menu Glassmorphic Polish */
.bc-autocomplete-menu {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(24px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden;
    z-index: 1060 !important;
}

[data-bs-theme="dark"] .bc-autocomplete-menu {
    background: rgba(26, 26, 30, 0.96) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 20px 45px -4px rgba(0, 0, 0, 0.6) !important;
}

.bc-autocomplete-item {
    padding: 10px 14px;
    font-size: 0.88rem;
    transition: all 0.15s ease;
}

.bc-autocomplete-item:hover,
.bc-autocomplete-item.active {
    background: rgba(0, 113, 227, 0.1) !important;
    color: var(--apple-blue) !important;
    font-weight: 600;
    padding-left: 18px;
}

/* --------------------------------------------------------------------------
   1. LAPTOPS & DESKTOPS (< 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .bc-apple-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px;
    }
    .bc-apple-hero-bar {
        padding: 16px 22px;
    }
}

/* --------------------------------------------------------------------------
   2. TABLETS & SMALL MONITORS (< 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .bc-apple-topbar {
        padding: 8px 12px;
    }
    
    .bc-brand-name {
        font-size: 1.12rem !important;
    }

    /* Silky Horizontal Inertia Navigation Ribbon */
    .bc-apple-navribbon {
        padding: 4px 0 8px 0;
        position: relative;
    }

    .bc-nav-capsule-wrapper {
        display: flex !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 2px 12px 6px 12px !important;
    }

    .bc-nav-capsule-wrapper::-webkit-scrollbar {
        display: none !important;
    }

    .bc-apple-segmented-capsule {
        display: inline-flex !important;
        flex-wrap: nowrap !important;
        width: max-content !important;
        gap: 4px;
        padding: 4px !important;
    }

    .bc-nav-pill {
        scroll-snap-align: start;
        padding: 7px 14px !important;
        font-size: 0.80rem !important;
        min-height: 40px !important;
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        white-space: nowrap !important;
    }

    /* Challan Master-Detail Split on Tablets & Mobile */
    .bc-challan-sidebar {
        margin-bottom: 20px;
        position: static !important;
    }

    .bc-challan-client-list {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 10px;
        padding: 8px 4px 12px 4px;
        max-height: none !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin;
    }

    .bc-client-card-item {
        flex: 0 0 240px !important;
        scroll-snap-align: start;
        margin-bottom: 0 !important;
        border-radius: var(--bc-radius-md) !important;
        border: 1px solid var(--bc-border) !important;
        background: var(--bc-bg-card);
        padding: 12px 14px !important;
    }
}

/* --------------------------------------------------------------------------
   3. SMARTPHONES & MOBILE SCREENS (< 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    /* Prevent iOS browser auto-zoom on input focus by enforcing 16px font-size */
    input, select, textarea,
    .bc-grid-input,
    .form-control,
    .form-select {
        font-size: 16px !important;
        min-height: 42px !important;
    }

    .bc-app-container {
        padding-left: 8px !important;
        padding-right: 8px !important;
        padding-bottom: 125px !important;
    }

    /* Header topbar compact layout */
    .bc-apple-topbar {
        padding: 8px 6px !important;
    }
    .bc-apple-topbar .container-fluid {
        padding: 0 6px !important;
    }
    .bc-brand-logo {
        font-size: 1.05rem !important;
        gap: 5px;
    }
    .bc-brand-name {
        font-size: 1.02rem !important;
    }
    .bc-dev-chip {
        padding: 2px 7px !important;
        font-size: 0.65rem !important;
    }
    .bc-dev-contact,
    .bc-dev-divider {
        display: none !important;
    }

    /* Project dropdown button on mobile */
    #projectSeriesDropdown {
        font-size: 0.78rem !important;
        padding: 5px 9px !important;
        max-width: 145px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    #projectSeriesDropdown .badge {
        display: none !important;
    }

    /* Apple Hero Header Bar */
    .bc-apple-hero-bar {
        padding: 14px 14px !important;
        margin-bottom: 16px !important;
        border-radius: var(--bc-radius-md) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }
    .bc-hero-title-group h4 {
        font-size: 1.15rem !important;
        line-height: 1.25;
    }
    .bc-hero-subtitle {
        font-size: 0.78rem !important;
        margin-top: 6px !important;
    }
    .bc-apple-hero-bar .d-flex.align-items-center.gap-2 {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px !important;
    }
    .bc-apple-hero-bar .btn {
        flex: 1 1 calc(50% - 6px);
        justify-content: center;
        padding: 8px 12px !important;
        font-size: 0.82rem !important;
    }

    /* Stats Grid: Clean 2-column mobile cards */
    .bc-apple-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-bottom: 18px !important;
    }
    .bc-apple-stat-card {
        padding: 12px 12px !important;
        gap: 10px !important;
        border-radius: var(--bc-radius-md) !important;
    }
    .bc-stat-icon-wrapper {
        width: 36px !important;
        height: 36px !important;
        font-size: 1.05rem !important;
        border-radius: 9px !important;
    }
    .bc-stat-label {
        font-size: 0.64rem !important;
        letter-spacing: 0.04em !important;
    }
    .bc-stat-value {
        font-size: 1.15rem !important;
    }
    .bc-stat-meta {
        font-size: 0.68rem !important;
    }

    /* South Asian Number-to-Words Banner */
    .bc-apple-words-banner {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding: 14px !important;
    }
    .bc-apple-words-banner .d-flex.align-items-center.gap-3 {
        width: 100%;
    }
    .bc-words-text {
        font-size: 0.90rem !important;
    }
    .bc-apple-words-banner .d-flex.align-items-center.gap-2 {
        width: 100%;
        justify-content: flex-end;
    }

    /* Spreadsheet Tables (Manifest, Ledger, Accounting):
       Sticky Carton Number Column + Silky Horizontal Touch Scroll */
    .bc-grid-container {
        border-radius: var(--bc-radius-md) !important;
        margin-bottom: 24px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
        overflow: hidden;
    }
    .table-responsive {
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth;
        position: relative;
    }
    .bc-table thead th {
        padding: 10px 8px !important;
        font-size: 0.70rem !important;
        letter-spacing: 0.04em !important;
        white-space: nowrap;
    }
    .bc-table tbody td {
        padding: 6px 6px !important;
    }

    /* Sticky CTN NO / SL Column on Left for all data grids */
    .bc-table th:first-child,
    .bc-table td:first-child,
    .bc-apple-table th:first-child,
    .bc-apple-table td:first-child {
        position: sticky !important;
        left: 0 !important;
        z-index: 5 !important;
        background: #ffffff !important;
        box-shadow: 3px 0 8px -2px rgba(0, 0, 0, 0.08) !important;
        width: 54px !important;
        min-width: 54px !important;
        max-width: 54px !important;
        text-align: center !important;
    }
    [data-bs-theme="dark"] .bc-table th:first-child,
    [data-bs-theme="dark"] .bc-table td:first-child,
    [data-bs-theme="dark"] .bc-apple-table th:first-child,
    [data-bs-theme="dark"] .bc-apple-table td:first-child {
        background: #1c1c1e !important;
        box-shadow: 3px 0 10px -2px rgba(0, 0, 0, 0.45) !important;
    }

    /* Minimum Width Safeguards for Data Cells */
    .bc-table th:nth-child(2), .bc-table td:nth-child(2) { min-width: 140px; } /* Mark */
    .bc-table th:nth-child(3), .bc-table td:nth-child(3) { min-width: 175px; } /* Goods */
    .bc-table th:nth-child(4), .bc-table td:nth-child(4) { min-width: 95px; }  /* Qty */
    .bc-table th:nth-child(5), .bc-table td:nth-child(5) { min-width: 110px; } /* Weight */
    .bc-table th:nth-child(6), .bc-table td:nth-child(6) { min-width: 105px; } /* Rate */
    .bc-table th:nth-child(7), .bc-table td:nth-child(7) { min-width: 115px; } /* Total */

    .bc-grid-input {
        padding: 8px 10px !important;
        min-height: 42px !important;
    }

    /* Apple Floating Island Action Dock on Mobile */
    .bc-apple-floating-dock {
        width: calc(100% - 20px) !important;
        max-width: 480px !important;
        left: 50% !important;
        bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
        padding: 7px 12px !important;
        justify-content: space-between !important;
        gap: 8px !important;
        box-shadow: 0 14px 38px -4px rgba(0, 0, 0, 0.2), 0 4px 14px rgba(0, 0, 0, 0.08) !important;
    }
    .bc-apple-floating-dock .btn {
        flex: 1 1 auto;
        padding: 9px 12px !important;
        font-size: 0.82rem !important;
        justify-content: center;
        border-radius: var(--bc-radius-pill) !important;
        min-height: 40px !important;
    }

    /* Delivery Challan Document Card */
    .bc-challan-card {
        padding: 20px 14px !important;
        border-radius: var(--bc-radius-md) !important;
        margin-bottom: 24px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
    }
    .bc-challan-card h2 {
        font-size: 1.4rem !important;
    }

    /* 4 Global Branch Offices Box - Clean 2x2 Grid on Mobile */
    .bc-challan-card .row.g-3 > div {
        width: 50% !important;
        padding: 8px !important;
        font-size: 0.74rem !important;
    }

    /* Client info lines responsive layout */
    #challan-mark-val,
    #challan-address-val {
        min-width: 0 !important;
        width: 100% !important;
        display: block !important;
        margin-top: 4px !important;
        word-break: break-word;
    }

    /* Spotlight Search Bar Full Width */
    .bc-spotlight-bar {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Payments form & Statement split on Mobile */
    .col-lg-4, .col-lg-8 {
        width: 100% !important;
    }

    /* Modals Responsive Layout */
    .modal-dialog {
        margin: 14px auto !important;
        max-width: calc(100% - 24px) !important;
    }
    .bc-apple-modal {
        border-radius: 20px !important;
    }
    .bc-apple-modal .modal-header {
        padding: 16px 18px !important;
    }
    .bc-apple-modal .modal-body {
        padding: 16px 18px !important;
    }
    .bc-apple-modal .modal-footer {
        padding: 14px 18px !important;
        flex-wrap: wrap;
        gap: 8px;
    }
    .bc-apple-modal .modal-footer .btn {
        flex: 1 1 calc(50% - 4px);
    }
}

/* --------------------------------------------------------------------------
   4. COMPACT / NARROW MOBILE PHONES (< 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 479.98px) {
    .bc-brand-name {
        font-size: 0.96rem !important;
    }
    .bc-brand-icon {
        font-size: 1.1rem !important;
    }
    .bc-dev-chip {
        display: none !important;
    }

    /* Challan branch offices stack vertically on extra small screens */
    .bc-challan-card .row.g-3 > div {
        width: 100% !important;
        border-bottom: 1px dashed var(--bc-border);
        padding-bottom: 10px !important;
    }
    .bc-challan-card .row.g-3 > div:last-child {
        border-bottom: none;
    }

    /* Signatures Stack Vertically on Narrow Screens without clipping */
    .bc-challan-card .row.pt-4.pb-2.my-4 > div {
        width: 100% !important;
        margin-bottom: 30px !important;
    }
    .bc-challan-card .row.pt-4.pb-2.my-4 > div:last-child {
        margin-bottom: 0 !important;
    }
    .bc-challan-card .border-top {
        width: 75% !important;
        max-width: 220px !important;
    }

    .bc-apple-floating-dock .btn span {
        font-size: 0.76rem !important;
    }

    .bc-apple-hero-bar .btn {
        flex: 1 1 100% !important;
    }
}

/* --------------------------------------------------------------------------
   5. ULTRA-COMPACT SMARTPHONES (< 360px, e.g. iPhone SE 1st Gen)
   -------------------------------------------------------------------------- */
}

/* ==========================================================================
   RADIANT LOGIN SCREEN DESIGN SYSTEM (Apple & Linear Standard)
   ========================================================================== */
body.login-page,
.bc-login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 18%, rgba(0, 113, 227, 0.12) 0%, rgba(245, 245, 247, 1) 75%);
    margin: 0;
    padding: clamp(16px, 4vw, 32px);
    font-family: var(--bc-font-sans);
}

[data-bs-theme="dark"] body.login-page,
[data-bs-theme="dark"] .bc-login-body {
    background: radial-gradient(circle at 50% 18%, rgba(0, 113, 227, 0.22) 0%, #000000 80%);
}

.login-card {
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.8);
    padding: clamp(1.8rem, 5vw, 2.6rem) clamp(1.4rem, 4vw, 2.2rem);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-bs-theme="dark"] .login-card {
    background: rgba(22, 22, 24, 0.92);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 28px 60px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0071e3, #5856d6, #34c759);
}

.brand-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.3);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-icon-box:hover {
    transform: scale(1.08) rotate(-4deg);
}

[data-bs-theme="dark"] .brand-icon-box {
    background: linear-gradient(135deg, #0f172a, #020617);
    box-shadow: 0 10px 28px -4px rgba(0, 113, 227, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-floating > .form-control {
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    padding-left: 1.1rem;
    font-size: 16px !important; /* Prevents iOS auto-zoom */
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.9);
}

[data-bs-theme="dark"] .form-floating > .form-control {
    background: rgba(30, 30, 34, 0.85);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f5f5f7;
}

.form-floating > .form-control:focus {
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.18);
    background: #ffffff;
}

[data-bs-theme="dark"] .form-floating > .form-control:focus {
    background: #18181b;
}

.form-floating > label {
    padding-left: 1.1rem;
    color: var(--bc-text-muted);
}

.btn-signin {
    background: linear-gradient(135deg, #0071e3, #0056b3);
    border: none;
    border-radius: 14px;
    font-weight: 700;
    padding: 0.9rem 1.6rem;
    font-size: 1rem;
    letter-spacing: -0.01em;
    color: #ffffff;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.28);
    min-height: 48px;
}

.btn-signin:hover {
    background: linear-gradient(135deg, #0077ed, #0062cc);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.38);
    color: #ffffff;
}

.btn-signin:active {
    transform: scale(0.98);
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--bc-text-secondary);
    background: rgba(0, 0, 0, 0.04);
    padding: 5px 12px;
    border-radius: var(--bc-radius-pill);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-bs-theme="dark"] .security-badge {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: #a1a1a6;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    z-index: 10;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.password-toggle:hover {
    color: #0071e3;
    background-color: rgba(0, 113, 227, 0.08);
}
