@charset "utf-8";
/* CSS Document */



:root {
--overlay-bg: rgba(255, 255, 255, 1);
--surface: #0b1020;
--text: #e9eef9;
--muted: #95a0b4;
--accent: #7aa2ff;
--radius: 18px;
}
button.open-iframe {
    box-sizing: none;
    color: #000;
    filter: alpha(opacity=100);
    font-size: 18px;
    line-height: 1;
    margin: 5px;
    border: none;
    opacity: 1;
    z-index: 9999;
    margin-bottom: 20px;
    background: #dddddd;
    padding: 10px;
    width: calc(100% - 50px);
    margin-left: -10px;
}
button.open-iframe:hover {
    color: #000;
    cursor: pointer;
    filter: alpha(opacity=50);
    border: none;
    text-decoration: none;
    background: #81ACE5;
    transform: translateY(-1px);
    box-shadow: 0 5px 5px rgba(0,0,0,.35);
    border-color: rgba(122,162,255,.45);
}
button.open-iframe strong {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
}
button.open-iframe span {
    display: block;
    font-size: 13px;
    color: var(--muted);
}
/* ===== Overlay ===== */
.overlay {
    position: fixed;
    inset: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    background: transparent;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.overlay[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}
.overlay__backdrop {
    position: absolute;
    inset: 0;
    background: var(--overlay-bg);
}
.overlay__shell {
    position: relative;
    margin: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    z-index: 1;
}
.overlay__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0px 9px;
    background: linear-gradient(180deg, #ffffff, #cccccc);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.overlay__title {
    flex: 1;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left:5px;
}
.overlay__close {
    appearance: none;
    background: #444444;
    border: 1px solid rgba(255,255,255,.1);
    color: var(--text);
    padding: 4px 4px;
    border-radius: 2px;
    cursor: pointer;
}
.overlay__close:focus {
    outline: 0px solid var(--accent);
    outline-offset: 0px;
}
.overlay__frame {
    width: 100vw;
    height: 100vh;
    border: 0;
    background: #444444;
}
/* Prevent background scroll when overlay is open */
body.no-scroll {
    height: 100%;
    overflow: hidden;
}
/* Visually hidden utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media only screen and (max-width : 1000px) {
    
    .overlay__frame {
    width: 100vw;
    height: calc(100vh - 100px);
    border: 0;
    background: #444444;
}
}
