﻿.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Popup box */
.popup-box {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    width: 350px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.3s ease-in-out;
    justify-content:center;
}

.popup-box img {
    width: 50px;
    margin-bottom: 15px;
}

.popup-box h2 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

.popup-box p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.popup-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.popup-btn {
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    min-width: 80px;
}

.success-btn {
    background-color: #28a745;
}

.success-btn:hover {
    background-color: #218838;
}

.warning-btn {
    background-color: #ffc107;
    color: #333;
}

.warning-btn:hover {
    background-color: #e0a800;
}

.error-btn {
    background-color: #dc3545;
}

.error-btn:hover {
    background-color: #b02a37;
}

.confirm-btn {
    background-color: #007bff;
}

.confirm-btn:hover {
    background-color: #0056b3;
}

.no-btn {
    background-color: #6c757d;
}

.no-btn:hover {
    background-color: #5a6268;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}