/* General Styles */
body {
    font-family: 'Hind Siliguri', 'SolaimanLipi', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Navbar Customization */
.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Card Customization */
.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border: none;
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/* Button Customization */
.btn {
    border-radius: 5px;
    padding: 8px 15px;
    font-weight: 500;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Table Customization */
.table {
    border-radius: 5px;
    overflow: hidden;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Form Customization */
.form-control, .form-select {
    border-radius: 5px;
    padding: 10px;
    border: 1px solid #ced4da;
}

.form-control:focus, .form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Alert Customization */
.alert {
    border-radius: 5px;
}

/* Dashboard Stats Cards */
.card-stat {
    border-left: 4px solid;
}

.card-stat.income {
    border-left-color: #28a745;
}

.card-stat.expense {
    border-left-color: #dc3545;
}

.card-stat.members {
    border-left-color: #17a2b8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1rem;
    }
    
    .card-body {
        padding: 15px;
    }
}

/* Custom Badges */
.badge {
    font-weight: 500;
    padding: 5px 10px;
}

/* PWA Install Prompt */
#installPrompt {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    z-index: 1000;
    display: none;
}

/* Bengali Font Support */
@font-face {
    font-family: 'SolaimanLipi';
    src: url('../fonts/SolaimanLipi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Print Styles */
@media print {
    .no-print, .navbar, .footer {
        display: none !important;
    }
    
    body {
        background: none;
        padding: 0;
        margin: 0;
    }
    
    .card {
        box-shadow: none;
        border: none;
    }
}