﻿/* Background Overlay */
.modalBackground {
    background-color: rgba(0, 0, 0, 0.5) !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SweetAlert-like Modal */
/*.sweet-modal {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 350px;
    padding: 20px;
    animation: fadeIn 0.3s ease-in-out;
    position: relative; 
}*/

.sweet-modal {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-in-out;
    position: relative;
    /* Add these for scrollable modal */
    max-height: 80vh; /* or any height you prefer */
    overflow-y: auto;
    box-sizing: border-box;
}


/* Modal Header */
.sweet-modal-header {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

/* Modal Body */
.sweet-modal-body {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
    text-align: left;
}

/* Button Styling */
.sweet-modal-footer .btn {
    border: none;
    background-color: #3085d6;
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

    .sweet-modal-footer .btn:hover {
        background-color: #2673c9;
    }

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
