/* Search Page Styles */

.search-header {
    text-align: center;
    padding: 40px 20px;
    background: white;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 25px;
}

.search-form-large {
    display: flex;
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-input-large {
    flex: 1;
    padding: 15px 25px;
    border: none;
    font-size: 16px;
    color: #333;
    outline: none;
}

.search-input-large::placeholder {
    color: #9ca3af;
}

.search-btn-large {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 35px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s;
}

.search-btn-large:hover {
    opacity: 0.9;
}

.search-results {
    min-height: 50vh;
    margin-bottom: 60px;
}

.results-header {
    margin-bottom: 30px;
}

.results-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
}

.results-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.result-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.category-result {
    display: flex;
    align-items: center;
    gap: 20px;
}

.result-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.result-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.result-content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.article-result .result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
}

.result-category {
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 500;
}

.result-section {
    color: #9ca3af;
}

.article-result h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.article-result p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 12px;
}

.result-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.result-tag {
    background-color: #f3f4f6;
    color: #4b5563;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-results i {
    font-size: 48px;
    color: #9ca3af;
    margin-bottom: 15px;
}

.no-results p {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 25px;
}

.quick-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-links a {
    padding: 10px 20px;
    background-color: #3b82f6;
    color: white;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s;
}

.quick-links a:hover {
    background-color: #2563eb;
}

.search-tips {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-tips h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.search-tips ul {
    list-style: none;
    padding: 0;
}

.search-tips li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
}

.search-tips li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

mark {
    background-color: #fef08a;
    padding: 2px 4px;
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .search-header h1 {
        font-size: 28px;
    }

    .search-form-large {
        flex-direction: column;
        border-radius: 12px;
    }

    .search-btn-large {
        justify-content: center;
        border-radius: 0 0 12px 12px;
    }

    .category-result {
        flex-direction: column;
        text-align: center;
    }

    .quick-links {
        flex-direction: column;
    }

    .quick-links a {
        width: 100%;
        text-align: center;
    }
}

/* Made with Bob */
