/* ==========================================================================
   BC2 Isolated Admin Portal Design System
   Light Theme Base | Gray-to-Black Palette | Deep-bordered Accent Indicators
   Moderate Radii (8px-16px) | Flat / Minimal Shadows | Fully Responsive
   ========================================================================== */

:root {
    --bc2-bg: #f8fafc;
    --bc2-surface: #ffffff;
    --bc2-surface-alt: #f1f5f9;
    --bc2-dark-card: #0f172a;
    --bc2-dark-card-surface: #1e293b;
    
    --bc2-text-main: #0f172a;
    --bc2-text-muted: #64748b;
    --bc2-text-light: #94a3b8;
    
    --bc2-border: #e2e8f0;
    --bc2-border-dark: #cbd5e1;
    --bc2-border-subtle: #f1f5f9;
    
    /* Positive / Success (Very light bg, thin deep border & text) */
    --bc2-success-bg: #f0fdf4;
    --bc2-success-border: #86efac;
    --bc2-success-text: #15803d;
    --bc2-success-solid: #22c55e;
    
    /* Negative / Danger */
    --bc2-danger-bg: #fef2f2;
    --bc2-danger-border: #fca5a5;
    --bc2-danger-text: #b91c1c;
    --bc2-danger-solid: #ef4444;
    
    /* Warning / Pending */
    --bc2-warning-bg: #fffbeb;
    --bc2-warning-border: #fde68a;
    --bc2-warning-text: #b45309;
    
    /* Primary Accent */
    --bc2-primary: #0f172a;
    --bc2-primary-hover: #1e293b;
    --bc2-accent-green: #10b981;
    
    --bc2-radius-sm: 8px;
    --bc2-radius-md: 12px;
    --bc2-radius-lg: 16px;
    --bc2-radius-full: 9999px;
    
    --bc2-shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.04);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bc2-bg);
    color: var(--bc2-text-main);
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Base Layout */
.bc2-layout {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Sidebar */
.bc2-sidebar {
    width: 280px;
    background: var(--bc2-surface);
    border-right: 1px solid var(--bc2-border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bc2-sidebar-header {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--bc2-border);
}

.bc2-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--bc2-text-main);
}

.bc2-brand-badge {
    width: 36px;
    height: 36px;
    background: var(--bc2-primary);
    color: #ffffff;
    border-radius: var(--bc2-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.5px;
}

.bc2-brand-text {
    display: flex;
    flex-direction: column;
}

.bc2-brand-title {
    font-weight: 800;
    font-size: 17px;
    color: var(--bc2-text-main);
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.bc2-brand-subtitle {
    font-size: 11px;
    font-weight: 600;
    color: var(--bc2-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation Links */
.bc2-sidebar-nav {
    flex: 1;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
}

.bc2-nav-section-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--bc2-text-light);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 8px 12px;
    margin-top: 8px;
}

.bc2-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--bc2-radius-md);
    color: var(--bc2-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.bc2-nav-item svg {
    width: 20px;
    height: 20px;
    color: var(--bc2-text-muted);
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.bc2-nav-item:hover {
    background-color: var(--bc2-surface-alt);
    color: var(--bc2-text-main);
    border-color: var(--bc2-border);
}

.bc2-nav-item:hover svg {
    color: var(--bc2-text-main);
}

.bc2-nav-item.active {
    background-color: var(--bc2-primary);
    color: #ffffff;
    border-color: var(--bc2-primary);
}

.bc2-nav-item.active svg {
    color: var(--bc2-accent-green);
}

.bc2-nav-item .bc2-badge-count {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--bc2-radius-full);
    background: var(--bc2-surface-alt);
    color: var(--bc2-text-main);
    border: 1px solid var(--bc2-border);
}

.bc2-nav-item.active .bc2-badge-count {
    background: var(--bc2-dark-card-surface);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Sidebar Footer */
.bc2-sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--bc2-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bc2-surface);
}

.bc2-system-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--bc2-success-text);
}

