/* public/js/front/components/FinanceModal.css
   Extracted from resources/js/index/components/FinanceModal.vue <style scoped> block.
   Scoping was dropped (no bundler/scoped-style mechanism at runtime) — selectors are
   left exactly as authored. Load this file via a <link rel="stylesheet"> tag in the
   Blade layout head. */

.modal-dialog-scrollable{
    width: 90%; max-width: 90%;
}
.modal-dialog-scrollable .modal-content{
    height: 100%;
}

.modal-dialog-scrollable .modal-content{ width: 100%;}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 1rem;
}

.modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    /* max-width: 1024px; */
    padding: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

/* .financeclose-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: #333;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 10;
} */

.financeclose-btn {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 1.5rem;
    color: #fff;
    border: none;
    background: #333;
    cursor: pointer;
    z-index: 10;
    padding: 0px 10px;
    border-radius: 0 10px 0;
}


.iframe-wrapper {
    position: relative;
    width: 100%;
    /* padding-bottom: 56.25%;  */
    /* 16:9 ratio */
    /* padding-bottom: 20%;  */
    /* height: 0; */
    overflow: hidden;
    border-radius: 8px;
    height: 100%;
}

.iframe-wrapper iframe {
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 0.5rem;
        margin: 0 auto;
    }

    /* .iframe-wrapper {
        padding-bottom: 65%;
    } */
}
