/* Custom Styling for Filter Coretax Dashboard */
:root {
    --primary-color: #1e3a8a;
    --primary-dark: #0f172a;
    --accent-color: #2563eb;
    --success-bg: #ecfdf5;
    --success-text: #065f46;
    --warning-bg: #fffbeb;
    --warning-text: #92400e;
    --danger-bg: #fef2f2;
    --danger-text: #991b1b;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.card {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.stat-card {
    border-left: 4px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.stat-card.stat-danger {
    border-left-color: #ef4444;
}

.stat-card.stat-warning {
    border-left-color: #f59e0b;
}

.stat-card.stat-success {
    border-left-color: #10b981;
}

.stat-card.stat-info {
    border-left-color: #3b82f6;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
}

.stat-sub {
    font-size: 0.825rem;
    margin-top: 0.25rem;
}

.table-custom thead th {
    background-color: #f1f5f9;
    color: #475569;
    font-weight: 600;
    font-size: 0.825rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #cbd5e1;
    padding: 0.75rem;
    vertical-align: middle;
}

.table-custom tbody td {
    padding: 0.75rem;
    vertical-align: middle;
    font-size: 0.9rem;
    border-bottom: 1px solid #e2e8f0;
}

.table-custom tbody tr:hover {
    background-color: #f8fafc;
}

.badge-status {
    padding: 0.35rem 0.65rem;
    font-size: 0.775rem;
    font-weight: 600;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.badge-danger-soft {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.badge-warning-soft {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.badge-success-soft {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.badge-info-soft {
    background-color: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.filter-btn {
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    transition: all 0.15s ease;
}

.filter-btn.active {
    background-color: #1e3a8a !important;
    color: #ffffff !important;
    border-color: #1e3a8a !important;
    box-shadow: 0 2px 4px rgba(30, 58, 138, 0.3);
}

.diff-positive {
    color: #059669;
    font-weight: 600;
}

.diff-negative {
    color: #dc2626;
    font-weight: 600;
}

.upload-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-zone:hover {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

.upload-zone i {
    font-size: 2.5rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.sample-pill {
    cursor: pointer;
    transition: transform 0.1s ease;
}

.sample-pill:hover {
    transform: translateY(-1px);
}

