/* ============================================
   SahinOS — Notification/Toast System
   ============================================ */

/* Notification Container - top right */
.notification-container {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 99998;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    max-width: 360px;
}

.notification {
    pointer-events: auto;
    padding: 14px 18px;
    background: rgba(25, 25, 45, 0.92);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #f0f0f5;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    animation: notifySlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: opacity 0.3s, transform 0.3s;
    border-left: 3px solid rgba(59, 130, 246, 0.8);
}

.notification.removing {
    opacity: 0;
    transform: translateX(100px);
}

.notification-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.notification-text {
    flex: 1;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    font-size: 16px;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.15s;
    flex-shrink: 0;
}

.notification-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* Types */
.notification.info { border-left-color: #3b82f6; }
.notification.success { border-left-color: #10b981; }
.notification.warning { border-left-color: #f59e0b; }
.notification.error { border-left-color: #ef4444; }

/* Codefather theme notification */
.notification.notification-codefather {
    background: linear-gradient(135deg, rgba(40, 5, 5, 0.95), rgba(20, 0, 0, 0.95));
    border-left: 3px solid #8b0000;
    border-color: rgba(139, 0, 0, 0.3);
    border-left-color: #8b0000;
    color: #e8d5c0;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 32px rgba(80, 0, 0, 0.5), inset 0 1px 0 rgba(139, 0, 0, 0.2);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

@keyframes notifySlideIn {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Light theme */
[data-theme="light"] .notification {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1a1a2e;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Mobile */
@media (max-width: 768px) {
    .notification-container {
        right: 8px;
        left: 8px;
        max-width: none;
    }
}
