/* Custom Core Banking Theme */
:root {
    --bank-primary: #1e3a8a;
    --bank-primary-hover: #1d4ed8;
    --bank-secondary: #0f172a;
    --bank-accent: #0ea5e9;
    --bank-success: #059669;
    --bank-danger: #dc2626;
    --bank-warning: #d97706;
    --bank-bg: #f8fafc;
    --bank-card-bg: #ffffff;
    --bank-border: #e2e8f0;
}

body {
    background-color: var(--bank-bg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
    min-height: 100vh;
}

/* Sidebar styling */
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    min-height: 100vh;
    box-shadow: 4px 0 16px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.sidebar .brand {
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar .nav-link {
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    margin: 2px 10px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.sidebar .nav-link i {
    font-size: 1.15rem;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.sidebar .nav-link:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.06);
}

.sidebar .nav-link.active {
    color: #ffffff;
    background: #2563eb;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37,99,235,0.35);
}

.sidebar-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #64748b;
    padding: 1rem 1.25rem 0.4rem;
}

/* Card metrics */
.stat-card {
    border-radius: 14px;
    border: 1px solid var(--bank-border);
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* Tables */
.table-custom {
    vertical-align: middle;
}

.table-custom thead th {
    background-color: #f1f5f9;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid #e2e8f0;
    padding: 0.85rem 1rem;
}

.table-custom tbody td {
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
    border-bottom: 1px solid #f1f5f9;
}

/* Slip Print */
@media print {
    .no-print {
        display: none !important;
    }
    .print-area {
        display: block !important;
        margin: 0 auto;
        width: 100%;
    }
    body {
        background: #fff;
    }
}
