/* Reset e Variáveis */
:root {
    --primary-color: #2c5f8d;
    --primary-dark: #1e4466;
    --primary-light: #3d7ab5;
    --secondary-color: #d4af37;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-light: #6b6b6b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --border-color: #dee2e6;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    --font-serif: 'Merriweather', Georgia, serif;
    --font-sans: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-serif);
    flex: 1;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

.nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
}

.nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--primary-dark);
    border-radius: 0 0 12px 12px;
    padding: 1rem;
    min-width: 200px;
    box-shadow: var(--shadow-md);
    z-index: 99;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-menu.mobile-open {
    display: flex;
}

.nav-menu .nav-btn {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-menu .nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.nav {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Main Content */
.main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

/* Search Section */
.search-section {
    margin-bottom: 2rem;
}

.search-container {
    display: flex;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: var(--transition);
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 95, 141, 0.1);
}

.search-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.search-btn svg {
    width: 20px;
    height: 20px;
}

/* Content Wrapper */
.content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Sidebar */
.sidebar {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.sidebar-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-serif);
}

.close-sidebar {
    display: none;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.close-sidebar:hover {
    color: var(--primary-color);
}

.close-sidebar svg {
    width: 24px;
    height: 24px;
}

.testament-section {
    margin-bottom: 2rem;
}

.testament-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-tertiary);
}

.books-list {
    list-style: none;
}

.book-item {
    padding: 0.75rem 1rem;
    margin-bottom: 0.25rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.book-item:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
    transform: translateX(5px);
}

.book-item.active {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

/* Reading Area */
.reading-area {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    min-height: 600px;
}

/* Welcome Screen */
.welcome-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.welcome-content {
    text-align: center;
    max-width: 600px;
}

.welcome-icon {
    width: 80px;
    height: 80px;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.welcome-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}

.welcome-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature svg {
    width: 32px;
    height: 32px;
    color: var(--secondary-color);
}

.feature span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Book Screen */
.book-screen {
    animation: fadeIn 0.3s ease;
}

.book-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--bg-tertiary);
}

.book-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
}

.book-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 1rem;
}

.chapter-btn {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.chapter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Chapter Screen */
.chapter-screen {
    animation: fadeIn 0.3s ease;
}

.chapter-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--bg-tertiary);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.back-btn:hover {
    background: var(--bg-tertiary);
    color: var(--primary-color);
}

.back-btn svg {
    width: 18px;
    height: 18px;
}

.chapter-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}

.chapter-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.chapter-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.chapter-nav-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.chapter-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chapter-nav-btn svg {
    width: 18px;
    height: 18px;
}

.chapter-select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

.chapter-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Verses Container */
.verses-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.verse {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    transition: var(--transition);
    align-items: flex-start;
}

.verse:hover {
    background: var(--bg-secondary);
}

.verse-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
}

.verse-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-family: var(--font-serif);
}

.verse-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.verse-action-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: var(--transition);
}

.verse-action-btn:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.verse-action-btn svg {
    width: 20px;
    height: 20px;
}

.verse-action-btn.active {
    color: #e74c3c;
}

/* Chapter Actions */
.chapter-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-tertiary);
}

/* Share Button */
.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    color: var(--text-primary);
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: #c9a227;
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

/* Search Screen */
.search-screen {
    animation: fadeIn 0.3s ease;
}

.search-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--bg-tertiary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-serif);
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-result {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.search-result:hover {
    background: var(--bg-tertiary);
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.search-result-reference {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.search-result-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-family: var(--font-serif);
}

.search-result-text .highlight {
    background: var(--secondary-color);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.no-results svg {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Study Screen */
.study-screen {
    animation: fadeIn 0.3s ease;
}

.study-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--bg-tertiary);
}

.study-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
}

.study-header p {
    font-size: 1rem;
    color: var(--text-light);
}

.study-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.study-tab-btn {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.study-tab-btn:hover {
    color: var(--primary-color);
}

.study-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.study-content {
    min-height: 400px;
}

.study-tab-content {
    display: none;
}

.study-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.selected-verses-list {
    margin-bottom: 2rem;
}

.selected-verse {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.selected-verse-ref {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.selected-verse-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-family: var(--font-serif);
}

.study-notes {
    width: 100%;
    min-height: 300px;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 1.5rem;
}

.study-notes:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 95, 141, 0.1);
}

.favorites-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.empty-message {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-style: italic;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    animation: fadeIn 0.3s ease;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.modal-close svg {
    width: 24px;
    height: 24px;
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
}

.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    color: var(--text-secondary);
}

.share-option:hover {
    border-color: var(--primary-color);
    background: var(--bg-tertiary);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.share-option svg {
    width: 32px;
    height: 32px;
}

.share-preview {
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-height: 200px;
    overflow-y: auto;
    word-break: break-word;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

.footer p {
    margin: 0.25rem 0;
    opacity: 0.9;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-tertiary);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-overlay p {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 250px 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        order: -1;
    }

    .nav-toggle {
        display: block;
        order: 1;
    }

    .header-content {
        gap: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    #nav-desktop {
        display: none !important;
    }

    #nav-desktop.mobile-open {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        padding: 1rem;
        gap: 0.5rem;
        border-radius: 0 0 12px 12px;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        right: 10px;
        width: auto;
        min-width: 180px;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        max-height: none;
        border-radius: 0;
        z-index: 99;
        transition: left 0.3s ease;
        top: 0;
        padding-top: 5rem;
    }

    .sidebar.mobile-open {
        left: 0;
    }

    .close-sidebar {
        display: block;
    }

    .search-container {
        flex-direction: column;
    }

    .chapters-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }

    .chapter-nav {
        flex-wrap: wrap;
    }

    .reading-area {
        padding: 1.5rem;
    }

    .welcome-content h2 {
        font-size: 1.5rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .book-header h2 {
        font-size: 1.75rem;
    }

    .chapter-info h2 {
        font-size: 1.5rem;
    }

    .study-tabs {
        flex-wrap: wrap;
    }

    .study-tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .share-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.25rem;
    }

    .logo-icon {
        width: 24px;
        height: 24px;
    }

    .book-header h2 {
        font-size: 1.5rem;
    }

    .chapter-info h2 {
        font-size: 1.25rem;
    }

    .verse-text {
        font-size: 1rem;
    }

    .verse {
        gap: 0.75rem;
    }

    .verse-number {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .chapter-nav-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .search-btn {
        padding: 0.75rem 1.5rem;
    }

    .modal-content {
        padding: 1.5rem;
    }

    .modal-content h3 {
        font-size: 1.25rem;
    }
}

/* Scrollbar Styling */
.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

.study-notes::-webkit-scrollbar {
    width: 8px;
}

.study-notes::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.study-notes::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.study-notes::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}


/* Version Selector */
.version-selector-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.version-selector-container label {
    font-weight: 600;
    color: var(--text-primary);
}

.version-selector {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-sans);
}

.version-selector:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 95, 141, 0.1);
}

.version-selector:hover {
    border-color: var(--primary-color);
}

.current-version {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}
