/* Notification Container */
.notification-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    pointer-events: none;
}

/* Notification Modal */
.notification {
    background: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    min-width: 300px;
    max-width: 500px;
    animation: slideDown 0.3s ease-out;
    pointer-events: all;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    border-left: 4px solid;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.notification.removing {
    animation: slideUp 0.3s ease-out;
}

/* Notification Types */
.notification.success {
    border-left-color: #10b981;
    background: #f0fdf4;
}

.notification.success .notification-icon {
    color: #10b981;
    font-size: 24px;
}

.notification.error {
    border-left-color: #ef4444;
    background: #fef2f2;
}

.notification.error .notification-icon {
    color: #ef4444;
    font-size: 24px;
}

.notification.warning {
    border-left-color: #f59e0b;
    background: #fffbeb;
}

.notification.warning .notification-icon {
    color: #f59e0b;
    font-size: 24px;
}

.notification.info {
    border-left-color: #3b82f6;
    background: #eff6ff;
}

.notification.info .notification-icon {
    color: #3b82f6;
    font-size: 24px;
}

/* Notification Content */
.notification-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

.notification.success .notification-title {
    color: #065f46;
}

.notification.error .notification-title {
    color: #7f1d1d;
}

.notification.warning .notification-title {
    color: #92400e;
}

.notification.info .notification-title {
    color: #1e40af;
}

.notification-message {
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

.notification.success .notification-message {
    color: #047857;
}

.notification.error .notification-message {
    color: #991b1b;
}

.notification.warning .notification-message {
    color: #b45309;
}

.notification.info .notification-message {
    color: #1e3a8a;
}

/* Notification Close Button */
.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #999;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.2s;
}

.notification-close:hover {
    color: #333;
}

/* Responsive */
@media (max-width: 640px) {
    .notification-container {
        top: auto;
        bottom: var(--spacing-md);
        left: var(--spacing-md);
        right: var(--spacing-md);
        transform: none;
    }

    .notification {
        min-width: auto;
        width: 100%;
    }
}
