/* TradeIntel Admin Panel Styles */

body {
    background-color: #1a1a2e;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.navbar {
    background-color: #16213e !important;
}

.card {
    border-radius: 8px;
}

.table-dark {
    --bs-table-bg: transparent;
}

.table-dark thead th {
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #adb5bd;
}

.table-hover > tbody > tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.badge {
    font-weight: 500;
}

.message-content {
    font-size: 0.85rem;
    word-break: break-word;
}

/* Status colors */
.status-pending { color: #ffc107; }
.status-approved { color: #198754; }
.status-rejected { color: #dc3545; }
.status-flagged { color: #fd7e14; }

/* Confidence colors */
.confidence-high { color: #198754; }
.confidence-medium { color: #0dcaf0; }
.confidence-low { color: #6c757d; }

/* Stats cards */
.card .fs-2 {
    font-variant-numeric: tabular-nums;
}

/* Responsive table */
@media (max-width: 768px) {
    .table-responsive .table {
        font-size: 0.8rem;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }
}

/* Green accent for TradeIntel branding */
.text-tradeintel {
    color: #198754;
}

.btn-tradeintel {
    background-color: #198754;
    border-color: #198754;
    color: #fff;
}

.btn-tradeintel:hover {
    background-color: #157347;
    border-color: #146c43;
    color: #fff;
}

/* Form controls in dark theme */
.form-control:focus,
.form-select:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* Pagination */
.page-link {
    background-color: #1a1a2e;
    border-color: #2a2a4a;
}

.page-item.active .page-link {
    background-color: #198754;
    border-color: #198754;
}
