/* Existing styles */
html, body {
    height: 100%;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
    overflow: hidden; /* Prevent page scroll when SweetAlert is active */
}

.swal2-popup {
    border: none !important;
    margin: 0 !important;
    padding: 5vh !important;
    height: auto !important;
    max-height: 55vh !important;
    width: 25vw !important;
    max-width: 30vw !important;
    border-radius: 2vh !important;
    position: fixed !important; /* Ensure the modal stays in place */
    top: 50% !important; /* Center vertically */
    left: 50% !important; /* Center horizontally */
    transform: translate(-50%, -50%) !important; /* Offset to make sure it’s centered */
    z-index: 9999; /* Ensure it is on top */
}

.swal2-icon {
    margin: 0 auto !important;
    font-size: 2vh !important;
    display: flex !important;
}

.swal2-title {
    margin: 0 !important;
    padding: 1vh !important;
    font-size: 3.5vh !important;
    margin-top: 2vh !important;
}

.swal2-html-container, .swal2-html {
    margin: 0 !important;
    padding: 2vh !important;
    color: black !important;
    line-height: 1.5 !important;
    text-align: center;
    display: block;
    font-size: 2.5vh !important;
    box-sizing: border-box;
}

.swal2-actions {
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 2vh !important;
}

/* OK Button Styles */
.swal2-confirm {
    background: #4CAF50 !important;
    border: none !important;
    color: white !important;
    font-size: 2.3vh !important;
    padding: 1.5vh 2.7vh !important;
    margin: 0.5vh !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 1vh !important;
}

.swal2-confirm:hover {
    background: #45A049 !important; /* Darker green on hover */
}

/* Cancel Button Styles */
.swal2-cancel {
    background: #f44336 !important; /* Red color */
    border: none !important;
    color: white !important;
    font-size: 2.3vh !important;
    padding: 1.5vh 2.7vh !important;
    margin: 0.5vh !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 1vh !important;
}

.swal2-cancel:hover {
    background: #e53935 !important; /* Darker red on hover */
}

/* Custom button styles (if needed) */
.custom-button {
    background: #007bff !important; /* Blue color */
    border: none !important;
    color: white !important;
    font-size: 2.3vh !important;
    padding: 1.5vh 2.7vh !important;
    margin: 0.5vh !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 1vh !important;
}

.custom-button:hover {
    background: #0056b3 !important; /* Darker blue on hover */
}
