/* ===================================
   SEARCHING.CSS
   =================================== */

.search-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
}

.search-section {
    width: 100%;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 24px rgba(10, 26, 47, 0.1);
}

.search-title {
    font-family: var(--title-font);
    font-size: 2rem;
    color: var(--deep-blue);
    margin-bottom: 2rem;
    text-align: center;
}

/* Search Input */
.search-input-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.search-input {
    flex: 1;
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    font-family: var(--body-font);
    transition: var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.search-btn {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--gold), #C49B33);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}

/* Theme Buttons */
.theme-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.theme-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(250,250,250,0.95));
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(10, 26, 47, 0.05);
}

.theme-btn:hover {
    border-color: var(--gold);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.08));
    transform: translateY(-2px);
}

.theme-btn:active {
    transform: translateY(0);
}

/* Filters */
.filters-container {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 10px;
    border: 1px solid var(--gray-light);
}

.filters-container h3 {
    font-family: var(--title-font);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--deep-blue);
}

.filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
}

.filter-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: var(--gold);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    background: #C49B33;
}

/* Results */
.results-container {
    min-height: 200px;
}

.results-placeholder {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 3rem;
}

.results-header {
    font-family: var(--title-font);
    font-size: 1.3rem;
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold);
}

.result-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--gray-light);
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.result-item:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

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

.result-scripture {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.result-text {
    line-height: 1.7;
    color: var(--text-dark);
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #999;
}

/* Dark Mode */
body.dark .search-section {
    background: rgba(30, 30, 30, 0.95);
}

body.dark .search-title {
    color: var(--gold);
}

body.dark .search-input {
    background: rgba(40, 40, 40, 0.9);
    border-color: #555;
    color: var(--text-light);
}

body.dark .theme-btn {
    background: rgba(40, 40, 40, 0.9);
    color: var(--text-light);
}

body.dark .filters-container {
    background: rgba(212, 175, 55, 0.1);
    border-color: #555;
}

body.dark .filters-container h3 {
    color: var(--gold);
}

body.dark .filter-checkbox {
    color: var(--text-light);
}

body.dark .result-item {
    background: rgba(40, 40, 40, 0.9);
    border-color: #555;
}

body.dark .result-text {
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 600px) {
    .search-section {
        padding: 1.5rem;
    }

    .theme-buttons {
        flex-direction: column;
    }

    .theme-btn {
        width: 100%;
    }
}