body {
    font-family: 'Montserrat', 'Roboto', 'Open Sans', sans-serif;
    background-color: #f8f9fa;
    font-size: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    /* font-family: 'Montserrat', sans-serif; */
}

/* Toast notifications */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1080;
}

.toast {
    min-width: 280px;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.success-toast {
    border-left: 4px solid #28a745;
}

.error-toast {
    border-left: 4px solid #dc3545;
}

.warning-toast {
    border-left: 4px solid #ffc107;
}

.toast-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Header styles */
.top-navbar {
    background: #1b3e7f;
    color: white;
    border-bottom: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.4rem 0.5rem;
    height: 56px;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.top-navbar .dropdown-toggle {
    color: white;
    font-weight: 500;
}

.navbar-brand {
    /*  font-family: 'Montserrat', sans-serif;*/
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: white;
}

.header-actions .icon-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-left: 10px;
    transition: all 0.2s;
}

.header-actions .icon-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sidebar styles */
.sidebar {
    background-color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    border-right: 1px solid #eaedf2;
    padding-top: 0;
    height: 100vh;
    position: fixed;
    top: 56px;
    left: 0;
    bottom: 0;
    z-index: 100;
    padding: 0;
    overflow-y: auto;
}

.sidebar-header {
    padding: 1.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #eaedf2;
}

.sidebar .nav-item {
    margin: 4px 12px;
}

.sidebar .nav-link {
    color: #5c6c7c;
    border-radius: 8px;
    padding: 12px 15px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.sidebar .nav-link i {
    font-size: 1.1rem;
    width: 22px;
    margin-right: 10px;
    text-align: center;
}

.sidebar .nav-link:hover {
    background-color: #f1f5f9;
    color: #2c3e50;
}

.sidebar .nav-link.active {
    background-color: #ebf5ff;
    color: #3498db;
    font-weight: 600;
}

.sidebar .nav-link.active i {
    color: #3498db;
}

.sidebar .nav-section-title {
    color: #a0aec0;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 1rem 1.5rem 0.5rem;
}

.main-content {
    margin-left: 250px;
    margin-top: 85px;
    padding: 20px 25px;
    min-height: calc(100vh - 70px);
}

/* Cards */
.card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 1.5rem;
}

.card-header h6 {
    margin-bottom: 0;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* Stat cards */
.stat-card {
    border-left: 4px solid #3498db;
    height: 100%;
}

.stat-card.primary {
    border-left-color: #3498db;
}

.stat-card.success {
    border-left-color: #2ecc71;
}

.stat-card.warning {
    border-left-color: #f39c12;
}

.stat-card.danger {
    border-left-color: #e74c3c;
}

.stat-card .card-body {
    padding: 1.25rem;
}

.stat-card .stat-icon {
    color: rgba(0, 0, 0, 0.1);
    font-size: 2rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .sidebar {
        width: 0;
        transform: translateX(-100%);
        transition: all 0.3s;
    }

    .sidebar.show {
        width: 250px;
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }
} 


::-webkit-scrollbar{ width: 6px; }
::-webkit-scrollbar-track { background: #fff;}
::-webkit-scrollbar-thumb { background: #1d3c70;border-radius: 0;}

::selection {
  background-color: #f9b90f;
  color: #fff;
}