/* ==========================================================================
   Telegram Premium Emoji Bot - Phase 1 Management Dashboard
   Design System: ui-ux-pro-max OLED Dark Mode Architecture
   Tokens aligned with MASTER.md
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600;700&family=Fira+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --color-primary: #0F172A;
    --color-on-primary: #FFFFFF;
    --color-secondary: #1E293B;
    --color-on-secondary: #FFFFFF;
    --color-accent: #16A34A;
    --color-on-accent: #0F172A;
    --color-background: #020617;
    --color-foreground: #F8FAFC;
    --color-card: #0E1223;
    --color-card-foreground: #F8FAFC;
    --color-card-border: #1E293B;
    --color-muted: #1A1E2F;
    --color-muted-foreground: #94A3B8;
    --color-border: #334155;
    --color-destructive: #DC2626;
    --color-on-destructive: #FFFFFF;
    --color-warning: #F59E0B;
    --color-tg-blue: #2AABEE;
    --color-ring: #38BDF8;

    --font-heading: 'Fira Code', monospace;
    --font-body: 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Fira Code', monospace;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;

    --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.05);
    --shadow-glow: 0 0 15px rgba(42, 171, 238, 0.25);
    --shadow-accent-glow: 0 0 15px rgba(22, 163, 74, 0.25);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-background);
    color: var(--color-foreground);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Typography & Base Utilities
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #FFFFFF;
    font-weight: 600;
    letter-spacing: -0.02em;
}

code, pre, .font-mono {
    font-family: var(--font-mono);
}

a {
    color: var(--color-tg-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #60A5FA;
}

.text-muted {
    color: var(--color-muted-foreground);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.badge-connected {
    background: rgba(22, 163, 74, 0.15);
    color: #4ADE80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.badge-disconnected {
    background: rgba(220, 38, 38, 0.15);
    color: #F87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #FBBF24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-tg {
    background: rgba(42, 171, 238, 0.15);
    color: #38BDF8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

/* ==========================================================================
   Header & Layout
   ========================================================================== */

.app-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    margin-bottom: 28px;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1E293B, #0E1223);
    border: 1px solid rgba(56, 189, 248, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-tg-blue);
    box-shadow: var(--shadow-glow);
}

.brand-title {
    font-size: 20px;
    font-weight: 700;
}

.brand-subtitle {
    font-size: 13px;
    color: var(--color-muted-foreground);
}

.header-status-pill {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #64748B;
    transition: all 0.3s ease;
}

.status-indicator-dot.active {
    background-color: #22C55E;
    box-shadow: 0 0 10px #22C55E;
}

.status-indicator-dot.inactive {
    background-color: #EF4444;
    box-shadow: 0 0 10px #EF4444;
}

/* ==========================================================================
   Grid System & Cards
   ========================================================================== */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.col-12 { grid-column: span 12; }
.col-8  { grid-column: span 8; }
.col-7  { grid-column: span 7; }
.col-6  { grid-column: span 6; }
.col-5  { grid-column: span 5; }
.col-4  { grid-column: span 4; }

@media (max-width: 1024px) {
    .col-8, .col-7, .col-6, .col-5, .col-4 {
        grid-column: span 12;
    }
}

.card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    border-color: rgba(56, 189, 248, 0.25);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.card-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-header-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-tg-blue);
}

.card-title {
    font-size: 16px;
    font-weight: 600;
}

.card-description {
    font-size: 13px;
    color: var(--color-muted-foreground);
    margin-top: 2px;
}

/* ==========================================================================
   Stats Banner
   ========================================================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-box {
    background: #0B0F1D;
    border: 1px solid #1E293B;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-box-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38BDF8;
    flex-shrink: 0;
}

.stat-box-value {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.1;
}

.stat-box-label {
    font-size: 13px;
    color: var(--color-muted-foreground);
    margin-top: 2px;
}

/* ==========================================================================
   Forms, Inputs, & Buttons
   ========================================================================== */

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #E2E8F0;
    margin-bottom: 6px;
}

.form-label-hint {
    font-weight: 400;
    color: var(--color-muted-foreground);
    margin-left: 6px;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    background: #060A14;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 11px 16px;
    color: #F8FAFC;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-inline-size: 0;
    overflow-wrap: anywhere;
}

