/* Custom Notification/Alert System */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.notification-overlay.active {
    display: flex;
}

.notification-modal {
    background: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.notification-icon.success {
    background: #e8f5e9;
    color: #4caf50;
}

.notification-icon.error {
    background: #ffebee;
    color: #f44336;
}

.notification-icon.warning {
    background: #fff3e0;
    color: #ff9800;
}

.notification-icon.info {
    background: #e3f2fd;
    color: #2196f3;
}

.notification-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    text-align: center;
}

.notification-message {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    text-align: center;
    margin: 0 0 24px 0;
}

.notification-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.notification-btn {
    padding: 12px 32px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.notification-btn.primary {
    background: var(--primary-600, #4a90e2);
    color: white;
}

.notification-btn.primary:hover {
    background: var(--primary-700, #3a7bc8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.notification-btn.secondary {
    background: #f5f5f5;
    color: #333;
}

.notification-btn.secondary:hover {
    background: #e0e0e0;
}

/* Toast Notifications (smaller, auto-dismiss) */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    pointer-events: none;
}

.toast {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    pointer-events: auto;
    animation: slideInRight 0.3s ease-out;
    border-left: 4px solid;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast.success {
    border-left-color: #4caf50;
}

.toast.error {
    border-left-color: #f44336;
}

.toast.warning {
    border-left-color: #ff9800;
}

.toast.info {
    border-left-color: #2196f3;
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
}

.toast-message {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.toast-close {
    background: none;
    border: none;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-close:hover {
    color: #333;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .notification-modal {
        width: 95%;
        padding: 24px;
    }

    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .toast {
        min-width: unset;
        max-width: unset;
    }
}