html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Notification Styles */
.notification-dropdown {
    border: 1px solid #dee2e6;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.375rem;
}

.notification-item {
    border-bottom: 1px solid #f8f9fa;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

    .notification-item:hover {
        background-color: #f8f9fa;
        text-decoration: none;
        color: inherit;
    }

    .notification-item:last-child {
        border-bottom: none;
    }

    .notification-item.unread {
        background-color: #e3f2fd;
        border-left: 4px solid #2196f3;
    }

#notificationBadge {
    font-size: 0.7rem;
    min-width: 1.2rem;
    height: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.notification-priority-urgent {
    border-left-color: #dc3545 !important;
}

.notification-priority-high {
    border-left-color: #ffc107 !important;
}

.notification-priority-normal {
    border-left-color: #17a2b8 !important;
}

.notification-priority-low {
    border-left-color: #6c757d !important;
}

.notification-icon {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f8f9fa;
}

.notification-time {
    font-size: 0.75rem;
    color: #6c757d;
}

/* Toast notifications for real-time updates */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1080;
}

.notification-toast {
    min-width: 300px;
    max-width: 400px;
}

    .notification-toast .toast-header {
        background-color: #f8f9fa;
        border-bottom: 1px solid #dee2e6;
    }

    .notification-toast.priority-urgent .toast-header {
        background-color: #f8d7da;
        color: #721c24;
    }

    .notification-toast.priority-high .toast-header {
        background-color: #fff3cd;
        color: #856404;
    }
