.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    display: none; /* Hidden by default */
}

.custom-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 90%; /* Max width for mobile responsiveness */
    width: 400px; /* Default width */
    z-index: 999999999;
    display: none; /* Hidden by default */
    text-align: center; /* Center text content */
}

.custom-alert img {
    max-width: 50px;
    margin-bottom: 20px;
}

.custom-alert-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px; /* Space between buttons */
}

.custom-alert-button {
    padding: 10px 20px;
    background-color: #2980b9;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    min-width: 100px;
}

.custom-alert-button:hover {
    background-color: #3498db;
}

.hidebtn {
    display: none;
}

@media (max-width: 480px) {
    .custom-alert {
        width: 90%; /* Adjust width for smaller screens */
        padding: 15px;
    }
    .custom-alert-button {
        width: 100%; /* Full width buttons on small screens */
    }
    .custom-alert-buttons {
        flex-direction: column;
        gap: 10px;
    }
}
