/* Custom styles for Sermon-to-Book application */

/* Additional custom styles beyond Tailwind CSS */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Custom scrollbar for code blocks and pre elements */
pre, .code-block {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f7fafc;
}

pre::-webkit-scrollbar, .code-block::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

pre::-webkit-scrollbar-track, .code-block::-webkit-scrollbar-track {
    background: #f7fafc;
}

pre::-webkit-scrollbar-thumb, .code-block::-webkit-scrollbar-thumb {
    background-color: #cbd5e0;
    border-radius: 4px;
}

/* Bible verse styling */
.bible-verse {
    background-color: #f8fafc;
    border-left: 3px solid #3b82f6;
    padding: 1rem;
    margin: 1rem 0;
    font-style: italic;
}

.bible-verse-reference {
    font-weight: bold;
    color: #1e40af;
}

/* Chapter section styling */
.chapter-section {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.chapter-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
