body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.financial-number {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
}

.auth-container .card {
    max-width: 400px;
    width: 100%;
}

.stat-card {
    border-left: 4px solid #0d6efd;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.stat-icon {
    opacity: 0.6;
}

table tbody tr {
    transition: background-color 0.15s ease-in-out;
}

table tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

.card {
    border: none;
    border-radius: 0.5rem;
}

.card-header {
    font-weight: 600;
    padding: 1rem 1.5rem;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
}

.color-indicator {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

.alert {
    border-radius: 0.5rem;
}

.btn {
    font-weight: 500;
    border-radius: 0.375rem;
}

.table th {
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: #6c757d;
    border-bottom: 2px solid #dee2e6;
}

canvas {
    max-height: 400px;
}

/* Dark Theme Styles */
[data-bs-theme="dark"] body {
    background-color: #212529;
    color: #f8f9fa;
}

[data-bs-theme="dark"] .card {
    background-color: #2c3034;
    color: #f8f9fa;
}

[data-bs-theme="dark"] .table {
    color: #f8f9fa;
}

[data-bs-theme="dark"] .table th {
    color: #adb5bd;
    border-bottom-color: #495057;
}

[data-bs-theme="dark"] table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: #343a40;
    color: #f8f9fa;
    border-color: #495057;
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
    background-color: #343a40;
    color: #f8f9fa;
    border-color: #0d6efd;
}

[data-bs-theme="dark"] .modal-content {
    background-color: #2c3034;
    color: #f8f9fa;
}

[data-bs-theme="dark"] .modal-header {
    border-bottom-color: #495057;
}

[data-bs-theme="dark"] .modal-footer {
    border-top-color: #495057;
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    .stat-card .card-body {
        padding: 1rem;
    }
}
