/* ============================================
   OPD Management System - Godiva Traders
   Professional Dashboard Styles
   ============================================ */
:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-light: #dbeafe;
    --success: #059669;
    --success-light: #d1fae5;
    --warning: #d97706;
    --warning-light: #fef3c7;
    --danger: #dc2626;
    --danger-light: #fee2e2;
    --info: #0891b2;
    --info-light: #cffafe;
    --bg: #f8fafc;
    --surface: #ffffff;
    --border: #e2e8f0;
    --text: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --sidebar-width: 260px;
    --header-height: 64px;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 14px; }

/* SIDEBAR */
.sidebar { position: fixed; top: 0; left: 0; width: var(--sidebar-width); height: 100vh; background: var(--primary); color: #fff; z-index: 1000; overflow-y: auto; transition: transform 0.3s ease; }
.sidebar-brand { padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: 12px; }
.sidebar-brand .brand-icon { width: 36px; height: 36px; background: var(--accent); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.sidebar-brand .brand-text { font-size: 15px; font-weight: 600; }
.sidebar-brand .brand-sub { font-size: 11px; color: var(--text-light); display: block; }
.sidebar-menu { padding: 12px 0; }
.sidebar-menu .menu-label { padding: 16px 24px 8px; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); }
.sidebar-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 24px; color: #cbd5e1; text-decoration: none; font-size: 13.5px; font-weight: 500; transition: all 0.15s ease; border-left: 3px solid transparent; }
.sidebar-menu a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.sidebar-menu a.active { background: rgba(37,99,235,0.15); color: #60a5fa; border-left-color: var(--accent); }
.sidebar-menu a i { width: 20px; text-align: center; font-size: 15px; }

/* MAIN CONTENT */
.main-content { margin-left: var(--sidebar-width); min-height: 100vh; }

/* TOP HEADER */
.top-header { height: var(--header-height); background: var(--surface); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 28px; position: sticky; top: 0; z-index: 900; }
.top-header .page-title { font-size: 17px; font-weight: 600; }
.top-header .header-actions { display: flex; align-items: center; gap: 16px; }
.top-header .user-menu { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 6px 12px; border-radius: var(--radius); transition: background 0.15s; }
.top-header .user-menu:hover { background: var(--bg); }
.top-header .user-avatar { width: 34px; height: 34px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; }
.top-header .user-info .name { font-size: 13px; font-weight: 600; }
.top-header .user-info .role { font-size: 11px; color: var(--text-muted); }
.mobile-toggle { display: none; border: none; background: none; font-size: 22px; color: var(--text); cursor: pointer; }

/* CONTENT */
.content-area { padding: 24px 28px; }
.content-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.content-header h2 { font-size: 20px; font-weight: 700; margin: 0; }
.text-muted-custom { font-size: 13px; color: var(--text-muted); margin: 2px 0 0; }

/* STAT CARDS */
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; display: flex; align-items: center; gap: 16px; transition: all 0.2s ease; }
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.stat-card .stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.stat-card .stat-icon.blue { background: var(--accent-light); color: var(--accent); }
.stat-card .stat-icon.green { background: var(--success-light); color: var(--success); }
.stat-card .stat-icon.orange { background: var(--warning-light); color: var(--warning); }
.stat-card .stat-icon.red { background: var(--danger-light); color: var(--danger); }
.stat-card .stat-icon.cyan { background: var(--info-light); color: var(--info); }
.stat-card .stat-info .stat-value { font-size: 24px; font-weight: 700; line-height: 1.2; }
.stat-card .stat-info .stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* CARDS */
.card-custom { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.card-custom .card-header-custom { padding: 16px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-custom .card-header-custom h3 { font-size: 15px; font-weight: 600; margin: 0; }
.card-custom .card-body-custom { padding: 20px 24px; }

/* TABLE */
.table-custom { width: 100%; border-collapse: collapse; }
.table-custom thead th { background: var(--bg); padding: 10px 16px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
.table-custom tbody td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 13.5px; vertical-align: middle; }
.table-custom tbody tr:hover { background: #f1f5f9; }
.table-custom tbody tr:last-child td { border-bottom: none; }

/* STATUS BADGES */
.status-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 600; gap: 5px; }
.status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }
.status-badge.waiting { background: var(--warning-light); color: var(--warning); }
.status-badge.waiting::before { background: var(--warning); }
.status-badge.called { background: var(--info-light); color: var(--info); }
.status-badge.called::before { background: var(--info); }
.status-badge.in_consultation { background: var(--accent-light); color: var(--accent); }
.status-badge.in_consultation::before { background: var(--accent); }
.status-badge.completed { background: var(--success-light); color: var(--success); }
.status-badge.completed::before { background: var(--success); }
.status-badge.cancelled, .status-badge.no_show { background: var(--danger-light); color: var(--danger); }
.status-badge.cancelled::before, .status-badge.no_show::before { background: var(--danger); }
.status-badge.active { background: var(--success-light); color: var(--success); }
.status-badge.active::before { background: var(--success); }
.status-badge.inactive { background: var(--danger-light); color: var(--danger); }
.status-badge.inactive::before { background: var(--danger); }
.status-badge.paid { background: var(--success-light); color: var(--success); }
.status-badge.paid::before { background: var(--success); }
.status-badge.pending { background: var(--warning-light); color: var(--warning); }
.status-badge.pending::before { background: var(--warning); }
.status-badge.urgent { background: var(--warning-light); color: var(--warning); }
.status-badge.urgent::before { background: var(--warning); }
.status-badge.emergency { background: var(--danger-light); color: var(--danger); }
.status-badge.emergency::before { background: var(--danger); }
.status-badge.warning { background: var(--warning-light); color: var(--warning); }
.status-badge.warning::before { background: var(--warning); }

/* BUTTONS */
.btn-primary-custom { background: var(--accent); color: #fff; border: none; padding: 8px 18px; border-radius: var(--radius); font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.15s; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.btn-primary-custom:hover { background: var(--accent-hover); color: #fff; }
.btn-outline-custom { background: transparent; color: var(--text); border: 1px solid var(--border); padding: 7px 16px; border-radius: var(--radius); font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.15s; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.btn-outline-custom:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm-custom { padding: 4px 10px; font-size: 12px; border-radius: 6px; }
.btn-danger-custom { background: var(--danger); color: #fff; border: none; padding: 8px 18px; border-radius: var(--radius); font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn-danger-custom:hover { background: #b91c1c; color: #fff; }
.btn-success-custom { background: var(--success); color: #fff; border: none; padding: 8px 18px; border-radius: var(--radius); font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn-success-custom:hover { background: #047857; color: #fff; }
.btn-warning-custom { background: var(--warning); color: #fff; border: none; padding: 8px 18px; border-radius: var(--radius); font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.action-btns { display: flex; gap: 6px; }
.action-btns a, .action-btns button { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; border: 1px solid var(--border); background: #fff; color: var(--text-muted); font-size: 13px; cursor: pointer; transition: all 0.15s; text-decoration: none; }
.action-btns a:hover, .action-btns button:hover { border-color: var(--accent); color: var(--accent); }
.action-btns .btn-delete:hover { border-color: var(--danger); color: var(--danger); }

/* FORMS */
.form-group-custom { margin-bottom: 16px; }
.form-group-custom label, .form-label-custom { display: block; font-size: 12.5px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-control-custom, .form-group-custom .form-control, .form-group-custom .form-select { width: 100%; border: 1px solid var(--border); border-radius: var(--radius); padding: 9px 14px; font-size: 13.5px; transition: border-color 0.15s; outline: none; font-family: inherit; }
.form-control-custom:focus, .form-group-custom .form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
textarea.form-control-custom { resize: vertical; min-height: 80px; }

/* LOGIN */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); padding: 20px; }
.login-card { width: 100%; max-width: 420px; background: #fff; border-radius: 16px; padding: 40px; box-shadow: var(--shadow-lg); }
.login-card .login-brand { text-align: center; margin-bottom: 32px; }
.login-card .login-brand .icon { width: 56px; height: 56px; background: var(--accent); color: #fff; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.login-card .login-brand h2 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.login-card .login-brand p { font-size: 13px; color: var(--text-muted); }
.login-card .form-control { border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; font-size: 14px; color: var(--text); background: #fff; }
.login-card .form-control::placeholder { color: var(--text-light); }
.login-card .form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); outline: none; }
.login-card .form-label { color: var(--text); font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.login-card .btn-login { width: 100%; background: var(--accent); color: #fff; border: none; padding: 11px; border-radius: var(--radius); font-size: 14px; font-weight: 600; cursor: pointer; }
.login-card .btn-login:hover { background: var(--accent-hover); }
.login-card .btn-login:active { transform: scale(0.98); }

/* WAITING DISPLAY */
.waiting-display { min-height: 100vh; background: var(--primary); color: #fff; }
.waiting-header { padding: 20px 32px; background: rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: space-between; }
.waiting-header .clinic-name { font-size: 22px; font-weight: 700; }
.waiting-header .current-time { font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.waiting-body { padding: 24px 32px; }
.current-patient { background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%); border-radius: 16px; padding: 32px; margin-bottom: 24px; text-align: center; }
.current-patient .label { font-size: 14px; font-weight: 500; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.08em; }
.current-patient .patient-name { font-size: 48px; font-weight: 800; margin: 8px 0; }
.current-patient .token-num { font-size: 22px; font-weight: 600; opacity: 0.9; }
.queue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.queue-item { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 16px 20px; display: flex; align-items: center; gap: 14px; transition: all 0.3s ease; }
.queue-item.active { background: rgba(37,99,235,0.2); border-color: rgba(37,99,235,0.4); }
.queue-item .token-circle { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; }
.queue-item.active .token-circle { background: var(--accent); }
.queue-item .patient-info .name { font-size: 15px; font-weight: 600; }
.queue-item .patient-info .status-text { font-size: 12px; opacity: 0.6; }
.doctor-status { display: flex; gap: 24px; margin-bottom: 24px; }
.doctor-status .status-item { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 16px 24px; flex: 1; text-align: center; }
.doctor-status .status-item .status-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.6; margin-bottom: 6px; }
.doctor-status .status-item .status-value { font-size: 20px; font-weight: 700; }

/* PRESCRIPTION PRINT */
@media print {
    .no-print { display: none !important; }
    .sidebar, .top-header { display: none !important; }
    .main-content { margin: 0 !important; }
    .content-area { padding: 0 !important; }
}
.prescription-paper { background: #fff; max-width: 800px; margin: 0 auto; padding: 32px; border: 1px solid var(--border); border-radius: 12px; }
.prescription-paper .rx-header { display: flex; justify-content: space-between; border-bottom: 2px solid var(--primary); padding-bottom: 16px; margin-bottom: 20px; }
.prescription-paper .rx-header .doctor-info h2 { font-size: 20px; font-weight: 700; color: var(--accent); margin: 0; }
.prescription-paper .rx-header .doctor-info p { font-size: 12px; color: var(--text-muted); margin: 0; }
.prescription-paper .patient-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; background: var(--bg); padding: 12px 16px; border-radius: var(--radius); margin-bottom: 20px; font-size: 12.5px; }
.prescription-paper .patient-bar .field-label { font-weight: 600; color: var(--text-muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.prescription-paper .rx-symbol { font-size: 28px; font-weight: 700; font-style: italic; color: var(--accent); margin-bottom: 12px; }
.prescription-paper .medicine-table { width: 100%; margin-bottom: 20px; border-collapse: collapse; }
.prescription-paper .medicine-table th { background: var(--bg); padding: 8px 12px; font-size: 11px; font-weight: 600; text-transform: uppercase; text-align: left; border-bottom: 1px solid var(--border); }
.prescription-paper .medicine-table td { padding: 8px 12px; font-size: 13px; border-bottom: 1px solid var(--border); }
.prescription-paper .rx-footer { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; }
.prescription-paper .signature { text-align: right; }
.prescription-paper .signature .line { width: 160px; border-top: 1px solid var(--text); margin-left: auto; margin-bottom: 4px; }

/* ALERT */
.alert { padding: 12px 16px; border-radius: var(--radius); font-size: 13px; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; }
.alert-success { background: var(--success-light); color: var(--success); border: 1px solid #a7f3d0; }
.alert-danger { background: var(--danger-light); color: var(--danger); border: 1px solid #fca5a5; }
.alert-warning { background: var(--warning-light); color: var(--warning); border: 1px solid #fde68a; }
.alert-info { background: var(--info-light); color: var(--info); border: 1px solid #67e8f9; }
.btn-close { background: none; border: none; font-size: 18px; cursor: pointer; opacity: 0.5; }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 48px 24px; }
.empty-state i { font-size: 48px; color: var(--text-light); margin-bottom: 16px; }
.empty-state h4 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.empty-state p { font-size: 13px; color: var(--text-muted); max-width: 320px; margin: 0 auto 16px; }

/* FILTER BAR */
.filter-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.search-bar { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 14px; max-width: 320px; }
.search-bar input { border: none; background: none; outline: none; font-size: 13px; flex: 1; }

/* TABS */
.tab-nav { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 20px; }
.tab-nav a { padding: 10px 20px; font-size: 13px; font-weight: 600; color: var(--text-muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.15s; }
.tab-nav a:hover { color: var(--text); }
.tab-nav a.active { color: var(--accent); border-bottom-color: var(--accent); }

/* PAGINATION */
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 20px; }
.pagination .page-item .page-link { padding: 6px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; color: var(--text); text-decoration: none; }
.pagination .page-item.active .page-link { background: var(--accent); color: #fff; border-color: var(--accent); }

/* TOKEN CARD */
.token-card { border: 1px solid var(--border); border-radius: 12px; padding: 16px; background: var(--surface); transition: all 0.2s; cursor: pointer; }
.token-card:hover { box-shadow: var(--shadow-md); }
.token-card.status-waiting { border-left: 4px solid var(--warning); }
.token-card.status-called { border-left: 4px solid var(--info); }
.token-card.status-in_consultation { border-left: 4px solid var(--accent); }
.token-card.status-completed { border-left: 4px solid var(--success); }

/* RESPONSIVE */
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.active { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .mobile-toggle { display: block; }
    .content-area { padding: 16px; }
    .prescription-paper .patient-bar { grid-template-columns: repeat(2, 1fr); }
    .top-header { padding: 0 16px; }
    .doctor-status { flex-direction: column; }
}
.sidebar-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 999; }
@media (max-width: 768px) { .sidebar.active ~ .sidebar-overlay { display: block; } }

/* FILTER CHIPS */
.filter-chip { display: inline-block; padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 500; color: var(--text-muted); background: var(--bg); border: 1px solid var(--border); text-decoration: none; transition: all 0.15s; }
.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* GRID HELPERS */
.row { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.row > [class*="col-"] { padding: 0 8px; }
.col-md-3 { width: 25%; }
.col-md-4 { width: 33.333%; }
.col-md-6 { width: 50%; }
.col-md-8 { width: 66.666%; }
.col-md-12 { width: 100%; }
.col-6 { width: 50%; }
.col-lg-4 { width: 33.333%; }
.col-lg-8 { width: 66.666%; }
.g-3 { gap: 12px; }
.g-4 { gap: 16px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: 24px !important; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 24px; }
.me-2 { margin-right: 8px; }
.p-0 { padding: 0 !important; }
.text-danger { color: var(--danger) !important; }
.text-center { text-align: center; }
.d-none { display: none; }
.d-md-block { display: block; }

/* DROPDOWN */
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; right: 0; top: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 180px; z-index: 1050; padding: 6px 0; margin-top: 4px; }
.dropdown-menu.show { display: block; }
.dropdown-item { display: flex; align-items: center; gap: 6px; padding: 8px 16px; font-size: 13px; color: var(--text); text-decoration: none; transition: background 0.1s; }
.dropdown-item:hover { background: var(--bg); }
.dropdown-divider { border-top: 1px solid var(--border); margin: 4px 0; }

/* FORM EXTRA */
.form-check { display: flex; align-items: center; gap: 8px; }
.form-check-input { width: 16px; height: 16px; cursor: pointer; }
.form-check-label { font-size: 13px; cursor: pointer; }
.form-select { appearance: auto; }

/* RESPONSIVE SMALL */
@media (max-width: 576px) {
    .col-md-3, .col-md-4, .col-md-6, .col-md-8, .col-lg-4, .col-lg-8 { width: 100%; }
    .col-6 { width: 50%; }
    .content-header { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 577px) and (max-width: 768px) {
    .col-md-3 { width: 50%; }
    .col-lg-4, .col-lg-8 { width: 100%; }
}
@media (max-width: 991px) {
    .col-lg-4 { width: 100%; }
    .col-lg-8 { width: 100%; }
}

/* BOOTSTRAP UTILITIES OVERRIDE */
.mb-3 { margin-bottom: 16px; }
.form-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-control { width: 100%; border: 1px solid var(--border); border-radius: var(--radius); padding: 9px 14px; font-size: 13.5px; transition: border-color 0.15s; outline: none; font-family: inherit; }
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-select { width: 100%; border: 1px solid var(--border); border-radius: var(--radius); padding: 9px 14px; font-size: 13.5px; font-family: inherit; appearance: auto; outline: none; }
.col-md-2 { width: 16.666%; }
.col-4 { width: 33.333%; }
@media (max-width: 576px) { .col-md-2 { width: 33.333%; } .col-4 { width: 50%; } }

/* CURRENT PATIENT BANNER */
.current-patient-banner { background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%); color: #fff; border-radius: 12px; padding: 20px 24px; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.pulse-dot { width: 12px; height: 12px; border-radius: 50%; background: #34d399; animation: pulse 1.5s infinite; flex-shrink: 0; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.5; } }
.btn-light-custom { background: rgba(255,255,255,0.2); color: #fff; border: 1px solid rgba(255,255,255,0.3); padding: 7px 14px; border-radius: var(--radius); font-size: 12.5px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: all 0.15s; }
.btn-light-custom:hover { background: rgba(255,255,255,0.3); color: #fff; }
.token-number { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-light); color: var(--accent); font-weight: 700; font-size: 15px; align-items: center; justify-content: center; }

/* SCROLLBAR */
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }

/* VITALS GRID */
.vitals-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.vital-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 12px; text-align: center; }
.vital-item .vital-label { font-size: 10px; font-weight: 600; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.04em; }
.vital-item .vital-value { font-size: 16px; font-weight: 700; margin-top: 2px; }

/* INFO GRID */
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.info-item .info-label { font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.04em; }
.info-item .info-value { font-size: 14px; font-weight: 500; margin-top: 2px; }

/* TIMELINE */
.timeline { display: flex; flex-direction: column; gap: 12px; }
.timeline-item { display: flex; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.timeline-item:last-child { border-bottom: none; }
.timeline-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 6px; flex-shrink: 0; }
.timeline-content .timeline-title { font-size: 13px; font-weight: 600; }
.timeline-content .timeline-time { font-size: 11px; color: var(--text-muted); }

/* QUICK STAT INLINE */
.quick-stat { display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.quick-stat .qs-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.quick-stat .qs-label { font-size: 12px; color: var(--text-muted); }
.quick-stat .qs-value { font-size: 16px; font-weight: 700; }
