/* Consolidated navbar styles */
/*.bg-gov {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}*/

/*.navbar-brand {
    font-weight: 600;
    font-size: 1.1rem;
}*/

/*.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0.375rem;
    margin: 0 0.25rem;
}*/

/*.navbar-nav .nav-link:hover {
    color: #fff !important;
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: #fff !important;
    background-color: rgba(255,255,255,0.2);
    font-weight: 600;
}*/

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    border-radius: 0.5rem;
}

.navbar-nav .dropdown-item {
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.navbar-nav .dropdown-item:hover {
    background-color: #f8f9fa;
    transform: translateX(4px);
}

.navbar-nav .dropdown-item.active {
    background-color: #e7f3ff;
    color: #0d6efd;
    font-weight: 600;
}

/* Notification styles consolidated from Layout */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
    display: none;
}

.notification-badge.badge-updated {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.notification-dropdown {
    max-height: 400px;
    overflow-y: auto;
    min-width: 350px;
}

.notification-item {
    padding: 12px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item.unread {
    background-color: #e3f2fd;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.real-time-status {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #28a745;
    margin-left: 5px;
    animation: pulse 2s infinite;
}

.real-time-status.disconnected {
    background-color: #dc3545;
    animation: none;
}

/* Toast styles consolidated from Layout */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast-primary {
    background-color: #0d6efd;
    color: white;
}

.toast-success {
    background-color: #198754;
    color: white;
}

.toast-warning {
    background-color: #ffc107;
    color: black;
}

.toast-danger {
    background-color: #dc3545;
    color: white;
}

.toast-info {
    background-color: #0dcaf0;
    color: black;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
    }
    
    .navbar-brand span {
        display: none !important;
    }
}