/**
 * Tiedosto: assets/css/reader_ui.css (Versio 2.0 - Safe Mode)
 * Kuvaus: Vain navigointipainikkeet. Ei vaikuta lehden asetteluun.
 * Tekijä: Markus Haapasaari / Kaupunkilehti Kalajokinen
 * Tehty <3 Kalajoella
 */

.nav-btn {
    position: fixed; /* Kiinnitetään ruutuun, ei lehteen */
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 9999; /* Varmasti kaiken päällä */

    background: rgba(0, 0, 0, 0.5); /* Tumma läpinäkyvä */
    backdrop-filter: blur(4px);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;

    /* Estetään valinta mobiilissa */
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.nav-btn:hover {
    background: rgba(0, 86, 179, 0.9); /* Sininen hover */
    transform: translateY(-50%) scale(1.1);
}

.nav-prev { left: 20px; }
.nav-next { right: 20px; }

/* SVG Ikonin koko */
.nav-icon {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Mobiilissa hieman pienemmät napit, mutta edelleen käytettävät */
@media (max-width: 768px) {
    .nav-btn {
        width: 50px;
        height: 50px;
        background: rgba(0, 0, 0, 0.3); /* Vähemmän peittävä */
    }
    .nav-prev { left: 10px; }
    .nav-next { right: 10px; }
}
