/* css/flycar-viewer.css */

/* Основной полноэкранный темный фон, который изначально скрыт */
.flycar-fullscreen-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(10, 15, 26, 0.98) !important;
    z-index: 2147483647 !important; /* Максимальный приоритет поверх всего */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 30px;
    box-sizing: border-box;
    cursor: pointer;
    
    /* Плавное появление */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Класс, который делает слой видимым при клике */
.flycar-fullscreen-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* Картинка внутри полноэкранного режима */
.flycar-fullscreen-overlay img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    user-select: none;
}

/* Запрет прокрутки сайта на заднем плане */
.no-scroll {
    overflow: hidden !important;
}
