/* notifications.css */

.notifications {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 1400;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 300px;
}

.notification {
    background: linear-gradient(180deg, rgba(43, 50, 70, 0.96), rgba(24, 29, 42, 0.98));
    border: 1px solid rgba(126, 136, 164, 0.26);
    border-radius: 14px;
    padding: 10px 14px;
    color: #fff9e7;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
    animation: slideIn 0.3s ease;
    position: relative;
    min-width: 280px;
}

.notification.success {
    border-color: #28a745;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.notification.error {
    border-color: #dc3545;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.notification-content {
    margin-right: 20px;
    font-weight: 500;
}

.notification-close {
    position: absolute;
    top: 6px;
    right: 6px;
    background: none;
    border: none;
    color: #ffdf8f;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.notification-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@media (max-width: 768px) {
    .notifications { top: 8px; right: 8px; left: 8px; max-width: none; }
    .notification { min-width: auto; width: 100%; }
}
