/* Notifications Styles */
.notifications-container {
    padding: 1rem 0;
    background-color: var(--theme-background-alt, #f8f9fa);
    border-bottom: 1px solid var(--theme-border-color, #dee2e6);
}

.notification-alert {
    border: none;
    border-radius: var(--theme-radius-medium, 0.5rem);
    box-shadow: var(--theme-shadow-medium, 0 2px 8px rgba(0, 0, 0, 0.1));
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.notification-alert::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

/* Priority Colors - High Contrast for All Themes */
.notification-alert.priority-low {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
    color: #ffffff;
    border-left: 6px solid #2196f3;
    box-shadow: 0 4px 16px rgba(33, 150, 243, 0.3), 0 0 20px rgba(33, 150, 243, 0.15);
    font-weight: 500;
}

.notification-alert.priority-low::before {
    background-color: #2196f3;
}

.notification-alert.priority-medium {
    background: linear-gradient(135deg, #e65100 0%, #ff6f00 100%);
    color: #ffffff;
    border-left: 6px solid #ffb300;
    box-shadow: 0 4px 16px rgba(255, 152, 0, 0.3), 0 0 20px rgba(255, 152, 0, 0.15);
    font-weight: 500;
}

.notification-alert.priority-medium::before {
    background-color: #ff9800;
}

.notification-alert.priority-high {
    background: linear-gradient(135deg, #d32f2f 0%, #f44336 100%);
    color: #ffffff;
    border-left: 6px solid #ff5252;
    box-shadow: 0 4px 16px rgba(244, 67, 54, 0.3), 0 0 20px rgba(244, 67, 54, 0.15);
    font-weight: 500;
}

.notification-alert.priority-high::before {
    background-color: #ff1744;
}

.notification-alert.priority-urgent {
    background: linear-gradient(135deg, #7b1fa2 0%, #c2185b 100%);
    color: #ffffff;
    border-left: 6px solid #ff006e;
    box-shadow: 0 4px 16px rgba(233, 30, 99, 0.3), 0 0 20px rgba(233, 30, 99, 0.25);
    font-weight: 600;
    animation: pulse-urgent 2s infinite;
}

.notification-alert.priority-urgent::before {
    background-color: #ff006e;
}

@keyframes pulse-urgent {
    0% { 
        box-shadow: 0 4px 16px rgba(233, 30, 99, 0.3), 0 0 20px rgba(233, 30, 99, 0.25);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 6px 24px rgba(233, 30, 99, 0.5), 0 0 30px rgba(233, 30, 99, 0.4);
        transform: scale(1.02);
    }
    100% { 
        box-shadow: 0 4px 16px rgba(233, 30, 99, 0.3), 0 0 20px rgba(233, 30, 99, 0.25);
        transform: scale(1);
    }
}

.notification-content {
    padding: 0.5rem 0;
}

.notification-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.notification-icon {
    font-size: 1.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.notification-title {
    margin: 0;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
    color: inherit;
}

.notification-message {
    margin: 0.5rem 0;
    line-height: 1.5;
    font-size: 0.95rem;
    color: inherit;
    opacity: 0.95;
}

.booking-restriction-notice {
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 0.375rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.booking-restriction-notice i {
    margin-right: 0.5rem;
    color: #dc3545;
}

/* Close button styling */
.notification-alert .btn-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.notification-alert .btn-close:hover {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .notifications-container {
        padding: 0.5rem 0;
    }
    
    .notification-alert {
        margin-bottom: 0.75rem;
        border-radius: 0.375rem;
    }
    
    .notification-title {
        font-size: 1rem;
    }
    
    .notification-message {
        font-size: 0.9rem;
    }
    
    .notification-icon {
        font-size: 1.1rem;
        margin-right: 0.5rem;
    }
}

/* Animation for new notifications */
.notification-alert.show {
    animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Fade out animation */
.notification-alert.fade {
    transition: opacity 0.3s ease;
}

.notification-alert.fade:not(.show) {
    opacity: 0;
}