/* ============================================
   Bear Manga - Reader Page
   ============================================ */

.reader-page {
    background: #000;
}

/* Top Nav */
.reader-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(30, 30, 30, 0.95);
    border-bottom: 1px solid #333;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reader-nav a {
    color: #ccc;
}

.reader-nav a:hover {
    color: var(--accent);
}

.reader-title {
    color: #fff;
    font-size: 14px;
    max-width: 400px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reader-chapter {
    color: #888;
    font-size: 12px;
}

/* Reader Container */
.reader-container {
    padding: 60px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-item {
    margin-bottom: 5px;
    text-align: center;
}

.page-item img {
    max-width: 100%;
    height: auto;
}

.page-num {
    color: #555;
    font-size: 12px;
    padding: 5px;
}

/* Bottom Nav */
.reader-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(30, 30, 30, 0.95);
    border-top: 1px solid #333;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-btn {
    padding: 8px 15px;
    background: #333;
    border: 1px solid #444;
    color: #ccc;
}

.nav-btn:hover {
    background: #444;
    color: #fff;
}

.nav-btn.disabled {
    opacity: 0.4;
    cursor: default;
}

.page-indicator {
    color: #fff;
    font-size: 14px;
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    height: 3px;
    background: #222;
    z-index: 99;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.1s;
}

/* Responsive */
@media (max-width: 768px) {
    .reader-title {
        max-width: 200px;
        font-size: 12px;
    }

    .nav-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
}