.bc2-status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--bc2-success-solid);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--bc2-success-bg);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Main Content Area */
.bc2-main {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top Navbar */
.bc2-topbar {
    height: 70px;
    background: var(--bc2-surface);
    border-bottom: 1px solid var(--bc2-border);
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 90;
}

.bc2-topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bc2-mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--bc2-border);
    border-radius: var(--bc2-radius-sm);
    padding: 8px;
    cursor: pointer;
    color: var(--bc2-text-main);
}

.bc2-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bc2-text-muted);
}

.bc2-breadcrumbs span.current {
    color: var(--bc2-text-main);
    font-weight: 700;
}

.bc2-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bc2-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bc2-primary);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: var(--bc2-radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--bc2-primary);
    transition: all 0.2s ease;
}

.bc2-quick-btn:hover {
    background: var(--bc2-primary-hover);
}

.bc2-quick-btn svg {
    width: 16px;
    height: 16px;
}

/* Content Container */
.bc2-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 28px;
    animation: fadeInUp 0.35s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Page Headers */
.bc2-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.bc2-page-title-wrap h1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--bc2-text-main);
    letter-spacing: -0.6px;
    line-height: 1.2;
}

.bc2-page-title-wrap p {
    font-size: 14px;
    color: var(--bc2-text-muted);
    margin-top: 4px;
}

/* Dark Accent Cards for Metric Summary */
.bc2-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.bc2-card-dark {
    background: var(--bc2-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--bc2-radius-lg);
    padding: 22px 20px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.bc2-card-dark::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    pointer-events: none;
}

.bc2-card-dark-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bc2-card-dark-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--bc2-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bc2-card-dark-icon {
    width: 36px;
    height: 36px;
    background: var(--bc2-dark-card-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--bc2-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bc2-accent-green);
}

.bc2-card-dark-icon svg {
    width: 20px;
    height: 20px;
}

.bc2-card-dark-value {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1px;
    margin: 14px 0 6px 0;
}

.bc2-card-dark-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--bc2-text-light);
}

/* Light Metric Card */
.bc2-card-light {
    background: var(--bc2-surface);
    border: 1px solid var(--bc2-border);
    border-radius: var(--bc2-radius-lg);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--bc2-shadow-subtle);
    transition: border-color 0.2s ease;
}

.bc2-card-light:hover {
    border-color: var(--bc2-border-dark);
}

.bc2-card-light-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bc2-card-light-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--bc2-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bc2-card-light-icon {
    width: 36px;
    height: 36px;
    background: var(--bc2-surface-alt);
    border: 1px solid var(--bc2-border);
    border-radius: var(--bc2-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bc2-text-main);
}

.bc2-card-light-icon svg {
    width: 20px;
    height: 20px;
}

.bc2-card-light-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--bc2-text-main);
    letter-spacing: -1px;
    margin: 14px 0 6px 0;
}

.bc2-card-light-sub {
    font-size: 12px;
    color: var(--bc2-text-muted);
}

/* Status Indicators / Badges */
.bc2-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--bc2-radius-full);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.1px;
}

.bc2-badge-success {
    background: var(--bc2-success-bg);
    border: 1px solid var(--bc2-success-border);
    color: var(--bc2-success-text);
}

.bc2-badge-danger {
    background: var(--bc2-danger-bg);
    border: 1px solid var(--bc2-danger-border);
    color: var(--bc2-danger-text);
}

.bc2-badge-warning {
    background: var(--bc2-warning-bg);
    border: 1px solid var(--bc2-warning-border);
    color: var(--bc2-warning-text);
}

.bc2-badge-neutral {
    background: var(--bc2-surface-alt);
    border: 1px solid var(--bc2-border);
    color: var(--bc2-text-muted);
}

/* Main Section Card Container */
.bc2-panel {
    background: var(--bc2-surface);
    border: 1px solid var(--bc2-border);
    border-radius: var(--bc2-radius-lg);
    box-shadow: var(--bc2-shadow-subtle);
    overflow: hidden;
}

.bc2-panel-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--bc2-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.bc2-panel-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--bc2-text-main);
}

/* Search and Filters Bar */
.bc2-filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bc2-search-input-wrap {
    position: relative;
    min-width: 260px;
}

