#global-offline-banner {
    background-color: #ef4444;
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}



button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
}

button:hover {
    background: #1d4ed8;
}

#main-content {
    padding: 1rem;
    max-width: 800px;
    margin: 0 auto;
}



.book-chapter-selection {
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.book-chapter-selection h2 {
    text-align: center;
    color: #2563eb;
    margin-bottom: 2rem;
}

.selection-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.book-selection,
.chapter-selection {
    display: flex;
    flex-direction: column;
}

.book-selection label,
.chapter-selection label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.book-selection select,
.chapter-selection select {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: white;
    font-size: 1rem;
    width: 100%;
}

@media (max-width: 768px) {
    .selection-controls {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .parallel-options {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .view-toggle {
        width: 100%;
        max-width: 300px;
    }
    
    .view-toggle button {
        flex: 1;
    }

    .offline-panel {
        padding: 1.25rem;
    }
}

.verse {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.verse-number {
    font-weight: bold;
    color: #6b7280;
    margin-right: 0.25rem;
    font-size: 0.875rem;
}

.note-indicator {
    cursor: pointer;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
    font-size: 0.8rem;
    vertical-align: super;
    opacity: 0.7;
}

/* Inline verse notes styling */
.inline-note-container {
    margin: 0.25rem 0 0.5rem 0;
    padding: 0.5rem 0.75rem;
    background-color: #fff7ed; /* amber-50 */
    border-left: 3px solid #f59e0b; /* amber-500 */
    border-radius: 0.25rem;
    color: #92400e; /* amber-800 */
    font-style: italic;
    font-size: 0.95rem;
}

.inline-note-item {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.inline-note-text {
    flex: 1 1 auto;
}

.edit-note-btn {
    flex: 0 0 auto;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    opacity: 0.8;
}

.edit-note-btn:hover {
    opacity: 1;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

.chapter-header {
    margin-bottom: 1rem;
    text-align: center;
}

.chapter-navigation-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.chapter-navigation-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.chapter-title-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    gap: 1rem;
    flex-wrap: wrap;
}

.chapter-title-row h2 {
    margin: 0;
    color: #2563eb;
    text-align: center;
}

.nav-btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    min-width: 100px;
    white-space: nowrap;
}

.nav-prev {
    text-align: left;
}

.nav-next {
    text-align: right;
}

#translation-switcher {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background: white;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    min-width: 80px;
}

@media (max-width: 768px) {
    .chapter-navigation-top {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .chapter-navigation-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .chapter-title-row {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
    
    .nav-btn {
        min-width: 80px;
        padding: 0.5rem 0.75rem;
    }
}

.chapter-menu {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.menu-btn {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #d1d5db;
    padding: 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.chapter-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 100;
    min-width: 180px;
    margin-top: 0.25rem;
}

.floating-chapter-menu {
    position: fixed;
    top: 50px;
    right: 20px;
    z-index: 1050;
}

.floating-chapter-menu .chapter-menu-dropdown {
    position: static;
    margin-top: 0;
    animation: fadeIn 0.2s ease-out;
}



.parallel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
}

.parallel-header h2 {
    margin: 0;
}

.parallel-header .chapter-menu {
    margin-left: 1rem;
}

.chapter-menu-dropdown button {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
    background: none;
    border: none;
    color: #374151;
    cursor: pointer;
    font-size: 0.875rem;
    border-radius: 0;
}

.chapter-menu-dropdown button:hover {
    background: #f3f4f6;
}

.chapter-menu-dropdown button:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.chapter-menu-dropdown button:last-child {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.theme-dark .menu-btn {
    background: #4b5563;
    color: #d1d5db;
    border-color: #6b7280;
}

.theme-dark .menu-btn:hover {
    background: #6b7280;
    color: #f9fafb;
}

.theme-dark .chapter-menu-dropdown {
    background: #374151;
    border-color: #4b5563;
}

.theme-dark .chapter-menu-dropdown button {
    color: #f9fafb;
}

.theme-dark .chapter-menu-dropdown button:hover {
    background: #4b5563;
}

.parallel-controls {
    margin-bottom: 1rem;
}

.parallel-controls h2 {
    text-align: center;
    color: #2563eb;
    margin-bottom: 1rem;
}

.parallel-options {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.view-toggle {
    display: flex;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    overflow: hidden;
}

.view-toggle button {
    padding: 0.5rem 1rem;
    border: none;
    background: white;
    color: #6b7280;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.view-toggle button.active {
    background: #2563eb;
    color: white;
}

.view-toggle button:hover:not(.active) {
    background: #f3f4f6;
}

.parallel-view.side-by-side {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.parallel-view.verse-by-verse {
    max-width: 800px;
    margin: 0 auto;
}

.verse-group {
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
}

.verse-number-header {
    background: #f8fafc;
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}

.verse-number-header .verse-number {
    font-weight: bold;
    font-size: 1.1rem;
    color: #2563eb;
}

.verse-translations {
    padding: 1rem;
}

.verse-translation {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.verse-translation:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.translation-name {
    font-weight: 600;
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.verse-translation .verse-text {
    line-height: 1.6;
    color: #374151;
}

.translation-column {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
}

.translation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.remove-translation {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 0.75rem;
}

.remove-translation:hover {
    background: #dc2626;
}

.parallel-verse {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    padding: 0.25rem;
    border-radius: 0.25rem;
}

.parallel-verse:hover {
    background: #f8fafc;
}

select {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background: white;
}

.verse-clickable {
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.verse-clickable:hover {
    background-color: #e0f2fe;
}

.cross-references {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    max-width: 500px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.cross-ref-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.cross-ref-item {
    padding: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
}

.cross-ref-item:hover {
    background: #f8fafc;
}

.cross-ref-item:last-child {
    border-bottom: none;
}

.cross-ref-reference {
    font-weight: 600;
    color: #2563eb;
}

.cross-ref-votes {
    font-size: 0.75rem;
    color: #6b7280;
    margin-left: 0.5rem;
}

.summary-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.summary-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    max-width: 500px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 90%;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.summary-header h3 {
    color: #2563eb;
    margin: 0;
}

.close-btn {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-content p {
    line-height: 1.6;
    color: #374151;
    margin-bottom: 1rem;
}

.summary-stats {
    color: #6b7280;
    font-style: italic;
}

.display-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.display-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.offline-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1100;
}

.offline-panel {
    background: #ffffff;
    color: #1f2933;
    border-radius: 0.75rem;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
    padding: 1.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.offline-header h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e3a8a;
}

.offline-description {
    font-size: 0.95rem;
    color: #475569;
}

.offline-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.offline-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.offline-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #1f2937;
}

.offline-card {
    background: rgba(37, 99, 235, 0.05);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.offline-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.offline-card-title {
    font-weight: 600;
    font-size: 1rem;
    color: #1f2937;
}

.offline-card-meta {
    font-size: 0.85rem;
    color: #475569;
}

.offline-card-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.25rem;
    color: inherit;
    transition: color 0.2s ease;
}

.icon-btn:hover {
    color: #2563eb;
}

.icon-btn:disabled {
    opacity: 0.4;
    cursor: default;
    color: #94a3b8;
}

.offline-status {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.offline-status.installed {
    background: #dcfce7;
    color: #166534;
}

.offline-status.downloading {
    background: #fef3c7;
    color: #92400e;
}

.offline-empty {
    border: 1px dashed rgba(37, 99, 235, 0.35);
    border-radius: 0.75rem;
    padding: 1rem;
    font-size: 0.9rem;
    color: #475569;
    text-align: center;
}

.offline-error {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: #b91c1c;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
}

.offline-status {
    font-size: 0.85rem;
    font-weight: 600;
}

.offline-status.installed {
    color: #15803d;
}

.display-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.display-header h3 {
    color: #2563eb;
    margin: 0;
}

.setting-group {
    margin-bottom: 1.5rem;
}

.setting-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.font-size-controls,
.theme-controls {
    display: flex;
    gap: 0.5rem;
}

.font-size-controls button,
.theme-controls button {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
}

.font-size-controls button.active,
.theme-controls button.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

:root {
    --font-size: 16px;
}

.verse-text {
    font-size: var(--font-size);
    line-height: calc(var(--font-size) * 1.6);
}

.font-size-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #d1d5db;
    outline: none;
    -webkit-appearance: none;
}

.font-size-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2563eb;
    cursor: pointer;
}

.font-size-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2563eb;
    cursor: pointer;
    border: none;
}

/* Theme Classes */
.theme-dark {
    background-color: #1f2937;
    color: #f9fafb;
}

.theme-dark #main-content {
    background-color: #1f2937;
}

.theme-dark .verse {
    color: #f9fafb;
}

.theme-dark .verse-number {
    color: #9ca3af;
}

.theme-dark .chapter-header h2 {
    color: #60a5fa;
}

.theme-dark button {
    background: #374151;
    color: #f9fafb;
    border-color: #4b5563;
}

.theme-dark button:hover {
    background: #4b5563;
}

.theme-dark button:disabled {
    background: #6b7280;
    color: #9ca3af;
}

.theme-dark select {
    background: #374151;
    color: #f9fafb;
    border-color: #4b5563;
}

.theme-dark .translation-section select {
    background: #374151;
    color: #f9fafb;
    border-color: #4b5563;
}

.theme-dark .home-page {
    color: #f9fafb;
}

.theme-dark .welcome-section h2 {
    color: #60a5fa;
}

.theme-dark .display-panel,
.theme-dark .summary-panel,
.theme-dark .cross-references {
    background: #374151;
    color: #f9fafb;
}

.theme-dark .offline-panel {
    background: #1f2937;
    color: #f9fafb;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.6);
}

.theme-dark .offline-card {
    background: rgba(59, 130, 246, 0.12);
}

.theme-dark .offline-card-title {
    color: #f1f5f9;
}

.theme-dark .offline-card-meta,
.theme-dark .offline-card-details {
    color: #cbd5f5;
}

.theme-dark .offline-empty {
    border-color: rgba(59, 130, 246, 0.35);
    color: #cbd5f5;
}

.theme-dark .offline-error {
    background: rgba(248, 113, 113, 0.15);
    border-color: rgba(248, 113, 113, 0.35);
    color: #fecaca;
}

.theme-dark .offline-banner {
    background: rgba(34, 197, 94, 0.22);
    border-color: rgba(34, 197, 94, 0.4);
    color: #bbf7d0;
}

.theme-dark .display-header,
.theme-dark .summary-header {
    border-color: #4b5563;
}

.theme-dark .display-header h3,
.theme-dark .summary-header h3 {
    color: #60a5fa;
}

/* Dark theme for parallel/comparison view */
.theme-dark .parallel-controls {
    color: #f9fafb;
}

.theme-dark .parallel-controls h2 {
    color: #60a5fa;
}

.theme-dark .translation-column {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}

.theme-dark .translation-header {
    border-color: #4b5563;
}

.theme-dark .translation-header h3 {
    color: #60a5fa;
}

.theme-dark .parallel-verse {
    color: #f9fafb;
}

.theme-dark .parallel-verse:hover {
    background: #4b5563;
}

.theme-dark .parallel-verse .verse-number {
    color: #9ca3af;
}

/* Dark theme for verse-by-verse view */
.theme-dark .verse-group {
    background: #374151;
    border-color: #4b5563;
}

.theme-dark .verse-number-header {
    background: #4b5563;
    border-color: #6b7280;
}

.theme-dark .verse-number-header .verse-number {
    color: #60a5fa;
}

.theme-dark .verse-translation {
    border-color: #4b5563;
}

.theme-dark .translation-name {
    color: #9ca3af;
}

.theme-dark .verse-translation .verse-text {
    color: #f9fafb;
}

/* Dark theme for book/chapter selection */
.theme-dark .book-chapter-selection {
    color: #f9fafb;
}

.theme-dark .book-chapter-selection h2 {
    color: #60a5fa;
}

.theme-dark .book-selection label,
.theme-dark .chapter-selection label {
    color: #f9fafb;
}

/* Dark theme for search results */
.theme-dark .search-results {
    color: #f9fafb;
}

.theme-dark .search-result {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}

.theme-dark .search-result:hover {
    border-color: #60a5fa;
    background: #4b5563;
}

.theme-dark .result-reference {
    color: #60a5fa;
}

.theme-dark .result-text {
    color: #f9fafb;
}

/* Dark theme for resume section */
.theme-dark .resume-section {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}

.theme-dark .resume-section h3 {
    color: #60a5fa;
}

.theme-dark .resume-section p {
    color: #d1d5db;
}

/* Dark theme for navigation buttons */
.theme-dark .nav-btn {
    background: #374151;
    color: #f9fafb;
    border-color: #4b5563;
}

.theme-dark .nav-btn:hover:not(:disabled) {
    background: #4b5563;
}

.theme-dark .nav-btn:disabled {
    background: #6b7280;
    color: #9ca3af;
}

/* Dark theme for chapter navigation */
.theme-dark .chapter-navigation-bottom {
    border-color: #4b5563;
}

/* Dark theme for view toggle buttons */
.theme-dark .view-toggle {
    border-color: #4b5563;
}

.theme-dark .view-toggle button {
    background: #374151;
    color: #d1d5db;
}

.theme-dark .view-toggle button.active {
    background: #60a5fa;
    color: #1f2937;
}

.theme-dark .view-toggle button:hover:not(.active) {
    background: #4b5563;
}

/* Dark theme for loading states */
.theme-dark .loading {
    color: #d1d5db;
}

/* Dark theme for translation switcher */
.theme-dark #translation-switcher {
    background: #374151;
    color: #60a5fa;
    border-color: #4b5563;
}

.text-selection-menu {
    position: absolute;
    z-index: 1001;
}

.selection-menu-dropdown {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    min-width: 150px;
}

.selection-menu-dropdown button {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
    background: none;
    border: none;
    color: #374151;
    cursor: pointer;
    font-size: 0.875rem;
    border-radius: 0;
}

.selection-menu-dropdown button:hover {
    background: #f3f4f6;
}

.selection-menu-dropdown button:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.selection-menu-dropdown button:last-child {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.theme-dark .selection-menu-dropdown {
    background: #374151;
    border-color: #4b5563;
}

.theme-dark .selection-menu-dropdown button {
    color: #f9fafb;
}

.theme-dark .selection-menu-dropdown button:hover {
    background: #4b5563;
}

/* Commentary Overlay */
.commentary-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1002; /* Higher than verse menu */
}

.commentary-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1003;
}

.commentary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.commentary-header h3 {
    color: #2563eb;
    margin: 0;
    font-size: 1.1rem;
}

.commentary-content {
    overflow-y: auto;
    line-height: 1.7;
    color: #374151;
}

.commentary-content .error-text {
    color: #ef4444;
    font-style: italic;
}

.theme-dark .commentary-panel {
    background: #374151;
    color: #f9fafb;
}

.theme-dark .commentary-header {
    border-color: #4b5563;
}

.theme-dark .commentary-header h3 {
    color: #60a5fa;
}

.theme-dark .commentary-content {
    color: #f9fafb;
}

.theme-dark .commentary-content .error-text {
    color: #f87171;
}

.verse-text {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.selected-text {
    background-color: #dbeafe;
    border-radius: 0.25rem;
}

.search-results {
    margin-top: 1rem;
}

.search-result {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.search-result:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.result-reference {
    font-weight: 600;
    color: #2563eb;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.result-text {
    line-height: 1.6;
    color: #374151;
}

.home-page {
    max-width: 500px;
    margin: 2rem auto;
    text-align: center;
}

.offline-banner {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #15803d;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
}

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

.welcome-section h2 {
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.welcome-section p {
    color: #6b7280;
    font-size: 1.1rem;
}

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

.home-page .translation-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
}

.translation-section label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.translation-section select {
    width: 100%;
    max-width: 300px;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: white;
    font-size: 1rem;
}

.action-section {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.primary-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.primary-btn:hover {
    background: #1d4ed8;
}

.secondary-btn {
    background: #6b7280;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.secondary-btn:hover {
    background: #4b5563;
}

.small-btn {
    background: #6b7280;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    cursor: pointer;
    margin: 0 0.25rem;
}

.small-btn:hover {
    background: #4b5563;
}

.random-verse-section {
    margin-top: 2rem;
    padding: 2rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    text-align: center;
}

.verse-flipper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.flip-display {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: white;
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.flip-display.flipping {
    transform: rotateY(180deg);
}

.flip-content {
    animation: none;
}

.flipping .flip-content {
    animation: pageFlip 0.3s ease-in-out;
}

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

@keyframes pageFlip {
    0% { transform: scaleX(1); }
    50% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

.random-verse-result {
    margin-top: 1rem;
    max-width: 500px;
}

.random-verse-content {
    padding: 1.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    text-align: center;
}

.verse-reference {
    font-weight: bold;
    color: #2563eb;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.random-verse-content .verse-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 1rem;
    font-style: italic;
}

.verse-translation {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Dark theme for random verse */
.theme-dark .random-verse-section {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}

.theme-dark .flip-display {
    background: #4b5563;
    border-color: #6b7280;
}

.theme-dark .random-verse-content {
    background: #4b5563;
    border-color: #6b7280;
    color: #f9fafb;
}

.theme-dark .verse-reference {
    color: #60a5fa;
}

.theme-dark .random-verse-content .verse-text {
    color: #f9fafb;
}

.theme-dark .verse-translation {
    color: #d1d5db;
}

/* Favorite Verses Styling */
.favorites-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.favorites-page h2 {
    text-align: center;
    color: #2563eb;
    margin-bottom: 2rem;
}

.no-favorites {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

.no-favorites p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.favorite-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.favorite-reference {
    font-weight: bold;
    color: #2563eb;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.favorite-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.favorite-translation {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.favorite-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.remove-btn {
    background: #ef4444 !important;
}

.remove-btn:hover {
    background: #dc2626 !important;
}

.favorites-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

/* Dark theme for favorites */
.theme-dark .favorites-page {
    color: #f9fafb;
}

.theme-dark .favorites-page h2 {
    color: #60a5fa;
}

.theme-dark .no-favorites {
    color: #d1d5db;
}

.theme-dark .favorite-item {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}

.theme-dark .favorite-reference {
    color: #60a5fa;
}

.theme-dark .favorite-text {
    color: #f9fafb;
}

.theme-dark .favorite-translation {
    color: #d1d5db;
}

.theme-dark .favorites-actions {
    border-color: #4b5563;
}

@media (max-width: 768px) {
    .favorite-actions {
        justify-content: center;
    }
    
    .favorites-actions {
        flex-direction: column;
        align-items: center;
    }
}

.resume-section {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.resume-section h3 {
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.resume-section p {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.selector-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.selector-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.selector-header h3 {
    color: #2563eb;
    margin: 0;
}

.selector-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.selector-content .book-selection,
.selector-content .chapter-selection {
    display: flex;
    flex-direction: column;
}

.selector-content label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.selector-content select {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: white;
    font-size: 1rem;
    width: 100%;
}

.theme-dark .selector-panel {
    background: #374151;
    color: #f9fafb;
}

.theme-dark .selector-header {
    border-color: #4b5563;
}

.theme-dark .selector-header h3 {
    color: #60a5fa;
}

.theme-dark .selector-content label {
    color: #f9fafb;
}

.theme-dark .selector-content select {
    background: #4b5563;
    color: #f9fafb;
    border-color: #6b7280;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.search-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.search-header h3 {
    color: #2563eb;
    margin: 0;
}

.search-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-content input {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    width: 100%;
}

.search-content input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.theme-dark .search-panel {
    background: #374151;
    color: #f9fafb;
}

.theme-dark .search-header {
    border-color: #4b5563;
}

.theme-dark .search-header h3 {
    color: #60a5fa;
}

.theme-dark .search-content input {
    background: #4b5563;
    color: #f9fafb;
    border-color: #6b7280;
}

.theme-dark .search-content input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.note-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.note-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.note-header h3 {
    color: #2563eb;
    margin: 0;
    font-size: 1.1rem;
}

.note-content .selected-text {
    background: #f3f4f6;
    padding: 0.75rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    font-style: italic;
    color: #4b5563;
}

.note-content textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 1rem;
}

.note-content textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.note-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.notes-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.notes-page h2 {
    text-align: center;
    color: #2563eb;
    margin-bottom: 2rem;
}

.no-notes {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

.no-notes p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.notes-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.note-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.note-reference {
    font-weight: bold;
    color: #2563eb;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.note-selected-text {
    background: #f3f4f6;
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-style: italic;
    color: #4b5563;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.note-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 0.75rem;
    white-space: pre-wrap;
}

.note-translation {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.note-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.notes-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.theme-dark .note-panel {
    background: #374151;
    color: #f9fafb;
}

.theme-dark .note-header {
    border-color: #4b5563;
}

.theme-dark .note-header h3 {
    color: #60a5fa;
}

.theme-dark .note-content .selected-text {
    background: #4b5563;
    color: #d1d5db;
}

.theme-dark .note-content textarea {
    background: #4b5563;
    color: #f9fafb;
    border-color: #6b7280;
}

.theme-dark .note-content textarea:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.theme-dark .notes-page {
    color: #f9fafb;
}

.theme-dark .notes-page h2 {
    color: #60a5fa;
}

.theme-dark .no-notes {
    color: #d1d5db;
}

.theme-dark .note-item {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}

.theme-dark .note-reference {
    color: #60a5fa;
}

.theme-dark .note-selected-text {
    background: #4b5563;
    color: #d1d5db;
}

.theme-dark .note-text {
    color: #f9fafb;
}

.theme-dark .note-translation {
    color: #d1d5db;
}

.theme-dark .notes-actions {
    border-color: #4b5563;
}

/* Authentication Styles */
.auth-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.user-info {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.user-info p {
    margin-bottom: 0.5rem;
    color: #374151;
}

.subscription-status {
    font-weight: 600;
    color: #059669;
}

.premium-btn {
    background: #f59e0b;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    margin: 0.5rem;
}

.premium-btn:hover {
    background: #d97706;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.auth-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 0.5rem;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.auth-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.auth-header h3 {
    color: #2563eb;
    margin: 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-form input {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.auth-form input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.auth-form button {
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.auth-form .auth-links {
    text-align: center;
    color: #6b7280;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.auth-form .auth-description {
    text-align: center;
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.auth-form p {
    margin: 0;
}
.auth-form a {
    color: #2563eb;
    text-decoration: none;
}

.auth-form a:hover {
    text-decoration: underline;
}

/* Dark theme for auth */
.theme-dark .auth-section {
    border-color: #4b5563;
}

.theme-dark .user-info {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}

.theme-dark .user-info p {
    color: #f9fafb;
}

.theme-dark .auth-panel {
    background: #374151;
    color: #f9fafb;
}

.theme-dark .auth-header {
    border-color: #4b5563;
}

.theme-dark .auth-header h3 {
    color: #60a5fa;
}

.theme-dark .auth-form input {
    background: #4b5563;
    color: #f9fafb;
    border-color: #6b7280;
}

.theme-dark .auth-form input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.theme-dark textarea {
    background: #4b5563;
    color: #f9fafb;
    border-color: #6b7280;
}

.theme-dark textarea:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.theme-dark .auth-form p {
    color: #d1d5db;
}

.theme-dark .auth-form .auth-description {
    color: #d1d5db;
}

.theme-dark .auth-form a {
    color: #60a5fa;
}

.verification-info {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.verification-info p {
    margin: 0.5rem 0;
    color: #374151;
}

.theme-dark .verification-info {
    background: #4b5563;
    border-color: #6b7280;
}

.theme-dark .verification-info p {
    color: #f9fafb;
}

/* Home Menu Styles */
.home-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.home-menu {
    position: relative;
    display: inline-block;
}

.home-menu .menu-btn {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #d1d5db;
    padding: 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1.2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-menu .menu-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.home-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 100;
    min-width: 200px;
    margin-top: 0.5rem;
}

.menu-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0.5rem 0;
}

.user-menu-info {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    background: #f8fafc;
}

.user-email {
    display: block;
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
}

.user-status {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.home-menu-dropdown button {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
    background: none;
    border: none;
    color: #374151;
    cursor: pointer;
    font-size: 0.875rem;
    border-radius: 0;
}

.home-menu-dropdown button:hover {
    background: #f3f4f6;
}

.home-menu-dropdown button:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.home-menu-dropdown button:last-child {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.theme-dark .home-menu .menu-btn {
    background: #4b5563;
    color: #d1d5db;
    border-color: #6b7280;
}

.theme-dark .home-menu .menu-btn:hover {
    background: #6b7280;
    color: #f9fafb;
}

.theme-dark .home-menu-dropdown {
    background: #374151;
    border-color: #4b5563;
}

.theme-dark .home-menu-dropdown button {
    color: #f9fafb;
}

.theme-dark .home-menu-dropdown button:hover {
    background: #4b5563;
}

.theme-dark .menu-divider {
    background: #4b5563;
}

.theme-dark .user-menu-info {
    background: #4b5563;
    border-color: #6b7280;
}

.theme-dark .user-email {
    color: #f9fafb;
}

.theme-dark .user-status {
    color: #d1d5db;
}

/* Menu Section Styles */
.menu-section {
    border-bottom: 1px solid #e5e7eb;
    padding: 0.5rem 0;
}

.menu-section:last-child {
    border-bottom: none;
}

.menu-section-title {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f8fafc;
    border-bottom: 1px solid #f3f4f6;
}

.menu-section button {
    margin: 0;
    border-radius: 0;
}

.menu-section button:first-of-type {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.menu-section button:last-of-type {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.premium-locked {
    opacity: 0.7;
    position: relative;
}

.premium-locked:hover {
    background: #f59e0b !important;
    color: white !important;
}

/* Cloud Sync Page Styles */
.cloud-sync-page {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
}

.cloud-sync-page h2 {
    text-align: center;
    color: #2563eb;
    margin-bottom: 2rem;
}

.sync-status {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.sync-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.sync-data-types {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sync-data-types h3 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.data-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.data-type:last-child {
    border-bottom: none;
}

.sync-status-indicator {
    font-size: 0.875rem;
    color: #059669;
    font-weight: 500;
}

/* Dark theme for menu sections */
.theme-dark .menu-section {
    border-color: #4b5563;
}

.theme-dark .menu-section-title {
    color: #9ca3af;
    background: #4b5563;
    border-color: #6b7280;
}

.theme-dark .premium-locked:hover {
    background: #f59e0b !important;
    color: #1f2937 !important;
}

/* Dark theme for cloud sync */
.theme-dark .cloud-sync-page {
    color: #f9fafb;
}

.theme-dark .cloud-sync-page h2 {
    color: #60a5fa;
}

.theme-dark .sync-status {
    background: #1e3a8a;
    border-color: #3b82f6;
    color: #f9fafb;
}

.theme-dark .sync-data-types {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}

.theme-dark .sync-data-types h3 {
    color: #f9fafb;
}

.theme-dark .data-type {
    border-color: #4b5563;
}

.theme-dark .sync-status-indicator {
    color: #34d399;
}

/* Account Settings Styles */
.account-settings-page {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
}

.account-settings-page h2 {
    text-align: center;
    color: #2563eb;
    margin-bottom: 2rem;
}

.settings-section {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.settings-section h3 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.setting-item {
    margin-bottom: 1rem;
}

.setting-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    color: #374151;
}

.setting-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.setting-description {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-left: 1.5rem;
}

.account-info {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    padding: 1rem;
}

.account-info p {
    margin: 0.5rem 0;
    color: #374151;
}

/* Dark theme for account settings */
.theme-dark .account-settings-page {
    color: #f9fafb;
}

.theme-dark .account-settings-page h2 {
    color: #60a5fa;
}

.theme-dark .settings-section {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}

.theme-dark .settings-section h3 {
    color: #f9fafb;
}

.theme-dark .setting-label {
    color: #f9fafb;
}

.theme-dark .setting-description {
    color: #d1d5db;
}

.theme-dark .account-info {
    background: #4b5563;
    border-color: #6b7280;
}

.theme-dark .account-info p {
    color: #f9fafb;
}

/* Study Groups Styles */
.study-groups-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.study-groups-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.study-groups-header h2 {
    color: #2563eb;
    margin: 0;
}

.group-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.no-groups {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

.no-groups p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.groups-list {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.group-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.group-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.group-info h3 {
    color: #2563eb;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.group-info p {
    color: #6b7280;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.group-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.875rem;
}

.role-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.role-creator {
    background: #fef3c7;
    color: #92400e;
}

.role-admin {
    background: #dbeafe;
    color: #1e40af;
}

.role-member {
    background: #f3f4f6;
    color: #374151;
}

.group-card .group-actions {
    flex-shrink: 0;
}

.group-actions-inline {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.discussion-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    cursor: pointer;
    font-weight: 500;
}

.discussion-btn:hover {
    background: #059669;
}

.discussion-btn {
    position: relative;
}

.unread-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.group-hint-text {
    color: #6b7280;
    font-size: 0.75rem;
    font-style: italic;
}

.theme-dark .group-actions-inline {
    border-color: #4b5563;
}

.theme-dark .discussion-btn {
    background: #059669;
}

.theme-dark .discussion-btn:hover {
    background: #047857;
}

.theme-dark .group-hint-text {
    color: #9ca3af;
}

/* Group Dialog Styles */
.group-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.group-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 0.5rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.group-header h3 {
    color: #2563eb;
    margin: 0;
}

.group-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.group-form input,
.group-form textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    resize: vertical;
}

.group-form input:focus,
.group-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.group-form button {
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.group-form p {
    text-align: center;
    color: #6b7280;
    margin: 0;
    font-size: 0.875rem;
}

/* Invite Dialog Styles */
.invite-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.invite-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 0.5rem;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.invite-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.invite-header h3 {
    color: #2563eb;
    margin: 0;
}

.invite-content {
    text-align: center;
}

.invite-code-display {
    margin-bottom: 1.5rem;
}

.invite-code-display label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.code-box {
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
    letter-spacing: 0.2em;
}

.qr-code-container {
    margin-bottom: 1.5rem;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qr-pattern {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #2563eb 25%, transparent 25%), 
                linear-gradient(-45deg, #2563eb 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #2563eb 75%), 
                linear-gradient(-45deg, transparent 75%, #2563eb 75%);
    background-size: 10px 10px;
    background-position: 0 0, 0 5px, 5px -5px, -5px 0px;
    margin-bottom: 0.5rem;
}

.qr-text {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
}

.invite-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Group Discussion Styles */
.group-discussion-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.discussion-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.back-btn {
    background: #6b7280;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.back-btn:hover {
    background: #4b5563;
}

.discussion-header h2 {
    color: #2563eb;
    margin: 0;
}

.posts-container {
    margin-bottom: 2rem;
}

.no-posts {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

.posts-panel {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.post-message {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.post-message:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.post-message.own-message .message-author {
    color: #0ea5e9;
    font-weight: bold;
}

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

.message-author {
    font-weight: 600;
    color: #2563eb;
    font-size: 0.875rem;
}

.message-time {
    font-size: 0.75rem;
    color: #6b7280;
}

.message-verse {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 0.375rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #0369a1;
    font-weight: 500;
}

.message-content {
    line-height: 1.6;
    color: #374151;
    white-space: pre-wrap;
}

/* Message Composer Styles */
.message-composer {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
}

.message-composer form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.message-composer textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    resize: none;
    transition: all 0.2s;
}

.message-composer textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.reply-btn {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem;
    border-radius: 0.25rem;
}

.reply-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

.reply-preview {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 0.375rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #0369a1;
}

.reply-indicator {
    background: #f8fafc;
    border-left: 3px solid #2563eb;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
    font-style: italic;
}

.mention {
    background: #dbeafe;
    color: #1e40af;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-weight: 500;
}

.mention-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-height: 150px;
    overflow-y: auto;
    z-index: 100;
}

.mention-item {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
}

.mention-item:hover,
.mention-item.selected {
    background: #f3f4f6;
}

.mention-item:last-child {
    border-bottom: none;
}

.message-composer {
    position: relative;
}

.composer-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.composer-actions select,
.composer-actions input {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.composer-actions input {
    flex: 1;
    min-width: 200px;
}

/* Dark theme for study groups */
.theme-dark .study-groups-page {
    color: #f9fafb;
}

.theme-dark .study-groups-header h2 {
    color: #60a5fa;
}

.theme-dark .no-groups {
    color: #d1d5db;
}

.theme-dark .group-card {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}

.theme-dark .group-card:hover {
    border-color: #60a5fa;
}

.theme-dark .group-info h3 {
    color: #60a5fa;
}

.theme-dark .group-info p {
    color: #d1d5db;
}

.theme-dark .role-creator {
    background: #92400e;
    color: #fef3c7;
}

.theme-dark .role-admin {
    background: #1e40af;
    color: #dbeafe;
}

.theme-dark .role-member {
    background: #4b5563;
    color: #f9fafb;
}

.theme-dark .group-panel,
.theme-dark .invite-panel {
    background: #374151;
    color: #f9fafb;
}

.theme-dark .group-header,
.theme-dark .invite-header {
    border-color: #4b5563;
}

.theme-dark .group-header h3,
.theme-dark .invite-header h3 {
    color: #60a5fa;
}

.theme-dark .group-form input,
.theme-dark .group-form textarea {
    background: #4b5563;
    color: #f9fafb;
    border-color: #6b7280;
}

.theme-dark .group-form input:focus,
.theme-dark .group-form textarea:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.theme-dark .group-form textarea {
    background: #4b5563;
    color: #f9fafb;
    border-color: #6b7280;
}

.theme-dark .group-form p {
    color: #d1d5db;
}

.theme-dark .invite-code-display label {
    color: #f9fafb;
}

.theme-dark .code-box {
    background: #4b5563;
    border-color: #6b7280;
    color: #60a5fa;
}

.theme-dark .qr-placeholder {
    background: #4b5563;
    border-color: #6b7280;
}

.theme-dark .qr-text {
    color: #d1d5db;
}

.theme-dark .group-discussion-page {
    color: #f9fafb;
}

.theme-dark .discussion-header {
    border-color: #4b5563;
}

.theme-dark .discussion-header h2 {
    color: #60a5fa;
}

.theme-dark .back-btn {
    background: #4b5563;
}

.theme-dark .back-btn:hover {
    background: #6b7280;
}

.theme-dark .no-posts {
    color: #d1d5db;
}

.theme-dark .posts-panel {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}

.theme-dark .post-message {
    border-color: #4b5563;
}

.theme-dark .post-message.own-message .message-author {
    color: #60a5fa;
}

.theme-dark .message-author {
    color: #60a5fa;
}

.theme-dark .message-time {
    color: #d1d5db;
}

.theme-dark .message-verse {
    background: #1e3a8a;
    border-color: #3b82f6;
    color: #dbeafe;
}

.theme-dark .message-content {
    color: #f9fafb;
}

.theme-dark .message-composer {
    background: #374151;
    border-color: #4b5563;
}

.theme-dark .message-composer textarea {
    background: #4b5563;
    color: #f9fafb;
    border-color: #6b7280;
}

.theme-dark .message-composer textarea:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.theme-dark .reply-btn {
    color: #9ca3af;
}

.theme-dark .reply-btn:hover {
    background: #4b5563;
    color: #f9fafb;
}

.theme-dark .reply-preview {
    background: #1e3a8a;
    border-color: #3b82f6;
    color: #dbeafe;
}

.theme-dark .reply-indicator {
    background: #4b5563;
    border-color: #60a5fa;
    color: #d1d5db;
}

.theme-dark .mention {
    background: #1e40af;
    color: #dbeafe;
}

.theme-dark .mention-dropdown {
    background: #374151;
    border-color: #4b5563;
}

.theme-dark .mention-item {
    color: #f9fafb;
    border-color: #4b5563;
}

.theme-dark .mention-item:hover,
.theme-dark .mention-item.selected {
    background: #4b5563;
}

.theme-dark .composer-actions select,
.theme-dark .composer-actions input {
    background: #4b5563;
    color: #f9fafb;
    border-color: #6b7280;
}

@media (max-width: 768px) {
    .study-groups-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .group-actions {
        justify-content: center;
    }
    
    .group-card {
        flex-direction: column;
        gap: 1rem;
    }
    
    .group-card .group-actions {
        align-self: flex-end;
    }
    
    .group-actions-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .discussion-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .composer-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .composer-actions input {
        min-width: auto;
    }
}
/* QR Scanner Styles */
.qr-scan-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
}

.qr-scan-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.qr-scan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.qr-scan-header h3 {
    color: #2563eb;
    margin: 0;
}

.qr-scan-content {
    text-align: center;
}

.qr-scanner {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #000;
}

#qr-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-frame {
    width: 150px;
    height: 150px;
    border: 2px solid #10b981;
    border-radius: 0.5rem;
    position: relative;
    animation: scanPulse 2s infinite;
}

.scan-frame::before,
.scan-frame::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #10b981;
}

.scan-frame::before {
    top: -3px;
    left: -3px;
    border-right: none;
    border-bottom: none;
}

.scan-frame::after {
    bottom: -3px;
    right: -3px;
    border-left: none;
    border-top: none;
}

@keyframes scanPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.qr-scan-content p {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

/* Dark theme for QR scanner */
.theme-dark .qr-scan-panel {
    background: #374151;
    color: #f9fafb;
}

.theme-dark .qr-scan-header {
    border-color: #4b5563;
}

.theme-dark .qr-scan-header h3 {
    color: #60a5fa;
}

.theme-dark .qr-scan-content p {
    color: #d1d5db;
}

@media (max-width: 480px) {
    .qr-scanner {
        width: 200px;
        height: 200px;
    }
    
    .scan-frame {
        width: 120px;
        height: 120px;
    }
}
