/* ---------------------------------- */
/* Modal Backdrop (Hidden by default) */
/* ---------------------------------- */
.my-custom-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark semi-transparent overlay */
    z-index: 10000; /* Ensure it is on top of other content */
    display: none; /* Controlled by JavaScript */
    overflow-y: auto; /* Scrollable if content is long */
}

/* ---------------------------------- */
/* Modal Content Box */
/* ---------------------------------- */
.my-custom-modal-content {
    background: #fff;
    margin: 50px auto; /* Center the box vertically with some top margin */
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 900px;
    position: relative;
    /* Basic animation on show */
    opacity: 0; 
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.my-modal-body .css-8hib3x{
    padding: 45px !important;
}

/* State when modal is active/visible */
.my-custom-modal-backdrop.is-active .my-custom-modal-content {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------------- */
/* Modal Header & Close Button */
/* ---------------------------------- */
.my-modal-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
}

.my-modal-header h3 {
    margin: 0;
    font-size: 1.5em;
    color: #333;
}

.my-modal-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    color: #999;
    padding: 0;
}

.my-modal-close-btn:hover {
    color: #333;
}

/* ---------------------------------- */
/* Button Styling (Optional) */
/* ---------------------------------- */
