/**
 * WinHelp SEO: screenshot lightbox modal styles.
 * Spec: docs/tz-screenshot-lightbox.md
 */

.whs-screenshot-dialog {
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    max-width: 95vw;
    max-height: 90vh;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.whs-screenshot-dialog::backdrop {
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(2px);
}

.whs-screenshot-dialog__content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 95vw;
    max-height: 90vh;
}

.whs-screenshot-dialog__img {
    display: block;
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.whs-screenshot-dialog__close {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    width: 38px;
    height: 38px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.1s ease;
    z-index: 10;
}

.whs-screenshot-dialog__close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.whs-screenshot-dialog__close:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
    background: rgba(0, 0, 0, 0.9);
}