.bc2-search-input-wrap svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--bc2-text-light);
}

.bc2-search-input {
    width: 100%;
    padding: 9px 12px 9px 36px;
    background: var(--bc2-surface-alt);
    border: 1px solid var(--bc2-border);
    border-radius: var(--bc2-radius-sm);
    font-size: 13px;
    color: var(--bc2-text-main);
    font-family: inherit;
    transition: all 0.2s ease;
}

.bc2-search-input:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--bc2-primary);
}

.bc2-filter-select {
    padding: 9px 14px;
    background: var(--bc2-surface-alt);
    border: 1px solid var(--bc2-border);
    border-radius: var(--bc2-radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--bc2-text-main);
    font-family: inherit;
    cursor: pointer;
}

.bc2-filter-select:focus {
    outline: none;
    border-color: var(--bc2-primary);
}

/* Data Table */
.bc2-table-responsive {
    width: 100%;
    overflow-x: auto;
}

.bc2-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13.5px;
}

.bc2-table th {
    background: var(--bc2-surface-alt);
    padding: 14px 20px;
    font-weight: 700;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--bc2-text-muted);
    border-bottom: 1px solid var(--bc2-border);
}

.bc2-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--bc2-border);
    color: var(--bc2-text-main);
    vertical-align: middle;
    transition: background-color 0.15s ease;
}

.bc2-table tbody tr:hover td {
    background-color: #fafbfc;
}

/* Table Specific Cell Styles */
.bc2-user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bc2-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: var(--bc2-radius-sm);
    object-fit: cover;
    background: var(--bc2-surface-alt);
    border: 1px solid var(--bc2-border);
    flex-shrink: 0;
}

.bc2-user-meta {
    display: flex;
    flex-direction: column;
}

.bc2-user-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--bc2-text-main);
}

.bc2-user-sub {
    font-size: 12px;
    color: var(--bc2-text-muted);
}

.bc2-id-badge {
    font-family: ui-monospace, monospace;
    font-weight: 700;
    font-size: 12.5px;
    background: var(--bc2-surface-alt);
    border: 1px solid var(--bc2-border);
    padding: 3px 8px;
    border-radius: 6px;
    color: var(--bc2-text-main);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.bc2-id-badge:hover {
    border-color: var(--bc2-border-dark);
}

/* Action Buttons */
.bc2-action-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bc2-btn-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--bc2-radius-sm);
    border: 1px solid var(--bc2-border);
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bc2-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.bc2-btn-icon:hover {
    border-color: var(--bc2-text-main);
    color: var(--bc2-text-main);
    background: var(--bc2-surface-alt);
}

.bc2-btn-icon.delete:hover {
    background: var(--bc2-danger-bg);
    border-color: var(--bc2-danger-border);
    color: var(--bc2-danger-text);
}

.bc2-btn-icon svg {
    width: 15px;
    height: 15px;
}

/* Form Layout System (Tab 3 / Edit) */
.bc2-form-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    padding: 28px;
}

.bc2-form-section {
    grid-column: span 12;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--bc2-border);
    margin-bottom: 8px;
}

.bc2-form-section-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--bc2-text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bc2-form-section-desc {
    font-size: 13px;
    color: var(--bc2-text-muted);
    margin-top: 2px;
}

.bc2-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.col-12 { grid-column: span 12; }
.col-8 { grid-column: span 8; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }

.bc2-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--bc2-text-main);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bc2-label .req {
    color: var(--bc2-danger-solid);
}

.bc2-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.bc2-input {
    width: 100%;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid var(--bc2-border-dark);
    border-radius: var(--bc2-radius-sm);
    font-size: 14px;
    color: var(--bc2-text-main);
    font-family: inherit;
    transition: all 0.2s ease;
}

.bc2-input:focus {
    outline: none;
    border-color: var(--bc2-primary);
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.bc2-input-btn {
    position: absolute;
    right: 6px;
    padding: 6px 10px;
    background: var(--bc2-surface-alt);
    border: 1px solid var(--bc2-border);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--bc2-text-main);
    cursor: pointer;
    transition: all 0.15s ease;
}

