/* notification.css */
#notification-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.notif-toast {
    /* --- THEME AWARE STYLES --- */
    /* Use variables from style.css to match current theme */
    background: var(--glass-surface);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    
    /* Layout */
    min-width: 320px;
    padding: 16px 20px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Inter', sans-serif;
    pointer-events: auto;
    
    /* Animation */
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                background 0.3s ease, 
                color 0.3s ease, 
                border 0.3s ease;
}

.notif-toast.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Success Type */
.notif-toast.success {
    border-left: 4px solid #14b8a6; /* Teal-500 */
}
.notif-toast.success .notif-icon {
    color: #14b8a6; /* Teal-500 */
    background: rgba(20, 184, 166, 0.15);
}

/* Error Type */
.notif-toast.error {
    border-left: 4px solid #ef4444; /* Red-500 */
}
.notif-toast.error .notif-icon {
    color: #ef4444; /* Red-500 */
    background: rgba(239, 68, 68, 0.15);
}

/* Icon Styling */
.notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.notif-content {
    flex-grow: 1;
}

.notif-title {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2px;
    display: block;
    /* Use slightly brighter/darker text depending on theme */
    color: var(--text-color);
}

.notif-message {
    font-size: 0.85rem;
    /* Use opacity instead of hardcoded gray to look good on both white/black backgrounds */
    opacity: 0.7; 
    line-height: 1.3;
}

.notif-close {
    background: transparent;
    border: none;
    color: var(--text-color);
    opacity: 0.5;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px;
    transition: opacity 0.2s;
}

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