:root {
    --cor-fundo: #ffffff;
    --cor-texto: #000000;
    --cor-imagem-bg: #0078D7;
    --padding-wrapper: 0;
    --imagem-max-width: 100vw;
    --imagem-max-height: 100vh;
    --user-select: none;
    --pointer-events: auto;
    --touch-action: pan-x pan-y;
    --ar-scale: 1;
    --vr-scale: 1;
    --ar-rotation: 0deg;
    --vr-rotation: 0deg;
    --desktop-scale: 1;
    --tv-scale: 1;
    --monitor-count: 1;
    --fold-angle: 0deg;
    --fold-position: 50%;
    --fold-width: 0px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    pointer-events: auto;
}

a,
button,
input,
select,
textarea,
[role="button"],
[onclick],
[onmousedown],
[onmouseup],
[data-click],
[data-action],
[data-toggle] {
    pointer-events: auto !important;
    cursor: pointer;
    touch-action: manipulation;
}

html,
body {
    width: 100%;
    height: 100%;
    background: var(--cor-fundo);
    color: var(--cor-texto);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow: hidden;
}

.maintenance-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0078D7 !important;
    pointer-events: auto;
}

.maintenance-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.maintenance-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: auto;
    user-drag: none;
    -webkit-user-drag: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    touch-action: manipulation;
    cursor: pointer;
}

.maintenance-image.zoomed {
    position: fixed !important;
    width: auto !important;
    height: 90vh !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    transform: translate(-50%, -50%) scale(1.2) !important;
    z-index: 9999 !important;
    background: transparent;
    pointer-events: auto !important;
}

.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: none;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.zoom-overlay-dark {
    background: rgba(0, 120, 215, 0.85);
}


@media (max-width: 480px) {
    .maintenance-image {
        width: 100%;
        height: auto;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .maintenance-image.zoomed {
        width: auto !important;
        height: 85vh !important;
        max-width: 95vw !important;
        max-height: 85vh !important;
        transform: translate(-50%, -50%) scale(1.1) !important;
    }

    .zoom-overlay {
        touch-action: manipulation;
    }
}

@media (orientation: portrait) {
    .maintenance-image {
        width: auto;
        height: 100%;
    }
}

@media (orientation: landscape) {
    .maintenance-image {
        width: 100%;
        height: auto;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --cor-fundo: #000000;
        --cor-texto: #ffffff;
    }
}

@media (prefers-color-scheme: light) {
    :root {
        --cor-fundo: #ffffff;
        --cor-texto: #000000;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}