.bc2-input-btn:hover {
    background: var(--bc2-primary);
    color: #ffffff;
}

.bc2-help-text {
    font-size: 11.5px;
    color: var(--bc2-text-muted);
}

/* Drag & Drop File Upload Zone */
.bc2-dropzone {
    position: relative;
    border: 2px dashed var(--bc2-border-dark);
    border-radius: var(--bc2-radius-md);
    padding: 22px 16px;
    text-align: center;
    background: var(--bc2-surface-alt);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
}

.bc2-dropzone:hover {
    border-color: var(--bc2-primary);
    background: #ffffff;
}

.bc2-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.bc2-dropzone svg {
    width: 28px;
    height: 28px;
    color: var(--bc2-text-muted);
}

.bc2-dropzone-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--bc2-text-main);
    z-index: 1;
}

.bc2-dropzone-sub {
    font-size: 11.5px;
    color: var(--bc2-text-muted);
    z-index: 1;
}

.bc2-file-preview {
    margin-top: 10px;
    width: 72px;
    height: 72px;
    border-radius: var(--bc2-radius-sm);
    object-fit: cover;
    border: 1px solid var(--bc2-border);
    display: none;
    z-index: 2;
}

/* Button Styles */
.bc2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--bc2-radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.bc2-btn-primary {
    background: var(--bc2-primary);
    color: #ffffff;
    border-color: var(--bc2-primary);
}

.bc2-btn-primary:hover {
    background: var(--bc2-primary-hover);
}

.bc2-btn-secondary {
    background: #ffffff;
    color: var(--bc2-text-main);
    border-color: var(--bc2-border-dark);
}

.bc2-btn-secondary:hover {
    background: var(--bc2-surface-alt);
}

.bc2-btn-danger {
    background: var(--bc2-danger-solid);
    color: #ffffff;
    border-color: var(--bc2-danger-solid);
}

.bc2-btn-danger:hover {
    background: #dc2626;
}

/* Toast Notifications */
.bc2-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bc2-toast {
    background: #ffffff;
    border: 1px solid var(--bc2-border-dark);
    border-radius: var(--bc2-radius-md);
    padding: 14px 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    font-weight: 600;
    min-width: 300px;
    max-width: 450px;
    animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

.bc2-toast-success {
    border-left: 4px solid var(--bc2-success-solid);
}

.bc2-toast-error {
    border-left: 4px solid var(--bc2-danger-solid);
}

/* Skeleton Loading Shimmer */
.bc2-skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .bc2-sidebar {
        transform: translateX(-100%);
    }
    
    .bc2-sidebar.open {
        transform: translateX(0);
    }
    
    .bc2-main {
        margin-left: 0;
    }
    
    .bc2-mobile-toggle {
        display: block;
    }
    
    .col-8, .col-6, .col-4, .col-3 {
        grid-column: span 12;
    }
}


/* Robust Native Upload Card */
.bc2-upload-card {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 16px 18px !important;
    border: 2px dashed #cbd5e1 !important;
    border-radius: var(--bc2-radius-md) !important;
    background: #f8fafc !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    user-select: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.bc2-upload-card:hover {
    border-color: #0f172a !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.bc2-hidden-file {
    position: absolute !important;
    width: 0.1px !important;
    height: 0.1px !important;
    opacity: 0 !important;
    overflow: hidden !important;
    z-index: -1 !important;
}

.bc2-upload-icon-wrap {
    width: 44px !important;
    height: 44px !important;
    border-radius: var(--bc2-radius-sm) !important;
    background: #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #334155 !important;
    flex-shrink: 0 !important;
}

.bc2-upload-details {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    min-width: 0 !important;
}

.bc2-upload-title {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.bc2-upload-hint {
    font-size: 11.5px !important;
    color: #64748b !important;
}

.bc2-upload-preview-thumb {
    width: 48px !important;
    height: 48px !important;
    border-radius: var(--bc2-radius-sm) !important;
    object-fit: cover !important;
    border: 1px solid #cbd5e1 !important;
    flex-shrink: 0 !important;
}
