@import url('https://fonts.googleapis.com/css2?family=Kantumruy+Pro:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bs-primary-rgb: 71, 85, 105; 
    --bs-success-rgb: 22, 163, 74; 
    --bs-danger-rgb: 220, 38, 38;  
    --bs-info-rgb: 59, 130, 246;   
}

body {
    background-color: #f1f5f9; 
    font-family: 'Inter', 'Kantumruy Pro', sans-serif;
    color: #334155; 
}

.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #e2e8f0;
}


.dashboard-title {
    font-weight: 700;
    color: #1e293b; 
}

.btn-add-transaction {
    font-family: 'Kantumruy Pro', sans-serif;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.card {
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease-in-out;
    border-radius: 15px;
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.07);
}

.card-filters .form-control, .card-filters .btn {
    height: 44px;
}

.card-filters .btn.active {
    background-color: var(--bs-primary);
    color: white;
}

.summary-card {
    border-left-width: 4px;
    border-radius: 0.5rem;
}
.border-start-success { border-left-color: var(--bs-success) !important; }
.border-start-danger { border-left-color: var(--bs-danger) !important; }
.border-start-primary { border-left-color: var(--bs-primary) !important; }

.summary-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.bg-light-success { background-color: rgba(var(--bs-success-rgb), 0.1); }
.bg-light-danger { background-color: rgba(var(--bs-danger-rgb), 0.1); }
.bg-light-primary { background-color: rgba(var(--bs-primary-rgb), 0.1); }

.summary-card .card-title {
    font-weight: 700;
}
#netBalance.text-success, #totalIncome { color: var(--bs-success) !important; }
#netBalance.text-danger, #totalOutcome { color: var(--bs-danger) !important; }
#netBalance.text-dark { color: var(--bs-primary) !important; }

.transaction-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.transaction-card:hover {
    transform: translateY(-5px);
}
.transaction-card .card-title {
    font-weight: 600;
    color: #1e293b;
}
.transaction-card .card-subtitle {
    font-weight: 700;
    font-size: 1.5rem;
}
.transaction-card .badge {
    font-size: 0.8rem;
    font-weight: 600;
}

.modal-content {
    border-radius: 0.75rem;
    border: none;
}
.modal-header {
    border-bottom: 1px solid #e2e8f0; 
}
.modal-footer {
    border-top: 1px solid #e2e8f0; 
}