/* --- ESTILOS GERAIS E DE FUNDO --- */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; 
    font-family: sans-serif;
}

body {
    /* ALTERAÇÃO AQUI: Trocamos o cinza claro por um tom mais escuro */
    background-color: #525252; 
}


.contentIframeClass {
	width: 100vw;
	height: 100vh;
	border: none;
	display: block;
}


/* --- ELEMENTOS DA INTERFACE (Setas, Barra Inferior, etc.) --- */
.prev, .next {
    cursor: pointer;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: #333;
    font-size: 28px;
    transition: 0.3s ease;
    user-select: none;
    z-index: 1001;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover { background-color: rgba(0,0,0,0.1); }

.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /* ALTERAÇÃO AQUI: Conforme você mencionou */
    height: 40px; 
    background-color: rgba(34, 34, 34, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    gap: 20px;
}

.icon-button {
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.icon-button:hover { background-color: rgba(80, 80, 80, 0.9); }

#thumbnail-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    overflow-y: scroll;
    padding: 40px 20px;
    box-sizing: border-box;
}

#thumbnail-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.thumbnail-image {
    width: 150px;
    height: auto;
    border: 2px solid #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
}

.thumbnail-image:hover {
    border-color: #4a90e2;
    transform: scale(1.05);
}

/* --- ESTILO PARA O DISPLAY DE ZOOM --- */
#zoom-display {
    color: white;
    font-size: 16px;
    font-family: sans-serif;
    font-weight: bold;
    min-width: 55px;
    text-align: center;
    padding: 0 10px;
    user-select: none;
    cursor: default;
}