/* Notification styles */
.notification {
    position: relative;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 6px;
    animation: slideDown 0.3s ease-out forwards;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-container {
    position: fixed;
    top: 60px; /* Position below the header */
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 16px;
    box-sizing: border-box;
    pointer-events: none; /* Allow clicking through the container */
}

.notification-inner {
    max-width: 1200px;
    margin: 0 auto;
    pointer-events: auto; /* Re-enable pointer events for the notification itself */
}

.notification-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.notification-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.notification-warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
}

.notification-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.notification-content {
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 0 0 0 15px;
    margin: 0;
}

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

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

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.notification.fade-out {
    animation: fadeOut 0.5s forwards;
}
