.modalBackground {
    width: calc(100% + 40px) !important;
    margin-left: -20px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100000;
}

.modal-container {
    overflow-x: hidden;
    max-width: calc(100vw - 17px);
    position: fixed;
    top: -710px;
    right: 0px; /* Start off-screen */
    width: 600px;
    height: 710px;
    max-height: calc(100vh - 20px);
    background-color: #fff;
    z-index: 100001;
    transition: top 0.3s ease-in-out; /* Adjusted for smoother transition */
    margin: auto;
    left: 0px;
}

.modal-content {
    overflow-x: hidden;
    padding: 20px;
    height: 100%;
    overflow-y: auto;
}

.close-modal-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.modal-tabs button {
    cursor: pointer;
}

.modal-tab-content {
    display: none;
}
