
.popup-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    backdrop-filter: blur(5px); /* Adds a blur effect behind the popup */
}

.popup-card {
    width: 100%;
    max-width: 400px; /* Set a maximum width for better control */
    min-height: 180px; /* Adjust the minimum height */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Soft shadow for depth */
    display: flex;
    flex-direction: column; /* Align children vertically */
    justify-content: space-between; /* Ensure title, message, and button are spaced out */
    transition: transform 0.3s ease-in-out; /* Smooth scaling transition */
}

    .popup-card:hover {
        transform: scale(1.05);
    }

.popup-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

    .popup-body h5 {
        font-size: 1.25rem;
        font-weight: bold;
        margin-bottom: 15px;
        text-align: center;
    }

    .popup-body p {
        font-size: 1rem;
        margin-bottom: 20px;
        padding: 0 10px;
        text-align: center;
    }

.popup-button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-self: center;
}

    .popup-button:hover {
        transform: translateY(-2px);
    }

    .popup-button:active {
        transform: translateY(2px);
    }