﻿/*#notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 250px;
    z-index: 9999;
    display: none;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

    #notification.show {
        opacity: 1;
        transform: translateY(0);
    }

    #notification.hide {
        opacity: 0;
        transform: translateY(-20px);
    }
*/

/* Base alert styling */
#notification.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 280px;
    max-width: 420px;
    padding: 14px 18px;
    border-radius: 6px;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background-color: #f8f9fa;
    color: #212529;
    border-left: 5px solid #0d6efd;
    z-index: 10050;
    animation: slideIn 0.3s ease-out;
}

    /* Optional types (you can add these classes dynamically if needed) */
    #notification.alert.success {
        border-left-color: #198754;
        background-color: #e9f7ef;
        color: #0f5132;
    }

    #notification.alert.error {
        border-left-color: #dc3545;
        background-color: #fdecea;
        color: #842029;
    }

    #notification.alert.warning {
        border-left-color: #ffc107;
        background-color: #fff8e1;
        color: #664d03;
    }

    #notification.alert.info {
        border-left-color: #0dcaf0;
        background-color: #e7fafe;
        color: #055160;
    }

/* Smooth entrance animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
