/* Generic fullscreen dialog styles */

/* Prevent background scrolling when dialog is open */
body.dialog-open {
    overflow: hidden !important;
}

.fullscreen-dialog {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.fullscreen-dialog::backdrop {
    background: rgba(0, 0, 0, 0.45);
}

.dialog-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.dialog-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
    z-index: 1000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    padding: 0;
}

.dialog-close-btn:hover {
    transform: scale(1.1);
    color: #ff4444;
}

.dialog-close-btn:focus {
    outline: 2px solid white;
    outline-offset: 4px;
}

.dialog-iframe-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    max-width: 90vw;
    max-height: 90vh;
}

.dialog-iframe-container iframe {
    display: block;
    border: none;
}
