/* Admin Panel Styles */

body {
    background: #0a0a0a;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
}

.admin-header {
    background: #000000;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #2a2a2a;
}

.admin-header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-notif-wrap {
    position: relative;
}

.admin-notif-bell {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #333;
    background: #141414;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.2s, border-color 0.2s;
}

.admin-notif-bell:hover {
    background: #1f1f1f;
    border-color: var(--accent-cyan, #00d4aa);
    color: var(--accent-cyan, #00d4aa);
}

.admin-notif-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--accent-red, #ff3b30);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.admin-notif-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(400px, calc(100vw - 24px));
    max-height: min(440px, 72vh);
    overflow: hidden;
    flex-direction: column;
    background: #161616;
    border: 1px solid #333;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
    z-index: 2000;
}

/* `hidden` must win over any display rule (otherwise panel stays visible) */
.admin-notif-panel[hidden] {
    display: none !important;
}

.admin-notif-panel:not([hidden]) {
    display: flex;
}

.admin-notif-panel-head {
    padding: 14px 16px 12px;
    border-bottom: 1px solid #2a2a2a;
    background: linear-gradient(180deg, #1c1c1c 0%, #161616 100%);
}

.admin-notif-panel-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.admin-notif-panel-head-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    letter-spacing: -0.02em;
}

.admin-notif-panel-head-title i {
    color: var(--accent-cyan, #00d4aa);
    font-size: 16px;
    opacity: 0.95;
}

.admin-notif-panel-head-sub {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 500;
    color: #6b6b6b;
    letter-spacing: 0.02em;
}

.admin-notif-expired-btn {
    border: 1px solid #3a3a3a;
    background: #232323;
    color: #cfcfcf;
    border-radius: 8px;
    padding: 6px 9px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.admin-notif-expired-btn:hover {
    color: #fff;
    border-color: #5a5a5a;
    background: #2d2d2d;
}

.admin-notif-list {
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.admin-notif-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 14px 14px 14px 12px;
    border: none;
    border-bottom: 1px solid #222;
    border-left: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    font: inherit;
    transition: background 0.12s ease, border-left-color 0.12s ease;
}

.admin-notif-item:last-child {
    border-bottom: none;
}

.admin-notif-item:hover,
.admin-notif-item:focus-visible {
    background: #1e1e1e;
    border-left-color: rgba(0, 212, 170, 0.45);
    outline: none;
}

.admin-notif-item:focus-visible {
    box-shadow: inset 0 0 0 2px var(--accent-cyan, #00d4aa);
}

.admin-notif-item-main {
    min-width: 0;
    flex: 1;
}

.admin-notif-item-arrow {
    flex-shrink: 0;
    color: #555;
    font-size: 12px;
}

.admin-notif-item-date {
    font-size: 11px;
    color: var(--accent-cyan, #00d4aa);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.admin-notif-item-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
    color: #f0f0f0;
    letter-spacing: -0.01em;
}

.admin-notif-item-from {
    font-size: 11px;
    color: #76cdbd;
    margin-bottom: 4px;
    letter-spacing: 0.01em;
}

.admin-notif-item-body {
    font-size: 13px;
    color: #aaa;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
}

.admin-notif-item-preview {
    font-size: 12px;
    color: #8a8a8a;
    line-height: 1.4;
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.admin-notif-item:hover .admin-notif-item-arrow {
    color: var(--accent-cyan, #00d4aa);
}

/* Gmail-style notification reader (slide-in pane) */
body.admin-notif-reader-open {
    overflow: hidden;
}

.admin-notif-reader {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: none;
    flex-direction: row;
    align-items: stretch;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.admin-notif-reader.is-open {
    display: flex;
}

.admin-notif-reader-backdrop {
    flex: 1;
    min-width: 0;
    border: none;
    margin: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.52);
    cursor: pointer;
    animation: adminNotifReaderFadeIn 0.2s ease;
}

@keyframes adminNotifReaderFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.admin-notif-reader-sheet {
    width: min(100vw, 580px);
    max-width: 100%;
    flex-shrink: 0;
    background: #f6f8fc;
    display: flex;
    flex-direction: column;
    min-height: 0;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.28);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.admin-notif-reader.is-open .admin-notif-reader-sheet {
    transform: translateX(0);
}

.admin-notif-reader-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 8px 10px 12px;
    background: #fff;
    border-bottom: 1px solid #dadce0;
    flex-shrink: 0;
}

.admin-notif-reader-toolbar-title {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #3c4043;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-notif-reader-toolbar-title i {
    color: #5f6368;
    font-size: 15px;
}

.admin-notif-reader-tool {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #5f6368;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.15s;
}

.admin-notif-reader-tool:hover {
    background: rgba(60, 64, 67, 0.08);
    color: #202124;
}

.admin-notif-reader-scroll {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.admin-notif-reader-meta {
    background: #fff;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #dadce0;
}

.admin-notif-reader-field {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.admin-notif-reader-field-from {
    margin-bottom: 16px;
}

.admin-notif-reader-label {
    width: 48px;
    flex-shrink: 0;
    color: #5f6368;
    font-size: 13px;
    padding-top: 2px;
}

.admin-notif-reader-from-stack {
    min-width: 0;
}

.admin-notif-reader-from-name {
    font-weight: 600;
    color: #202124;
    font-size: 15px;
}

.admin-notif-reader-from-email {
    color: #5f6368;
    font-size: 13px;
    margin-top: 2px;
}

.admin-notif-reader-to-stack {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    color: #202124;
}

.admin-notif-reader-to-me {
    font-weight: 600;
    font-size: 15px;
}

.admin-notif-reader-to-email {
    font-size: 13px;
    color: #5f6368;
    word-break: break-all;
}

.admin-notif-reader-subject {
    margin: 20px 0 0;
    padding: 0 0 0 64px;
    font-size: 22px;
    font-weight: 400;
    color: #202124;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

@media (max-width: 520px) {
    .admin-notif-reader-subject {
        padding-left: 0;
        font-size: 20px;
    }

    .admin-notif-reader-label {
        width: 40px;
    }
}

.admin-notif-reader-mail-wrap {
    flex: 1;
    background: #f6f8fc;
    padding: 16px 16px 24px;
    min-height: 120px;
}

.admin-notif-reader-mail-body {
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 12px;
    padding: 24px 28px;
    font-size: 15px;
    line-height: 1.6;
    color: #202124;
    white-space: pre-wrap;
    word-break: break-word;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
    min-height: 80px;
}

.admin-notif-reader-empty-body {
    margin: 0;
    padding: 32px 24px;
    text-align: center;
    color: #5f6368;
    font-size: 14px;
    background: #fff;
    border: 1px dashed #dadce0;
    border-radius: 12px;
}

.admin-notif-empty {
    padding: 32px 20px;
    text-align: center;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.admin-notif-empty i {
    display: block;
    font-size: 36px;
    margin-bottom: 12px;
    color: #3a3a3a;
}

.admin-notif-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 320px;
    padding: 12px 16px;
    background: #1a2a28;
    border: 1px solid var(--accent-cyan, #00d4aa);
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    z-index: 3000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    animation: adminNotifToastIn 0.25s ease;
}

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

.admin-header h1 {
    font-size: 24px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logout-btn {
    padding: 10px 20px;
    background: var(--accent-red);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: #ff1a3a;
    transform: translateY(-2px);
}

.admin-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #2a2a2a;
}

.admin-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-tab:hover {
    color: #fff;
}

.admin-tab.active {
    color: var(--accent-cyan);
    border-bottom-color: var(--accent-cyan);
}

.admin-content {
    display: none;
}

.admin-content.active {
    display: block;
}

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

.section-header h2 {
    margin: 0;
    font-size: 24px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1a1a1a;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
}

.search-box i {
    color: #888;
}

.search-box input {
    background: transparent;
    border: none;
    color: #ffffff;
    outline: none;
    width: 300px;
    font-size: 14px;
}

.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.user-card {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    cursor: pointer;
    transition: all 0.3s;
}

.user-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.2);
}

.user-card h3 {
    margin: 0 0 10px 0;
    color: var(--accent-cyan);
    font-size: 18px;
}

.user-card p {
    margin: 5px 0;
    color: #888;
    font-size: 14px;
}

.add-stock-btn, .primary-btn {
    padding: 10px 20px;
    background: var(--accent-cyan);
    color: #000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.add-stock-btn:hover, .primary-btn:hover {
    background: var(--accent-yellow);
    transform: translateY(-2px);
}

.stocks-list, .transfers-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stock-item, .transfer-item, .index-item {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.stock-item:hover, .transfer-item:hover, .index-item:hover {
    border-color: var(--accent-cyan);
}

.stock-item h3, .transfer-item h3, .index-item h3 {
    margin: 0 0 5px 0;
    color: #fff;
}

.stock-item p, .transfer-item p, .index-item p {
    margin: 5px 0;
    color: #888;
    font-size: 14px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid #2a2a2a;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #2a2a2a;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
}

.modal-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s;
}

.modal-close:hover {
    color: var(--accent-red);
    transform: rotate(90deg);
}

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

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #888;
    font-size: 14px;
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 12px;
    background: #000;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

.form-input[readonly] {
    background: #0a0a0a;
    color: #666;
    cursor: not-allowed;
}

/* ============================================
   SLOT MANAGEMENT STYLES
   ============================================ */

.slots-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.slot-date-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.slot-date-header {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 0.5px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 217, 255, 0.3);
    border-top: 1px solid rgba(0, 217, 255, 0.3);
}

.slot-date-group-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.slot-card {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    transition: all 0.3s;
}

.slot-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.2);
}

.slot-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #2a2a2a;
}

.slot-card-header h3 {
    margin: 0;
    color: #fff;
    font-size: 20px;
}

.slot-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slot-status.status-open {
    background: rgba(52, 199, 89, 0.2);
    color: #34c759;
    border: 1px solid rgba(52, 199, 89, 0.3);
}

.slot-status.status-full {
    background: rgba(255, 59, 48, 0.2);
    color: #ff3b30;
    border: 1px solid rgba(255, 59, 48, 0.3);
}

.slot-status.status-closed {
    background: rgba(142, 142, 147, 0.2);
    color: #8e8e93;
    border: 1px solid rgba(142, 142, 147, 0.3);
}

.slot-status.status-warning {
    background: rgba(255, 149, 0, 0.2);
    color: #ff9500;
    border: 1px solid rgba(255, 149, 0, 0.3);
}

.slot-card-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.slot-stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.slot-stat-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.slot-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.slot-progress-bar {
    width: 100%;
    height: 8px;
    background: #0a0a0a;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 5px;
}

.slot-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.slot-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.action-btn {
    flex: 1;
    min-width: 100px;
    padding: 10px 15px;
    background: var(--accent-cyan);
    color: #000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.3);
}

.slot-user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #0a0a0a;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    margin-bottom: 10px;
}

.slot-user-item:hover {
    border-color: var(--accent-cyan);
}

.info-box {
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.2);
    padding: 15px;
    border-radius: 8px;
}

/* ============================================
   TEAM/REFERRAL MANAGEMENT STYLES
   ============================================ */

.team-container {
    padding: 20px 0;
}

.team-hierarchy {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.team-user-card {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    transition: all 0.3s;
    position: relative;
}

.team-user-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.2);
}

.team-user-card::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 20px;
    height: 2px;
    background: #2a2a2a;
    transform: translateY(-50%);
}

