/* style.css */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#sidebar-label {
    scroll-margin-top: 20px;
}

#visit-count {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #0d6efd;
}

.reset-icon {
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: 0.2s;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #fff;
}

.reset-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.note-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    line-height: 1.8;
    color: #333;
}

.main-card {
    border-radius: 15px;
}

.chapter-item {
    cursor: pointer;
    transition: 0.15s;
    border-bottom: 1px solid #f1f1f1;
}

.chapter-item:hover {
    background-color: #f0f7ff;
}

.chapter-item.active {
    background-color: #e7f3ff;
    border-left: 5px solid #0d6efd;
}

.time-badge {
    min-width: 90px;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.highlight {
    background-color: #fff3cd;
    font-weight: bold;
    padding: 0 2px;
    border-radius: 3px;
}

.episode-link-icon {
    font-size: 1.3rem;
    color: #6c757d;
    vertical-align: middle;
    margin-left: 8px;
}

.episode-link-icon:hover {
    color: #0d6efd;
}

.pagination-bar {
    background: white;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.sidebar-card {
    border-radius: 12px;
    border: 1px solid #eee;
    transition: 0.2s;
    cursor: pointer;
    background-color: #fff;
    padding: 18px 22px !important;
}

.sidebar-card:hover {
    border-color: #0d6efd;
    transform: translateY(-2px);
    background-color: #fcfdff;
}

.sidebar-card .fw-bold {
    margin-bottom: 6px;
    display: block;
}