/* assets/css/style.css */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --card-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

body {
    background: #f8f9fc;
    font-family: 'Segoe UI', 'Poppins', system-ui, -apple-system, sans-serif;
}

/* Navbar */
.navbar-custom {
    background: var(--primary-gradient) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Cards */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Dashboard stat cards */
.stat-card {
    background: white;
    border-radius: 20px;
    padding: 1.25rem;
}
.stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

/* Buttons */
.btn-primary-custom {
    background: var(--primary-gradient);
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-primary-custom:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(102,126,234,0.4);
}

/* Loan cards */
.loan-card {
    background: white;
    border-radius: 20px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.badge-upcoming {
    background: #fff3cd;
    color: #856404;
    border-radius: 50px;
    padding: 5px 12px;
    font-size: 0.75rem;
}

/* EMI calculator */
.emi-result {
    background: var(--primary-gradient);
    color: white;
    border-radius: 25px;
    padding: 1.5rem;
    text-align: center;
}
.emi-amount {
    font-size: 2.5rem;
    font-weight: 800;
}

/* Responsive */
@media (max-width: 768px) {
    .stat-card {
        padding: 0.9rem;
    }
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }
    .emi-amount {
        font-size: 1.8rem;
    }
    .loan-card .row {
        flex-direction: column;
    }
}