/* Estilos para a página de pesquisa */

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #0d6efd;
}

/* Cabeçalho de pesquisa */
.search-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.search-header h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-form .input-group {
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-form input {
    border: none;
    box-shadow: none !important;
    font-size: 1.1rem;
    padding-left: 1rem;
}

.search-form button {
    border-radius: 50px !important;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Área de filtros */
.filters-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.filters-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.filters-section .form-check {
    margin-bottom: 0.5rem;
}

.filters-section select {
    margin-bottom: 1rem;
}

/* Resultados da pesquisa */
.search-stats {
    margin-bottom: 1.5rem;
    color: #6c757d;
}

.search-results article {
    transition: transform 0.2s ease-in-out;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-results article:hover {
    transform: translateY(-2px);
}

.search-results h2 {
    font-weight: 600;
}

.search-results a:hover {
    color: #0d6efd !important;
}

/* Destaque dos termos pesquisados */
.search-highlight {
    background-color: #fff3cd;
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
}

/* Loading spinner */
.loading-spinner {
    width: 3rem;
    height: 3rem;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

/* Mensagem de nenhum resultado */
.no-results {
    text-align: center;
    padding: 3rem 0;
}

.no-results i {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

/* Paginação */
.pagination {
    margin-top: 2rem;
    justify-content: center;
}

.pagination .page-link {
    border-radius: 50%;
    margin: 0 0.25rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: #495057;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
    color: #0d6efd;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    color: white;
}

/* Responsividade */
@media (max-width: 768px) {
    .search-header {
        padding: 2rem 0;
    }

    .search-form .input-group {
        flex-direction: column;
        padding: 0.25rem;
    }

    .search-form input {
        border-radius: 25px !important;
        margin-bottom: 0.5rem;
    }

    .search-form button {
        width: 100%;
    }

    .filters-section {
        margin-bottom: 1rem;
    }
}

/* Newsletter section */
.newsletter-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
    margin-top: 3rem;
}

.newsletter-section h2 {
    margin-bottom: 1.5rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .input-group {
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.newsletter-form input {
    border: none;
    box-shadow: none !important;
    padding-left: 1rem;
}

.newsletter-form button {
    border-radius: 50px !important;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Alert messages */
.alert {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
} 