/* UltraTraders Dashboard CSS */
:root {
    --bg-primary: #121420;
    --bg-secondary: #1a1d2e;
    --bg-card: #1e2235;
    --bg-input: #252840;
    --border-color: #2a2d45;
    --border-hover: #3a3d55;
    --text-primary: #f0f0f5;
    --text-secondary: #9a9bb0;
    --text-muted: #6b6d80;
    --accent-gold: #f0b90b;
    --accent-gold-hover: #d4a30a;
    --accent-green: #0ecb81;
    --accent-red: #f6465d;
    --accent-blue: #3b82f6;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --transition: 0.2s ease;
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--accent-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-gold-hover); }

/* ─── Layout ─── */
.app {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-logo span { color: var(--accent-gold); }

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 24px;
}

.nav-section-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 0 12px;
    margin-bottom: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

.nav-link.active {
    color: var(--accent-gold);
    background: rgba(240, 185, 11, 0.08);
}

.nav-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sidebar-footer {
    padding: 16px 12px;
    border-top: 1px solid var(--border-color);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.user-details {
    overflow: hidden;
}

.user-name {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-plan {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: capitalize;
}

.sidebar-subscribe-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    animation: subscribe-pulse 2s ease-in-out infinite;
}

@keyframes subscribe-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(240,185,11,0.3); }
    50% { box-shadow: 0 0 12px 4px rgba(240,185,11,0.15); }
}

.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 32px;
    min-height: 100vh;
}

.page-header {
    margin-bottom: 32px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.page-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ─── Cards ─── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
}

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

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

/* ─── Stat Cards ─── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: border-color var(--transition);
}

.stat-card:hover {
    border-color: var(--border-hover);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
}

.stat-value.gold { color: var(--accent-gold); }
.stat-value.green { color: var(--accent-green); }
.stat-value.red { color: var(--accent-red); }
.stat-value.blue { color: var(--accent-blue); }

/* ─── Tables ─── */
.table-wrapper {
    overflow-x: auto;
    margin: -4px;
    padding: 4px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

thead th {
    text-align: left;
    padding: 12px 16px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* ─── Badges ─── */
.badge {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-green { background: rgba(14,203,129,0.15); color: var(--accent-green); }
.badge-red { background: rgba(246,70,93,0.15); color: var(--accent-red); }
.badge-gold { background: rgba(240,185,11,0.15); color: var(--accent-gold); }
.badge-blue { background: rgba(59,130,246,0.15); color: var(--accent-blue); }
.badge-gray { background: rgba(107,109,128,0.15); color: var(--text-muted); }

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}

.btn-gold {
    background: var(--accent-gold);
    color: var(--bg-primary);
}
.btn-gold:hover { background: var(--accent-gold-hover); color: var(--bg-primary); }

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}
.btn-outline:hover { border-color: var(--text-secondary); color: var(--text-primary); }

.btn-red {
    background: rgba(246,70,93,0.15);
    color: var(--accent-red);
    border: 1px solid rgba(246,70,93,0.3);
}
.btn-red:hover { background: rgba(246,70,93,0.25); }

.btn-warning {
    background: rgba(255,165,0,0.15);
    color: #ffa500;
    border: 1px solid rgba(255,165,0,0.3);
}
.btn-warning:hover { background: rgba(255,165,0,0.25); }

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

/* ─── Forms ─── */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.form-input,
.form-select {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: border-color var(--transition);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.form-input::placeholder { color: var(--text-muted); }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-help {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ─── Alerts ─── */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(14,203,129,0.1);
    border: 1px solid rgba(14,203,129,0.3);
    color: var(--accent-green);
}

.alert-error {
    background: rgba(246,70,93,0.1);
    border: 1px solid rgba(246,70,93,0.3);
    color: var(--accent-red);
}

/* ─── Token Display ─── */
.token-display {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-family: monospace;
    font-size: 12px;
    word-break: break-all;
    color: var(--text-muted);
    position: relative;
}

.token-display.blur {
    filter: blur(4px);
    user-select: none;
    cursor: pointer;
    transition: filter var(--transition);
}

.token-display.blur:hover {
    filter: blur(0);
}

/* ─── Connection Status ─── */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.status-dot.online { background: var(--accent-green); box-shadow: 0 0 6px var(--accent-green); }
.status-dot.offline { background: var(--text-muted); }

/* ─── Pagination ─── */
.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.pagination a:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.pagination .active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--bg-primary);
    font-weight: 600;
}

/* ─── Empty State ─── */
.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}

.empty-state svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.4;
}

.empty-state p {
    font-size: 14px;
    margin-bottom: 16px;
}

/* ─── Auth Pages ─── */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 700;
}

.auth-logo span { color: var(--accent-gold); }

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ─── Mobile Toggle ─── */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 200;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px;
    color: var(--text-primary);
    cursor: pointer;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 90;
}

