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

        body {
            font-family: 'Georgia', 'Times New Roman', serif;
            line-height: 1.6;
            color: #333;
            background-color: #fefefe;
        }

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

        header {
            background: linear-gradient(135deg, #2c3e50, #34495e);
            color: white;
            padding: 1.5rem 0;
            margin-bottom: 2rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .nav-links {
            display: flex;
            gap: 1rem;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .auth-section {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        #user-info, #guest-info {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
        }
        
        .guest-notice {
            opacity: 0.8;
            font-size: 0.85rem;
        }
        
        .register-btn {
            background: #e74c3c !important;
            border-color: #c0392b !important;
        }
        
        .register-btn:hover {
            background: #c0392b !important;
        }
        
        #api-usage {
            font-size: 0.8rem;
            opacity: 0.8;
            background: rgba(255,255,255,0.1);
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
        }

        h1 {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
            font-weight: 300;
        }

        .breadcrumb {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        .navigation {
            background: #ecf0f1;
            padding: 1rem 0;
            margin-bottom: 2rem;
            border-radius: 8px;
        }

        .nav-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            gap: 1rem;
            align-items: center;
            flex-wrap: wrap;
        }

        .scripture-version-selector, .book-selector {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .scripture-version-selector label, .book-selector label {
            font-weight: 500;
            color: #495057;
            white-space: nowrap;
        }

        .scripture-version-dropdown, .book-dropdown, .translation-dropdown {
            padding: 8px 12px;
            border: 2px solid #ddd;
            border-radius: 4px;
            font-size: 0.9rem;
            max-width: 200px;
            min-width: 80px;
            background: white;
        }

        .chapter-controls {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            position: fixed;    
            bottom: 60px;
            width: 100%;
            justify-content: center;
            z-index: 99999999;
        }
        
        /* Translation selector styles */
        .translation-selector {
            margin-bottom: 1rem;
        }
        .translation-selector label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: #495057;
            font-size: 0.9rem;
        }
        .selected-translations {
            margin-top: 0.5rem;
        }
        .translation-tag {
            display: inline-block;
            background: #e3f2fd;
            color: #1976d2;
            padding: 0.25rem 0.5rem;
            margin: 0.25rem 0.25rem 0.25rem 0;
            border-radius: 12px;
            font-size: 0.8rem;
            border: 1px solid #bbdefb;
        }
        .translation-tag .remove-btn {
            margin-left: 0.5rem;
            cursor: pointer;
            color: #1976d2;
            font-weight: bold;
        }
        .translation-tag .remove-btn:hover {
            color: #d32f2f;
        }
        
        .search-controls {
            margin-top: 1rem;
            border-top: 1px solid #ddd;
            padding-top: 1rem;
        }
        
        .search-box {
            display: flex;
            gap: 0.5rem;
        }
        
        .search-input {
            flex: 1;
            padding: 8px 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 0.9rem;
        }
        
        .search-btn {
            background: #2ecc71;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.9rem;
            white-space: nowrap;
        }
        
        .search-btn:hover {
            background: #27ae60;
        }
        
        .search-btn:disabled {
            background: #95a5a6;
            cursor: not-allowed;
        }
        
        .search-results {
            margin-top: 1rem;
            max-height: 400px;
            overflow-y: auto;
            border: 1px solid #ddd;
            border-radius: 4px;
            background: white;
        }
        
        .search-result-item {
            padding: 0.8rem;
            border-bottom: 1px solid #eee;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .search-result-item:hover {
            background-color: #f8f9fa;
        }
        
        .search-result-item:last-child {
            border-bottom: none;
        }
        
        .search-result-reference {
            font-weight: bold;
            color: #3498db;
            margin-bottom: 0.3rem;
        }
        
        .search-result-text {
            color: #2c3e50;
            line-height: 1.4;
        }
        
        .search-result-scripture-version {
            font-size: 0.8rem;
            color: #7f8c8d;
            margin-top: 0.3rem;
        }
        
        .search-highlight {
            background-color: #fff3cd;
            padding: 0 2px;
            border-radius: 2px;
        }
        
        .search-highlight-verse {
            background-color: #e3f2fd !important;
            border-left: 4px solid #2196f3 !important;
            animation: highlightFade 3s ease-in-out;
            transition: all 0.3s ease;
            margin-left: -4px;
            padding-left: 8px;
        }
        
        @keyframes highlightFade {
            0% { background-color: #e3f2fd; }
            50% { background-color: #e3f2fd; }
            100% { background-color: transparent; }
        }
        
        .search-message {
            padding: 0.8rem;
            text-align: center;
            color: #666;
            font-style: italic;
        }
        
        .search-header {
            border-bottom: 1px solid #eee;
            margin-bottom: 0.5rem;
        }
        
        .search-pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem;
            border-top: 1px solid #eee;
            background: #f8f9fa;
        }
        
        .pagination-btn {
            background: #3498db;
            color: white;
            border: none;
            padding: 6px 12px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.8rem;
            white-space: nowrap;
        }
        
        .pagination-btn:hover:not(:disabled) {
            background: #2980b9;
        }
        
        .pagination-btn:disabled {
            background: #bdc3c7;
            cursor: not-allowed;
            opacity: 0.6;
        }
        
        .pagination-info {
            font-size: 0.9rem;
            color: #666;
            margin: 0 1rem;
        }

        .nav-btn {
            background: #3498db;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .nav-btn:hover {
            background: #2980b9;
            transform: translateY(-1px);
        }

        .nav-btn:disabled {
            background: #bdc3c7;
            cursor: not-allowed;
            transform: none;
        }

        .chapter-input {
            padding: 8px 12px;
            border: 2px solid #ddd;
            border-radius: 4px;
            font-size: 0.9rem;
            /*width: 100px;*/
        }

        .main-content {
            display: block;
            width: 100%;
            padding-bottom: 100px;
        }

        .scripture-text {
            background: white;
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            border: 1px solid #e1e8ed;
        }

        .verse {
            margin-bottom: 0.8rem;
            padding: 0.5rem;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
        }

        .verse:hover {
            background-color: #f8f9fa;
        }

        .verse-number {
            font-weight: bold;
            color: #7f8c8d;
            margin-right: 0.5rem;
            font-size: 0.9rem;
            vertical-align: super;
            line-height: 1;
        }

        .verse-text {
            display: inline;
            font-size: 1.1rem;
            line-height: 1.7;
        }

        .phonetic-text {
            display: block;
            font-style: italic;
            color: #6c757d;
            font-size: 0.95rem;
            line-height: 1.5;
            margin-top: 0.3rem;
            margin-bottom: 0.5rem;
            padding-left: 1rem;
            direction: ltr;
            text-align: left;
        }

        .audio-control {
            display: inline-block;
            margin-left: 0.5rem;
            vertical-align: middle;
        }

        .audio-play-btn {
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.2rem;
            border-radius: 3px;
            transition: background-color 0.2s ease;
        }

        .audio-play-btn:hover {
            background-color: #f0f0f0;
        }

        .chapter-audio-player {
            width: 100%;
            margin-bottom: 1.5rem;
            padding: 1rem;
            background-color: #f8f9fa;
            border-radius: 8px;
            border: 1px solid #e1e8ed;
        }

        /* Fixed bottom audio controls for Hebrew scripture */
        .hebrew-chapter-audio-player {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            width: 100%;
            margin-bottom: 0;
            padding: 1rem;
            background-color: #f8f9fa;
            border-top: 2px solid #007bff;
            border-radius: 0;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
            z-index: 1000;
        }

        /* Add padding to body when Hebrew audio controls are active */
        body.hebrew-audio-active {
            padding-bottom: 80px;
        }

        .chapter-audio-controls {
            display: flex;
            align-items: center;
            gap: 1rem;
            width: 100%;
        }

        .chapter-play-pause-btn {
            background: #007bff;
            color: white;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.9rem;
            min-width: 80px;
            transition: background-color 0.2s ease;
        }

        .chapter-play-pause-btn:hover {
            background: #0056b3;
        }

        .chapter-play-pause-btn:disabled {
            background: #6c757d;
            cursor: not-allowed;
        }

        .chapter-audio-seeker {
            flex: 1;
            height: 6px;
            background: #e1e8ed;
            border-radius: 3px;
            position: relative;
            cursor: pointer;
        }

        .chapter-audio-progress {
            height: 100%;
            background: #007bff;
            border-radius: 3px;
            width: 0%;
            transition: width 0.1s ease;
        }

        .chapter-audio-time {
            font-size: 0.85rem;
            color: #6c757d;
            min-width: 100px;
            text-align: right;
        }

        .audio-play-btn:active {
            background-color: #e0e0e0;
        }

        .audio-icon {
            font-size: 1rem;
            opacity: 0.7;
        }

        .audio-play-btn:hover .audio-icon {
            opacity: 1;
        }

        /* Bismillah header styling */
        .bismillah-header {
            text-align: center;
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border: 2px solid #dee2e6;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }

        .bismillah-text {
            font-size: 1.8rem;
            font-weight: 600;
            color: #2c3e50;
            font-family: 'Amiri',Georgia, "Times New Roman", serif;
            letter-spacing: 0.5px;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
        }

        .verse.highlighted {
            background: linear-gradient(135deg, #fff3cd, #ffeeba);
            border-left: 4px solid #f0ad4e;
            padding-left: 1rem;
        }

        .verse.selected {
            background: linear-gradient(135deg, #d4edda, #c3e6cb);
            border-left: 4px solid #28a745;
            padding-left: 1rem;
        }

        .verse.has-tags {
            background: linear-gradient(90deg, #28a745 0%, #28a745 33%);
            background-size: 12px 4px;
            background-position: 0 0;
            background-repeat: no-repeat;
            border-left: 4px solid transparent;
        }

        .verse.has-commentary {
            background: linear-gradient(90deg, #007bff 33%, #007bff 66%);
            background-size: 12px 4px;
            background-position: 0 0;
            background-repeat: no-repeat;
            border-left: 4px solid transparent;
        }

        .verse.has-hyperlinks {
            background: linear-gradient(90deg, #dc3545 66%, #dc3545 100%);
            background-size: 12px 4px;
            background-position: 0 0;
            background-repeat: no-repeat;
            border-left: 4px solid transparent;
        }

        .verse.has-multiple {
            background: linear-gradient(90deg, #28a745 0%, #28a745 33%, #007bff 33%, #007bff 66%, #dc3545 66%, #dc3545 100%);
            background-size: 12px 4px;
            background-position: 0 0;
            background-repeat: no-repeat;
            border-left: 4px solid transparent;
        }

        .verse-selection-indicator {
            position: absolute;
            right: 0.5rem;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.2rem;
            color: #28a745;
            display: none;
        }

        .verse.selected .verse-selection-indicator {
            display: block;
        }

        .sidebar {
            background: white;
            padding: 1.5rem;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            border: 1px solid #e1e8ed;
            position: sticky;
            top: 20px;
            max-height: 80vh;
            overflow-y: auto;
        }

        .sidebar h3 {
            color: #2c3e50;
            margin-bottom: 1rem;
            font-size: 1.2rem;
            border-bottom: 2px solid #ecf0f1;
            padding-bottom: 0.5rem;
        }

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

        .metadata-item {
            background: #f8f9fa;
            padding: 1rem;
            margin-bottom: 0.5rem;
            border-radius: 4px;
            border-left: 4px solid #dee2e6;
        }

        .metadata-item.tag {
            border-left-color: #28a745;
        }

        .metadata-item.commentary {
            border-left-color: #007bff;
        }

        .metadata-item.hyperlink {
            border-left-color: #dc3545;
        }

        .metadata-item h4 {
            font-size: 0.9rem;
            color: #6c757d;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .tag-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.3rem;
        }

        .tag {
            background: #28a745;
            color: white;
            padding: 0.2rem 0.5rem;
            border-radius: 12px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        .hyperlink {
            color: #dc3545;
            text-decoration: none;
            font-weight: 500;
        }

        .hyperlink:hover {
            text-decoration: underline;
        }

        .add-metadata {
            background: #f8f9fa;
            padding: 1rem;
            border-radius: 4px;
            margin-top: 1rem;
        }

        .form-group {
            margin-bottom: 1rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.3rem;
            font-weight: 500;
            color: #495057;
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 0.5rem;
            border: 2px solid #dee2e6;
            border-radius: 4px;
            font-size: 0.9rem;
        }

        .form-group textarea {
            min-height: 80px;
            resize: vertical;
        }

        .btn {
            background: #007bff;
            color: white;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.9rem;
            margin-right: 0.5rem;
            transition: all 0.2s ease;
        }

        .btn:hover {
            background: #0056b3;
            transform: translateY(-1px);
        }

        .btn-success {
            background: #28a745;
        }

        .btn-success:hover {
            background: #1e7e34;
        }

        .btn-danger {
            background: #dc3545;
        }

        .btn-danger:hover {
            background: #c82333;
        }

        .loading {
            text-align: center;
            padding: 3rem;
            color: #6c757d;
        }

        .error {
            background: #f8d7da;
            color: #721c24;
            padding: 1rem;
            border-radius: 4px;
            margin-bottom: 1rem;
        }

        .delete-btn {
            float: right;
            background: #dc3545;
            color: white;
            border: none;
            padding: 0.2rem 0.4rem;
            border-radius: 3px;
            cursor: pointer;
            font-size: 0.7rem;
        }

        .selection-controls {
            background: #e9ecef;
            padding: 1rem;
            border-radius: 4px;
            margin-bottom: 1rem;
            display:none
        }

        .selection-controls h4 {
            margin-bottom: 0.5rem;
            font-size: 1rem;
            color: #495057;
        }

        /* Language toggle button */
        .language-toggle-btn {
            position: fixed;
            right: -60px;
            top: 50%;
            transform: translateY(-50%);
            width: 120px;
            height: 50px;
            background: #007bff;
            color: white;
            border: none;
            border-radius: 25px 0 0 25px;
            cursor: pointer;
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            font-size: 0.9rem;
            font-weight: 500;
            transition: right 0.3s ease;
            box-shadow: -2px 2px 10px rgba(0,0,0,0.2);
        }
        
        .language-toggle-btn:hover {
            background: #0056b3;
            right: -55px;
        }
        
        .language-toggle-btn.active {
            right: 340px;
            display:none;
        }
        
        .language-toggle-btn.active:hover {
            right: 345px;
        }
        
        /* Shimmer effect for language toggle button */
        .language-toggle-btn.shimmer {
            animation: shimmer 1.5s ease-in-out;
            position: fixed;
            overflow: hidden;
        }
        
        @keyframes shimmer {
            0% {
                box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
            }
            50% {
                box-shadow: 0 0 20px rgba(0, 123, 255, 0.8), 0 0 30px rgba(0, 123, 255, 0.6);
                transform: translateY(-50%) scale(1.05);
            }
            100% {
                box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
                transform: translateY(-50%) scale(1);
            }
        }
        
        .language-toggle-btn.shimmer::before {
            content: '';
            position: fixed;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            animation: shimmer-sweep 1.5s ease-in-out;
        }
        
        @keyframes shimmer-sweep {
            0% {
                left: -100%;
            }
            100% {
                left: 100%;
            }
        }
        
        /* Language controls sliding panel */
        .language-controls {
            position: fixed;
            right: -450px;
            top: 0;
            width: 450px;
            height: 100vh;
            background: white;
            border-left: 2px solid #dee2e6;
            padding: 2rem 1.5rem;
            z-index: 999;
            transition: right 0.3s ease;
            overflow-y: auto;
            box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        }
        
        .language-controls.active {
            right: 0;
        }
        
        /* Backdrop overlay */
        .language-backdrop {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 998;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }
        
        .language-backdrop.active {
            opacity: 1;
            visibility: visible;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .language-controls {
                width: 90vw;
                right: -90vw;
            }
            
            .language-toggle-btn {
                width: 100px;
                font-size: 0.8rem;
            }
            
            .language-toggle-btn.active {
                right: calc(90vw - 60px);
            }
        }

        .language-controls h4 {
            margin-bottom: 1rem;
            font-size: 1.2rem;
            color: #2c3e50;
            border-bottom: 2px solid #007bff;
            padding-bottom: 0.5rem;
        }

        .sidebar-content {
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid #dee2e6;
        }

        .sidebar-content h3 {
            color: #2c3e50;
            margin-bottom: 1rem;
            font-size: 1.2rem;
            border-bottom: 2px solid #ecf0f1;
            padding-bottom: 0.5rem;
        }

        .language-option {
            display: flex;
            align-items: center;
            margin-bottom: 0.8rem;
        }

        .language-option input[type="checkbox"] {
            margin-right: 0.5rem;
        }

        .language-option label {
            font-weight: 500;
            color: #495057;
            cursor: pointer;
            flex: 1;
        }

        .translation-selector {
            margin-top: 0.5rem;
            margin-left: 1.5rem;
        }

        .translation-selector select {
            width: 100%;
            padding: 0.4rem;
            border: 1px solid #ced4da;
            border-radius: 4px;
            font-size: 0.9rem;
        }

        .language-section {
            margin-bottom: 1rem;
        }

        .language-section-title {
            font-weight: 600;
            color: #495057;
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Multi-language verse display */
        .verse.multi-language {
            margin-bottom: 2rem;
            border: 1px solid #e9ecef;
            border-radius: 6px;
            padding: 1rem;
            background: #f8f9fa;
        }

        .verse-languages {
            display: flex;
            gap: 1.5rem;
            margin-top: 0.5rem;
        }

        .verse-language {
            flex: 1;
            background: white;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            padding: 0.75rem;
        }

        .verse-language-header {
            font-size: 0.8rem;
            font-weight: 600;
            color: #6c757d;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .verse-language-stacked {
            margin-top: 0.75rem;
            padding-top: 0.75rem;
            border-top: 1px solid #dee2e6;
        }

        .verse-language-stacked:first-of-type {
            margin-top: 0.5rem;
            padding-top: 0.5rem;
        }

        .verse-language-label {
            font-size: 0.85rem;
            font-weight: 600;
            color: #6c757d;
            margin-bottom: 0.4rem;
            display: block;
        }

        .verse-language-stacked .verse-text {
            display: block;
            padding-left: 0.5rem;
            line-height: 1.6;
        }

        /* RTL text support */
        [dir="rtl"] .verse-text {
            text-align: right;
            font-size: 1.1em;
            line-height: 1.6;
        }

        /* Hebrew text font */
        [dir="rtl"][lang="he"] .verse-text,
        [dir="rtl"] .verse-text[lang="he"] {
            font-family: "Noto Sans Hebrew", "SBL Hebrew", "Times New Roman", serif;
        }

        /* Arabic text font */
        [dir="rtl"][lang="ar"] .verse-text,
        [dir="rtl"] .verse-text[lang="ar"] {
            font-family: "Noto Sans Arabic", "Amiri", "Scheherazade New", "Arabic Typesetting", "Times New Roman", serif;
            font-size: 1.3em;
            line-height: 1.8;
        }

        /* Hebrew, Greek, and Arabic letter tooltips */
        .hebrew-letter, .greek-letter, .arabic-letter {
            position: relative;
            cursor: help;
            transition: background-color 0.2s ease;
        }

        /* Custom tooltip styling */
        .custom-tooltip {
            position: fixed;
            background: #333;
            color: white;
            padding: 0.5rem 0.75rem;
            border-radius: 4px;
            font-size: 0.8rem;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            white-space: nowrap;
            z-index: 1000;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
            pointer-events: none;
        }
        .custom-tooltip::before {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 5px solid transparent;
            border-top-color: #333;
        }
        .custom-tooltip .tooltip-char {
            font-weight: bold;
            font-size: 1.1em;
        }

        /* Side-by-side layout adjustments */
        .side-by-side-layout .verse-languages {
            flex-direction: row;
        }

        .side-by-side-layout .verse-language {
            min-width: 0;
        }

        /* Multi-language headers */
        .multi-language-headers {
            display: flex;
            align-items: center;
            background: #343a40;
            color: white;
            padding: 1rem;
            margin-bottom: 1.5rem;
            border-radius: 6px;
            font-weight: 600;
        }

        .verse-number-header {
            width: 60px;
            text-align: center;
            margin-right: 1rem;
            font-size: 0.9rem;
        }

        .language-headers {
            display: flex;
            gap: 1.5rem;
            flex: 1;
        }

        .language-header {
            flex: 1;
            text-align: center;
            padding: 0.5rem;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
        }

        .language-header-subtitle {
            font-size: 0.8rem;
            font-weight: 400;
            margin-top: 0.25rem;
            opacity: 0.8;
        }

        /* Responsive design for side-by-side */
        @media (max-width: 768px) {
            .verse-languages {
                flex-direction: column;
                gap: 1rem;
            }
            
            .multi-language-headers {
                flex-direction: column;
                text-align: center;
            }
            
            .verse-number-header {
                margin-right: 0;
                margin-bottom: 0.5rem;
            }
            
            .language-headers {
                flex-direction: column;
                gap: 0.5rem;
            }
        }

        .language-info {
            font-size: 0.8rem;
            color: #6c757d;
            margin-left: 1.5rem;
            font-style: italic;
        }

        .selection-summary {
            background: #f8f9fa;
            padding: 0.5rem;
            border-radius: 4px;
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
            color: #6c757d;
        }

        .range-input {
            display: flex;
            gap: 0.5rem;
            align-items: center;
            margin-bottom: 0.5rem;
        }

        .range-input input {
            width: 60px;
            padding: 0.3rem;
            border: 1px solid #ced4da;
            border-radius: 3px;
        }

        .metadata-group {
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            padding: 1rem;
            margin-bottom: 1rem;
        }

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

        .metadata-group-info {
            font-size: 0.8rem;
            color: #6c757d;
        }

        .verse-range-display {
            background: #e9ecef;
            padding: 0.2rem 0.5rem;
            border-radius: 3px;
            font-size: 0.8rem;
            margin-right: 0.5rem;
            display: inline-block;
        }

        .group-delete-btn {
            background: #dc3545;
            color: white;
            border: none;
            padding: 0.2rem 0.5rem;
            border-radius: 3px;
            cursor: pointer;
            font-size: 0.7rem;
            margin-left: auto;
        }

        .verse-selection-indicator {
            position: absolute;
            right: 0.5rem;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.2rem;
            color: #28a745;
            display: none;
        }

        .verse.selected .verse-selection-indicator {
            display: block;
        }

        /* Multi-language verse display */
        .verse-multilang {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .verse-translation {
            padding: 0.8rem;
            border-radius: 6px;
            border-left: 3px solid transparent;
        }

        .verse-translation.hebrew {
            background: #fff8dc;
            border-left-color: #d4af37;
            direction: rtl;
            text-align: right;
            font-family: 'Times New Roman', 'Arial Unicode MS', 'Noto Sans Hebrew', serif;
            font-size: 1.1em;
            line-height: 1.6;
        }

        .verse-translation.english {
            background: #f8f9fa;
            border-left-color: #28a745;
            direction: ltr;
            text-align: left;
        }

        .translation-label {
            font-size: 0.75rem;
            font-weight: 600;
            color: #6c757d;
            margin-bottom: 0.3rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .translation-label.hebrew {
            text-align: right;
            direction: rtl;
        }

        .translation-label.english {
            text-align: left;
            direction: ltr;
        }

        .verse-text {
            margin: 0;
            line-height: 1.5;
        }

        /* Compact side-by-side layout option */
        .verse-multilang.side-by-side {
            flex-direction: row;
            gap: 1rem;
        }

        .verse-multilang.side-by-side .verse-translation {
            flex: 1;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            h1 {
                font-size: 2rem;
            }


            .nav-content {
                flex-direction: row;
                gap: 0.5rem;
                align-items: stretch;
            }

            .chapter-input {
               width: 60px;
            }

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

        @media (max-width: 480px) {
            .container {
                padding: 10px;
            }

            .scripture-text {
                padding: 1rem;
            }

            h1 {
                font-size: 1.5rem;
            }
        }

        /* About Page Specific Styles */
        .about-content {
            max-width: 800px;
            margin: 0 auto;
            padding: 2rem 3rem;
            font-family: 'Georgia', 'Times New Roman', serif;
            line-height: 1.8;
            font-size: 1.1rem;
            color: #2c3e50;
        }

        .about-content h2 {
            font-size: 2.2rem;
            margin-bottom: 1.5rem;
            color: #2c3e50;
            font-weight: 400;
            text-align: center;
        }

        .about-content h3 {
            font-size: 1.6rem;
            margin: 2rem 0 1rem 0;
            color: #34495e;
            font-weight: 500;
        }

        .about-content p {
            text-align: justify;
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            line-height: 1.8;
        }

        .about-content ul {
            margin-bottom: 1.5rem;
            padding-left: 1.5rem;
        }

        .about-content li {
            margin-bottom: 1rem;
            text-align: justify;
            line-height: 1.8;
        }

        .about-content li strong {
            color: #2c3e50;
            font-weight: 600;
        }

        .about-content .credits-list {
            list-style-type: none;
            padding-left: 0;
        }

        .about-content .credits-list li {
            margin-bottom: 0.8rem;
            padding-left: 1rem;
            border-left: 3px solid #3498db;
            background-color: #f8f9fa;
            padding: 0.8rem;
            border-radius: 4px;
        }

        .about-content a {
            color: #3498db;
            text-decoration: none;
            font-weight: 500;
        }

        .about-content a:hover {
            color: #2980b9;
            text-decoration: underline;
        }

        /* Responsive styles for about page */
        @media (max-width: 768px) {
            .about-content {
                padding: 1.5rem 2rem;
                font-size: 1rem;
            }

            .about-content h2 {
                font-size: 1.8rem;
            }

            .about-content h3 {
                font-size: 1.4rem;
            }
        }

        @media (max-width: 480px) {
            .about-content {
                padding: 1rem;
                font-size: 0.95rem;
            }

            .about-content h2 {
                font-size: 1.6rem;
            }

            .about-content h3 {
                font-size: 1.2rem;
            }
        }

        /* Book Names Header for Surah/Chapter Names */
        .book-names-header {
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-radius: 8px;
            border: 1px solid #dee2e6;
        }

        .book-names {
            display: flex;
            gap: 2rem;
            align-items: center;
            justify-content: space-around;
        }

        .book-header-spacer {
            width: 60px; /* Match verse number column width */
            flex-shrink: 0;
        }

        .book-name {
            font-size: 1.4rem;
            font-weight: 600;
            color: #2c3e50;
            text-align: center;
            padding: 0.5rem;
            border-radius: 6px;
            background: white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            min-height: 3rem;
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 1;
        }

        .book-name-single {
            margin-bottom: 1rem;
            padding: 0.75rem;
            background: white;
            border-radius: 6px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            text-align: center;
        }

        .book-name-single .book-title {
            display: block;
            font-size: 1.5rem;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 0.25rem;
        }

        .book-name-single .collection-name {
            display: block;
            font-size: 0.9rem;
            color: #6c757d;
            font-style: italic;
        }

        /* Arabic book names styling */
        .book-name[dir="rtl"], .book-name-single[dir="rtl"] .book-title {
            font-family: 'Amiri', 'Noto Sans Arabic', serif;
            font-size: 1.6rem;
            line-height: 1.4;
        }

        /* Responsive adjustments for book names */
        @media (max-width: 768px) {
            .book-names {
                flex-direction: column;
                gap: 1rem;
            }

            .book-header-spacer {
                display: none;
            }

            .book-name {
                font-size: 1.2rem;
                min-height: 2.5rem;
            }

            .book-name-single .book-title {
                font-size: 1.3rem;
            }
        }