﻿/* Notification Container */
/*.notification-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90%;
    width: 360px;
}*/

/* Base Notification Style */
/*.notification {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 20px;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    margin-bottom: 12px;
    animation: slideInDown 0.4s ease-out forwards, fadeOut 0.4s ease-in forwards 2.6s;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .notification:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }*/

/* Notification Types */
/*.notification-success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.2) 100%);
    border-left: 4px solid #4caf50;
    color: #1b5e20;
}

.notification-error {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1) 0%, rgba(244, 67, 54, 0.2) 100%);
    border-left: 4px solid #f44336;
    color: #b71c1c;
}*/

/* Icon Styles */
/*.notification-icon {
    font-size: 22px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.notification-success .notification-icon {
    background-color: rgba(76, 175, 80, 0.15);
    color: #4caf50;
}

.notification-error .notification-icon {
    background-color: rgba(244, 67, 54, 0.15);
    color: #f44336;
}*/

/* Message Styles */
/*.notification-message {
    flex-grow: 1;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    letter-spacing: 0.2px;
}*/

/* Close Button */
/*.notification::after {
    content: '\2715';
    font-size: 12px;
    opacity: 0.6;
    cursor: pointer;
    margin-left: 10px;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.notification:hover::after {
    opacity: 1;
}*/

/* Progress Bar Animation */
/*.notification::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    animation: progress 3s linear forwards;
}

.notification-success::before {
    background-color: #4caf50;
}

.notification-error::before {
    background-color: #f44336;
}*/

/* Animations */
/*@keyframes slideInDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes progress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}*/

/* Responsive Adjustments */
/*@media (max-width: 480px) {
    .notification-container {
        width: 92%;
    }

    .notification {
        padding: 14px 16px;
    }
}*/











/* Notification Container */
.notification-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90%;
    width: 360px;
}

/* Base Notification Style */
.notification {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    margin-bottom: 12px;
    animation: slideInDown 0.4s ease-out forwards, fadeOut 0.4s ease-in forwards 2.6s;
    background-color: white;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

    .notification:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    }

/* Notification Types */
.notification-success {
    background-color: #ffffff;
    border-left: 5px solid #00c853;
}

.notification-error {
    background-color: #ffffff;
    border-left: 5px solid #ff1744;
}

/* Icon Styles */
.notification-icon {
    font-size: 22px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.notification-success .notification-icon {
    background-color: #e8f5e9;
    color: #00c853;
}

.notification-error .notification-icon {
    background-color: #ffebee;
    color: #ff1744;
}

/* Message Styles */
.notification-message {
    flex-grow: 1;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    color: #333;
    letter-spacing: 0.2px;
}

/* Close Button */
.notification::after {
    content: '\2715';
    font-size: 12px;
    opacity: 0.5;
    cursor: pointer;
    margin-left: 10px;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    background-color: #f5f5f5;
}

.notification:hover::after {
    opacity: 1;
    background-color: #eeeeee;
}

/* Progress Bar Animation */
.notification::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    animation: progress 3s linear forwards;
}

.notification-success::before {
    background: linear-gradient(to right, #00c853, #64dd17);
}

.notification-error::before {
    background: linear-gradient(to right, #ff1744, #ff5252);
}

/* Animations */
@keyframes slideInDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes progress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .notification-container {
        width: 92%;
    }

    .notification {
        padding: 14px 16px;
    }
}