html,
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    background-color: #ccc;
}

.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flipbook {
    width: 100%;
    height: auto;
    max-width: 100vw;
    max-height: 100vh;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.flipbook .page {
    width: 100%;
    height: 100%;
    background-color: white;
    background-size: cover;
    background-position: center;
}

/* Estilos responsivos para imágenes tamaño carta */
.flipbook img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    gap: 10px;
    /* Espaciado entre botones */
}

.controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center; /* ✅ Este centra horizontalmente el contenido */
    text-align: center;
    font-size: 16px; /* Opcional: ajusta tamaño del ícono */
    background-color: #fff; /* Opcional: color de fondo */
    border: 1px solid #ccc; /* Opcional: borde */
    cursor: pointer;
}