/* Custom Styles for Titu Microfinance */

/* Smooth hover effects */
.hover-opacity-100:hover {
    opacity: 1 !important;
    transition: opacity 0.2s ease;
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Custom alert colors */
.alert-success {
    background-color: #d1fae5;
    border-color: #34d399;
    color: #065f46;
}

.alert-danger {
    background-color: #fee2e2;
    border-color: #f87171;
    color: #7f1d1d;
}

.alert-warning {
    background-color: #fef3c7;
    border-color: #fbbf24;
    color: #92400e;
}

.alert-info {
    background-color: #dbeafe;
    border-color: #60a5fa;
    color: #1e40af;
}

/* Custom button styles */
.btn-primary {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.btn-primary:hover {
    background-color: #2563eb;
    border-color: #2563eb;
}

/* Dashboard card styles */
.dashboard-card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Loan status badges */
.badge-loan-applied {
    background-color: #60a5fa;
}

.badge-loan-approved {
    background-color: #fbbf24;
}

.badge-loan-active {
    background-color: #10b981;
}

.badge-loan-late {
    background-color: #ef4444;
}

.badge-loan-paid {
    background-color: #8b5cf6;
}

/* Custom table styles */
.table-custom {
    border-collapse: separate;
    border-spacing: 0;
}

.table-custom thead th {
    background-color: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 600;
}

/* Custom form styles */
.form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

/* Loading spinner */
.spinner-custom {
    width: 3rem;
    height: 3rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
    }
    
    .dashboard-card {
        margin-bottom: 1rem;
    }
}