body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f5f7fa;
}

/* Remove underline from all hyperlinks */
a, a:visited, a:hover, a:active, a:focus {
    text-decoration: none !important;
}

.sidebar {
    min-height: 100vh;
    background: #e74c3c;
    color: #fff;
    width: 240px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1030;
    transition: all 0.3s;
}
.sidebar .sidebar-header {
    padding: 1.5rem 1rem;
    background: #c0392b;
    display: flex;
    align-items: center;
}
.sidebar .sidebar-title {
    font-weight: bold;
    font-size: 1.2rem;
}
.sidebar .nav-link {
    color: #fff;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    border-radius: 0.375rem;
    margin: 0.25rem 0.5rem;
    transition: background 0.2s;
}
.sidebar .nav-link.active, .sidebar .nav-link:hover {
    background: #a93226;
    color: #fff;
}
.main-content {
    margin-left: 240px;
    padding: 0;
    min-height: 100vh;
    transition: margin-left 0.3s;
    margin-bottom: 100px;   
}
.navbar {
    background: #fff;
    border-bottom: 1px solid #e5e9f2;
}
.dashboard-cards .card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.07);
    margin-bottom: 1rem;
}
.dashboard-cards .card .card-body {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.dashboard-cards .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #fff;
}
.icon-bg-1 { background: #e74c3c; }
.icon-bg-2 { background: #00c292; }
.icon-bg-3 { background: #f7b731; }
.icon-bg-4 { background: #e74c3c; }
.icon-bg-5 { background: #9b59b6; }
.icon-bg-6 { background: #16a085; }
.icon-bg-7 { background: #fd9644; }
.icon-bg-8 { background: #34495e; }
.stat-label {
    font-size: 0.95rem;
    color: #888;
}
.stat-value {
    font-size: 1.3rem;
    font-weight: 600;
}
.stat-change {
    font-size: 0.85rem;
}
.admin-panel-stats .card {
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.07);
}

/* Login Page */
.login-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    padding: 2rem;
}

.login-card .input-group-text {
    background-color: var(--light-color);
    border-right: none;
}

.login-card .form-control {
    border-left: none;
}

.login-card .form-control:focus {
    border-color: #ced4da;
}

/* Footer */

.footer-fixed {
    position: fixed;
    left: 0;
    bottom: 0px;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e5e9f2;
    color: #333;
    text-align: center;
    padding: 1.2rem 0 1.2rem 0;
    z-index: 1050;
    font-size: 1.05rem;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-shadow: 0 2px 12px rgba(44, 62, 80, 0.10);
    border-radius: 18px 18px 0 0;
    margin: 0 auto;
    max-width: 100%;
    left: 50%;
    transform: translateX(-50%);
}
@media (max-width: 991.98px) {
    .main-content {
        margin-bottom: 100px; /* To avoid overlap with footer on mobile */
    }
}


@media (max-width: 991.98px) {
    .sidebar {
        left: -240px;
    }
    .sidebar.active {
        left: 0;
    }
    .main-content {
        margin-left: 0;
    }
}


