/* Ported from resources/js/index/pages/pages/show.vue <style scoped> */
#app-pages-show .widget-placeholder-skeleton {
    width: 100%;
    min-height: 200px;
    border-radius: 12px;
    margin: 16px 0;
    background: linear-gradient(90deg, #f2f4f7 25%, #e7ebf0 50%, #f2f4f7 75%);
    background-size: 200% 100%;
    animation: widgetShimmer 1.4s linear infinite;
}

@keyframes widgetShimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}

#app-pages-show .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;
}

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

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

#app-pages-show .iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

#app-pages-show .iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    #app-pages-show .modal-content { width: 95%; padding: 0.5rem; }
    #app-pages-show .iframe-wrapper { padding-bottom: 65%; }
}
