/* Notification Styles */

.notification-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.notification {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideInRight 0.3s ease;
    min-width: 300px;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.notification.removing {
    animation: slideOutRight 0.3s ease;
}

.notification-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
    font-size: 0.95rem;
    color: #333;
}

.notification-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.2s ease;
    padding: 0;
}

.notification-close:hover {
    color: #333;
}

.notification.success {
    background: linear-gradient(135deg, #d7f8e3 0%, #e8fff1 100%);
    border-left: 4px solid #4caf50;
}

.notification.success .notification-message {
    color: #2d5016;
    font-weight: 500;
}

.notification.error {
    background: linear-gradient(135deg, #fde8eb 0%, #fff4f6 100%);
    border-left: 4px solid #e57373;
}

.notification.error .notification-message {
    color: #9c2f39;
    font-weight: 500;
}

.notification.error .notification-icon {
    color: #d62839;
}

.notification.info {
    background: linear-gradient(135deg, #e6f2ff 0%, #f3f9ff 100%);
    border-left: 4px solid #2e86de;
}

.notification.info .notification-message {
    color: #1c5d99;
    font-weight: 500;
}

/* Responsive */

@media (max-width: 768px) {
    .notification-container {
        left: 10px;
        right: 10px;
        max-width: none;
    }

    .notification {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .notification-container {
        top: 70px;
    }

    .notification {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .notification-icon {
        font-size: 1.2rem;
    }
}