/* ─── Profit Color ─── */
.profit-positive { color: var(--accent-green); }
.profit-negative { color: var(--accent-red); }
.profit-zero { color: var(--text-muted); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: block;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .main-content {
        margin-left: 0;
        padding: 24px 16px;
        padding-top: 64px;
    }

    .page-title {
        font-size: 22px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-value {
        font-size: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 16px;
    }

    .auth-card {
        padding: 24px;
    }

    .strategy-cards {
        grid-template-columns: 1fr;
    }

    .mapping-form .form-row {
        grid-template-columns: 1fr;
    }

    .mapping-form .form-row > div:nth-child(2) {
        display: none;
    }

    .instruction-step {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .main-content {
        padding: 16px 12px;
        padding-top: 60px;
    }
}

/* ─── Strategy Cards ─── */
.strategy-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.strategy-card,
.strategy-detail-card {
    border-left: 3px solid var(--accent-gold);
}

.strategy-detail-card + .strategy-detail-card {
    margin-top: 0;
}

.key-section {
    margin-top: 16px;
    padding: 16px;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
}

.key-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.key-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.key-display .token-display {
    margin-top: 0;
}

/* ─── Inline Forms ─── */
.inline-form {
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-select-sm,
.form-input-sm {
    padding: 6px 10px;
    font-size: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
}

.form-select-sm:focus,
.form-input-sm:focus {
    outline: none;
    border-color: var(--accent-gold);
}

/* ─── Instructions ─── */
.instructions-list {
    display: grid;
    gap: 12px;
}

.instruction-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

/* ─── Mapping Form ─── */
.mapping-form .form-row {
    grid-template-columns: 1fr 40px 1fr auto;
    align-items: end;
}

@media (max-width: 768px) {
    .mapping-form .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .mapping-form .form-row > div:nth-child(2) {
        display: none;
    }
}

/* ─── Copy Button ─── */
.copy-btn {
    white-space: nowrap;
    min-width: 68px;
    text-align: center;
    justify-content: center;
}

/* ─── Dashboard Pricing Cards ─── */
.pricing-cards-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.pricing-card-sm {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.2s;
}

.pricing-card-sm:hover {
    border-color: var(--border-hover);
}

.pricing-card-sm.current {
    border-color: var(--accent-gold);
}

.pricing-card-sm.popular {
    border-color: var(--accent-gold);
}

.pricing-card-sm .popular-label {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 10px;
    letter-spacing: 0.5px;
}

.plan-card-header h4 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.plan-card-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-gold);
}

.plan-card-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

.plan-card-duration {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
    margin-bottom: 16px;
}

.plan-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plan-card-features li {
    font-size: 13px;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.plan-card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 12px;
}

@media (max-width: 768px) {
    .pricing-cards-dashboard {
        grid-template-columns: 1fr;
    }
}

/* ──────────── Ticket System ──────────── */
.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.ticket-header h1 {
    margin: 0;
}
.ticket-table {
    width: 100%;
    border-collapse: collapse;
}
.ticket-table th,
.ticket-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ticket-table th {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.ticket-table tr:hover td {
    background: rgba(255,255,255,0.03);
}
.ticket-table tr { cursor: pointer; }
.ticket-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}
.ticket-link:hover {
    color: var(--accent-gold);
}
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.status-open {
    background: rgba(59,130,246,0.15);
    color: #60a5fa;
}
.status-answered {
    background: rgba(16,185,129,0.15);
    color: #34d399;
}
.status-closed {
    background: rgba(255,255,255,0.08);
    color: var(--text-muted);
}
/* Ticket detail */
.ticket-subject {
    margin-bottom: 8px;
}
.ticket-meta {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 24px;
}
.ticket-messages {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}
.ticket-msg {
    padding: 16px;
    border-radius: 12px;
    max-width: 80%;
}
.ticket-msg-user {
    background: rgba(255,255,255,0.05);
    align-self: flex-start;
}
.ticket-msg-admin {
    background: rgba(240,185,11,0.08);
    border: 1px solid rgba(240,185,11,0.15);
    align-self: flex-end;
}
.ticket-msg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 12px;
}
.ticket-msg-sender {
    font-weight: 600;
    font-size: 13px;
}
.ticket-msg-admin .ticket-msg-sender {
    color: var(--accent-gold);
}
.ticket-msg-time {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
}
.ticket-msg-body {
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}
/* Ticket forms */
.ticket-form {
    margin-top: 16px;
}
.ticket-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
}
.ticket-form input[type="text"],
.ticket-form textarea {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    margin-bottom: 16px;
    transition: border-color 0.2s;
}
.ticket-form input[type="text"]:focus,
.ticket-form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}
.ticket-form textarea {
    min-height: 120px;
    resize: vertical;
}
.ticket-reply-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}
.ticket-reply-form textarea {
    flex: 1;
    min-height: 80px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s;
}
.ticket-reply-form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}
.ticket-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}
.ticket-user-info {
    background: rgba(255,255,255,0.04);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-muted);
}
.ticket-user-info strong {
    color: var(--text-primary);
}
.ticket-empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--text-muted);
}
.ticket-empty svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.4;
}
@media (max-width: 768px) {
    .ticket-msg { max-width: 95%; }
    .ticket-reply-form { flex-direction: column; }
    .ticket-header { flex-direction: column; align-items: flex-start; }
}

/* ──────────── Invoices ──────────── */
.invoice-table {
    width: 100%;
    border-collapse: collapse;
}
.invoice-table th,
.invoice-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.invoice-table th {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.invoice-table tr:hover td {
    background: rgba(255,255,255,0.03);
}
.invoice-number {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 13px;
    color: var(--text-primary);
}
.invoice-amount {
    font-weight: 600;
    color: var(--text-primary);
}
.invoice-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}
.invoice-actions .btn svg {
    vertical-align: -2px;
    margin-right: 4px;
}
.status-paid {
    background: rgba(16,185,129,0.15);
    color: #34d399;
}
.status-void {
    background: rgba(255,255,255,0.08);
    color: var(--text-muted);
}
.status-draft {
    background: rgba(255,255,255,0.08);
    color: var(--text-muted);
}
.invoice-empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--text-muted);
}
.invoice-empty svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.4;
}
.table-responsive {
    overflow-x: auto;
}
@media (max-width: 768px) {
    .invoice-table th:nth-child(1),
    .invoice-table td:nth-child(1) { display: none; }
    .invoice-actions { flex-direction: column; }
}