.team-user-card[style*="margin-left: 0px"]::before {
    display: none;
}

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

.team-card-header h4 {
    margin: 0;
    color: #fff;
    font-size: 18px;
}

.team-children {
    margin-top: 20px;
    padding-left: 20px;
    border-left: 2px solid #2a2a2a;
}

.team-children .team-user-card {
    margin-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .users-grid, .slots-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .stock-item, .transfer-item, .index-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .slot-card-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
    }
    
    .team-children {
        padding-left: 10px;
    }
    
    .team-user-card {
        margin-left: 0 !important;
    }
    
    .team-user-card::before {
        display: none;
    }
}

/* Finance tab */
.finance-table-scroll {
    overflow-x: auto;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
}

.finance-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 980px;
}

.finance-table th,
.finance-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #2a2a2a;
    text-align: left;
    vertical-align: top;
}

.finance-table th {
    background: #141414;
    color: #ccc;
    font-weight: 600;
}

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

.finance-user {
    font-weight: 600;
    color: #fff;
}

.finance-sub {
    font-size: 11px;
    color: #777;
    margin-top: 2px;
}

.finance-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.finance-mini-btn {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #1f1f1f;
    color: #e6e6e6;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.finance-mini-btn:hover {
    border-color: var(--accent-cyan);
    color: #fff;
}

.finance-mini-btn.danger {
    border-color: rgba(255, 59, 48, 0.35);
    color: #ff6b6b;
}

.finance-mini-btn.danger:hover {
    border-color: #ff3b30;
    color: #fff;
    background: rgba(255, 59, 48, 0.12);
}

.finance-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.finance-pill-active {
    background: rgba(52, 199, 89, 0.15);
    color: #34c759;
    border: 1px solid rgba(52, 199, 89, 0.35);
}

.finance-pill-muted {
    background: rgba(255, 255, 255, 0.06);
    color: #aaa;
    border: 1px solid #333;
}

.finance-error {
    padding: 16px;
    color: #ff6b6b;
    border: 1px solid rgba(255, 59, 48, 0.35);
    border-radius: 8px;
    background: rgba(255, 59, 48, 0.08);
}

.finance-ledger-table {
    min-width: 0;
}

