﻿/* confirmationMessage.css */
.modalConfirmation {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 5000;
    background-color: rgba(0, 0, 0, 0.5);
}

    .modalConfirmation.show {
        display: flex; /* Show and center the modal */
    }

.modalConfirmation-content {
    background-color: #DCDCDC;
    padding: 20px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%; /* Responsive width */
    max-width: 500px;
    text-align: center;
    color: black;
}

.btnconfirm {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    transition: background-color 0.2s ease-in;
}

.warning-image {
    width: 100px; /* Adjust the size as needed */
    display: block;
    margin: 0 auto 10px auto;
}

#confirmNo {
    background-color: gray;
}

    #confirmNo:hover {
        background-color: #4C4C4E;
    }

#confirmYes {
    background-color: #511612;
}

    #confirmYes:hover {
        background-color: #901C1A;
    }

.modalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 999; /* Below the modal but above other content */
}

/* Media query for mobile devices */
@media (max-width: 600px) {
    .modalConfirmation-content {
        width: 95%; /* Adjust width for mobile screens */
    }
}