:root {
    --primary-color: #4e73df;
    --secondary-color: #858796;
    --success-color: #1cc88a;
    --info-color: #36b9cc;
    --warning-color: #f6c23e;
    --danger-color: #e74a3b;
    --dark-color: #5a5c69;
    --bg-color: #f8f9fc;
}

body {
    background-color: var(--bg-color);
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #5a5c69;
}

/* Navbar Modernization */
.navbar {
    background: linear-gradient(90deg, #4e73df 0%, #224abe 100%) !important;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    padding: 0.75rem 1rem;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease-in-out;
}

.navbar-dark .navbar-nav .nav-link:hover, 
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
    background-color: rgba(255,255,255,0.1);
    border-radius: 0.35rem;
}

/* Dropdown Menu styling */
.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.35rem;
}

.dropdown-item {
    font-weight: 600;
    color: #3a3b45;
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.dropdown-item i {
    color: #d1d3e2;
    margin-right: 0.5rem;
    width: 1.25rem;
    text-align: center;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: #eaecf4;
    color: #2e59d9;
}

.dropdown-item:hover i {
    color: #2e59d9;
}

/* Card Modernization */
.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
    margin-bottom: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-header {
    background-color: #f8f9fc;
    border-bottom: 1px solid #e3e6f0;
    font-weight: 700;
    color: var(--primary-color);
    border-top-left-radius: 0.5rem !important;
    border-top-right-radius: 0.5rem !important;
    padding: 1rem 1.25rem;
}

/* Buttons */
.btn {
    font-weight: 600;
    border-radius: 0.35rem;
    padding: 0.375rem 0.75rem;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #2e59d9;
    border-color: #2653d4;
    box-shadow: 0 0.25rem 0.5rem rgba(78, 115, 223, 0.5);
}

/* Tables */
.table {
    color: #5a5c69;
}

.table th {
    border-bottom-width: 2px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05rem;
    color: #858796;
    background-color: #f8f9fc;
}

/* Badge enhancements */
.badge {
    padding: 0.35em 0.65em;
    font-weight: 700;
    border-radius: 0.25rem;
}
