﻿/* Basic Styling for Notifications */
.notification-container {
    position: fixed;
    top: 70px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1000;
    pointer-events: none;
}

.notification {
    display: none;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: all;
}

/* Different Notification Types */
.notification-success {
    background-color: #4CAF50; /* Green */
}

.notification-warn {
    background-color: #FF9800; /* Orange */
}

.notification-info {
    background-color: #2196F3; /* Blue */
}

.notification-error {
    background-color: #F44336; /* Red */
}

/* Icon Styling */
.notification i {
    margin-right: 10px;
}

/* Animation to show the notification */
.notification.show {
    display: block;
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Animation to hide the notification */
.notification.hide {
    opacity: 0;
    transform: translateX(50%) translateY(0px);
    transition: opacity 1s ease, transform 1s ease;
}












/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease; /* Smooth fade-in and fade-out */
}

/* Modal styling */
.confirm-modal {
    background-color: antiquewhite;
    padding: 25px;
    border-radius: 4px;
    width: 600px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: scale(0.8); /* Start slightly smaller */
    transition: transform 0.3s ease; /* Smooth pop-in effect */
}

/* Message Styling */
.confirm-message {
    font-size: 18px;
    margin-bottom: 20px;
}

.confirm-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
}



/* Fade-in class */
.overlay.fade-in {
    opacity: 1;
}

/* Fade-out class */
.overlay.fade-out {
    opacity: 0;
}

/* Modal pop-in effect */
.confirm-modal.fade-in {
    transform: scale(1);
}