.form-input.font-mono, .form-textarea.font-mono {
    font-family: var(--font-mono);
    font-size: 13px;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--color-ring);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: #475569;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    text-decoration: none;
    user-select: none;
}

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

.btn-primary {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.45);
}

.btn-accent {
    background: linear-gradient(135deg, #16A34A, #15803D);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}

.btn-accent:hover {
    background: linear-gradient(135deg, #22C55E, #16A34A);
    box-shadow: 0 4px 20px rgba(22, 163, 74, 0.45);
}

.btn-secondary {
    background: #1E293B;
    color: #E2E8F0;
    border-color: #334155;
}

.btn-secondary:hover {
    background: #334155;
    color: #FFFFFF;
}

.btn-danger {
    background: rgba(220, 38, 38, 0.15);
    color: #F87171;
    border-color: rgba(220, 38, 38, 0.3);
}

.btn-danger:hover {
    background: #DC2626;
    color: #FFFFFF;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: var(--radius-sm);
}

.btn-icon-only {
    padding: 8px;
    width: 36px;
    height: 36px;
}

.btn:disabled, .btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ==========================================================================
   Bot Profile Display & Token Masking
   ========================================================================== */

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 11px 0;
    font-size: 13px;
    vertical-align: middle;
}

.info-table td.label-col {
    color: var(--color-muted-foreground);
    width: 140px;
    font-weight: 500;
}

.info-table td.val-col {
    color: #FFFFFF;
    font-family: var(--font-mono);
}

.token-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #060A14;
    border: 1px solid #1E293B;
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-family: var(--font-mono);
    font-size: 13px;
    margin-top: 12px;
    overflow-wrap: anywhere;
    min-inline-size: 0;
}

.token-value {
    color: #38BDF8;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Emoji Library Grid & Cards
   ========================================================================== */

.emoji-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    min-height: 180px;
}

.emoji-card {
    background: #070B16;
    border: 1px solid #1E293B;
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.emoji-card:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.4);
}

.emoji-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 8px;
}

.emoji-avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
}

.emoji-card-body {
    margin-bottom: 12px;
}

.emoji-label {
    font-size: 13px;
    font-weight: 600;
    color: #F8FAFC;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.emoji-id-display {
    font-family: var(--font-mono);
    font-size: 11px;
    color: #94A3B8;
    overflow-wrap: anywhere;
    min-inline-size: 0;
    margin-top: 2px;
}

.emoji-meta-pill {
    font-size: 10px;
    color: #64748B;
    margin-top: 4px;
}

.emoji-card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 10px;
    margin-top: auto;
}

.btn-star {
    background: transparent;
    border: none;
    color: #64748B;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.btn-star.starred {
    color: #F59E0B;
}

/* ==========================================================================
   Extractor Workflow Step Cards
   ========================================================================== */

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.workflow-step-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #070B16;
    border: 1px solid #1E293B;
    border-radius: var(--radius-md);
    padding: 14px 16px;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1E293B;
    color: #38BDF8;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.step-content-title {
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
}

.step-content-desc {
    font-size: 12px;
    color: var(--color-muted-foreground);
    margin-top: 2px;
}

/* ==========================================================================
   Code Blocks & Telegram Live Inspector
   ========================================================================== */

.code-container {
    background: #02050D;
    border: 1px solid #1E293B;
    border-radius: var(--radius-md);
    padding: 14px;
    position: relative;
    overflow-x: auto;
}

.code-container pre {
    font-family: var(--font-mono);
    font-size: 12px;
    color: #38BDF8;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-all;
}

/* ==========================================================================
   Modal Dialogs & Toasts
   ========================================================================== */

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-backdrop.active {
    display: flex;
}

.modal-window {
    background: var(--color-card);
    border: 1px solid #334155;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    position: relative;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    padding: 4px;
}

.modal-close-btn:hover {
    color: #FFFFFF;
}

.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2000;
}

.toast {
    background: #0F172A;
    border: 1px solid #334155;
    border-radius: var(--radius-md);
    padding: 12px 18px;
    color: #FFFFFF;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    animation: toastSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.toast-success {
    border-left: 4px solid #22C55E;
}

