/* Custom Styles for EMI Management System */

/* Login Page Styling */
.login-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100vh;
}

.card {
    border: none;
    border-radius: 15px;
}

.card-header {
    border-radius: 15px 15px 0 0 !important;
}

/* Dashboard Cards */
.card.border-left-primary {
    border-left: 4px solid #4e73df !important;
}

.card.border-left-success {
    border-left: 4px solid #1cc88a !important;
}

.card.border-left-warning {
    border-left: 4px solid #f6c23e !important;
}

.card.border-left-info {
    border-left: 4px solid #36b9cc !important;
}

/* Table Styling */
.table th {
    border-top: none;
    font-weight: 600;
    color: #495057;
}

.table-responsive {
    border-radius: 10px;
    overflow: hidden;
}

/* Button Styling */
.btn {
    border-radius: 8px;
    font-weight: 500;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar Styling */
.navbar-brand {
    font-weight: 700;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

/* Progress Bar */
.progress {
    border-radius: 10px;
    height: 10px;
}

.progress-bar {
    border-radius: 10px;
}

/* Badge Styling */
.badge {
    font-size: 0.75em;
    font-weight: 500;
}

/* Card Hover Effects */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Form Styling */
.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.form-control:focus, .form-select:focus {
    border-color: #4e73df;
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

/* Custom Checkbox */
.form-check-input:checked {
    background-color: #4e73df;
    border-color: #4e73df;
}

/* Alert Styling */
.alert {
    border-radius: 10px;
    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container-fluid {
        padding: 0 10px;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .btn-group .btn {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Custom Utilities */
.text-xs {
    font-size: 0.7rem;
}

.font-weight-bold {
    font-weight: 700;
}

.text-gray-800 {
    color: #5a5c69 !important;
}

.text-gray-300 {
    color: #dddfeb !important;
}

/* Print Styles */
@media print {
    .navbar, .btn, .no-print {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
}