.toast.toast-error {
    border-left: 4px solid #EF4444;
}

.toast.toast-info {
    border-left: 4px solid #38BDF8;
}

@keyframes toastSlide {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   SVG Icons
   ========================================================================== */

.icon-svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: inline-block;
    vertical-align: middle;
}

.icon-svg-sm {
    width: 14px;
    height: 14px;
}

.icon-svg-lg {
    width: 22px;
    height: 22px;
}

/* Spinner */
.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--color-muted-foreground);
    grid-column: 1 / -1;
}

.empty-state-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    color: #475569;
}

/* ==========================================================================
   Navigation Tabs Bar (UI/UX Pro Max)
   ========================================================================== */

.nav-tabs-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    background: #0B0F1C;
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    overflow-x: auto;
}

.nav-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--color-muted-foreground);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-body);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.nav-tab-btn:hover {
    color: var(--color-foreground);
    background: rgba(255, 255, 255, 0.04);
}

.nav-tab-btn.active {
    color: #FFFFFF;
    background: var(--color-card);
    border-color: var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-tab-btn .tab-badge {
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    color: #94A3B8;
}

.nav-tab-btn.active .tab-badge {
    background: rgba(42, 171, 238, 0.2);
    color: #38BDF8;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.2s ease-in-out;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Telegram Mockup & Live Mobile Preview
   ========================================================================== */

.tg-mockup-wrapper {
    background: #0B111E;
    border: 1px solid #1E293B;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.tg-phone-frame {
    background: #0E1621;
    border: 1px solid #242F3D;
    border-radius: 14px;
    padding: 16px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.tg-chat-bubble {
    background: #182533;
    border-radius: 12px 12px 12px 4px;
    padding: 12px 14px;
    color: #F5F5F5;
    font-size: 14px;
    line-height: 1.5;
    max-width: 90%;
    align-self: flex-start;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    word-break: break-word;
}

.tg-chat-bubble img.tg-media-preview {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
    display: block;
}

.tg-chat-bubble .tg-bubble-time {
    font-size: 11px;
    color: #708499;
    text-align: right;
    margin-top: 4px;
}

.tg-inline-buttons-container {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 90%;
}

.tg-button-row {
    display: flex;
    gap: 6px;
}

.tg-inline-btn {
    flex: 1;
    background: #242F3D;
    color: #64B5F6;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: default;
    transition: background 0.15s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tg-inline-btn:hover {
    background: #2B394A;
}

/* ==========================================================================
   Emoji Insert Drawer in Composer
   ========================================================================== */

.emoji-quick-drawer {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 10px;
    background: #090D1A;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-top: 8px;
    margin-bottom: 12px;
}

.emoji-chip-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: #111726;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: #F8FAFC;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.emoji-chip-btn:hover {
    background: #1E293B;
    border-color: #38BDF8;
    transform: translateY(-1px);
}

.emoji-chip-btn .glyph {
    font-size: 16px;
}

/* ==========================================================================
   Progress Bar & Metrics
   ========================================================================== */

.progress-track {
    width: 100%;
    height: 10px;
    background: #1E293B;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #16A34A 0%, #22C55E 100%);
    border-radius: var(--radius-full);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-fill.running {
    background: linear-gradient(90deg, #2AABEE 0%, #38BDF8 100%);
}

/* ==========================================================================
   Data Table (Subscribers & Campaigns)
   ========================================================================== */

.data-table-container {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.data-table th {
    background: #090E1A;
    padding: 12px 14px;
    color: var(--color-muted-foreground);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--color-border);
}

.data-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-foreground);
}

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Additional Status Badges */
.badge-active {
    background: rgba(34, 197, 94, 0.15);
    color: #4ADE80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-blocked {
    background: rgba(239, 68, 68, 0.15);
    color: #F87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-queued {
    background: rgba(245, 158, 11, 0.15);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-completed {
    background: rgba(34, 197, 94, 0.15);
    color: #4ADE80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-processing {
    background: rgba(56, 189, 248, 0.15);
    color: #38BDF8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    animation: pulseBadge 1.5s infinite;
}

@keyframes pulseBadge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

