body {
    background-color: #ededed;
}

.header-horiz {
    background-color: white;
}

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

.pesquisa-header {
    margin-bottom: 30px;
    position: relative;
    padding: 13px;
    justify-items: center;
}

.cx-header-pesquisa {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
}

.box-pesquisa {
    padding: 13px;
    margin-bottom: 2rem;
    place-items: center;
}

.voltar-btn {
    color: #333;
}

.voltar-btn i {
    font-size: 34px !important;
}

.box-pesquisa h1 {
    color: #212121;
    margin: 20px 0;
    text-align: center;
    font-weight: 400;
}

.cx-frases-pesquise {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    text-align: center;
}

.cx-frases-pesquise p {
    color: #737373;
}

.pesquisa-evento {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 30px;
    padding: 5px;
    margin-bottom: 15px;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.pesquisa-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.pesquisa-form input {
    border: none;
    background: transparent;
    width: 100%;
    height: 100%;
    outline: none;
    font-size: 14px;
    padding: 0 12px;
}

.pesquisa-form input:focus,
.pesquisa-form input:active {
    outline: none;
}

.pesquisa-form button {
    color: #ffffff;
    font-size: 18px;
    background-color: #f3803f;
    padding: 10px;
    border-radius: 50%;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.pesquisa-form i {
    margin: 0 !important;
}

.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.evento-card {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.evento-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.sem-imagem {
    background: #f5f5f5;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.sem-imagem i {
    font-size: 3rem;
}

.evento-info {
    padding: 15px;
}

.evento-info h3 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.evento-data {
    color: var(--cor-primaria);
    font-size: 0.9rem;
    margin: 0 0 5px 0;
}

.evento-organizador {
    color: #666;
    font-size: 0.8rem;
    margin: 0;
}

.paginacao {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
    margin: 30px 0;
}

.paginacao span {
    color: #666;
}

.pagina-btn {
    padding: 8px 15px;
    background: #f3803f;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    display: flex;
    justify-content: center;
    transition: background 0.3s;
}

.pagina-btn:hover {
    background: #c46832;
}

.pagina-btn i {
    margin: 0 !important;
}

.nenhum-resultado {
    text-align: center;
    padding: 50px 0;
    color: #666;
}

.nenhum-resultado i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

/* Estilos para a página de pesquisa */
.pesquisa-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.filtros-sidebar {
    width: 250px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    margin-right: 20px;
    border: none;
}

.filtros-sidebar h3 {
    margin-top: 0;
    color: #333;
}

.filtro-grupo {
    margin-bottom: 15px;
}

.filtro-grupo label {
    display: block;
    margin-bottom: 5px;
    font-weight: 400;
    color: #707070;
}

.filtro-grupo select,
.filtro-grupo input {
    background-color: #f7f4f2;
    border-radius: 9px;
    padding: 10px;
    width: 100%;
    border: none;
    cursor: pointer;
}

.aplicar-filtros {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    margin-top: 10px;
}

.limpar-filtros {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #282828;
    border: 1px solid #9b9b9b;
    text-decoration: none;
    padding: 10px;
    border-radius: 9px;
}

.pesquisa-main {
    flex: 1;
    overflow-y: scroll;
    height: 60dvh;
    padding-right: 8px;
}

.pesquisa-main::-webkit-scrollbar {
    width: 8px;
}

.pesquisa-main::-webkit-scrollbar-track {
    background: #ededed;
}

.pesquisa-main::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 4px;
}

.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.evento-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
    background-color: #fff;
}

.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.evento-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.sem-imagem {
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #666;
}

.sem-imagem i {
    font-size: 40px;
    margin-bottom: 10px;
}

.evento-info {
    padding: 15px;
}

.evento-info h3 {
    font-size: 19px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #373737;
    margin-bottom: 6px;
    overflow: hidden;
}

.evento-data {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #666;
}

.distancia {
    background: #f0f0f0;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 5px;
    color: #333;
}

.evento-organizador {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #888;
}

.evento-categoria {
    margin: 0;
    font-size: 14px;
    color: #f3803f;
    font-weight: 500;
}

.nenhum-resultado {
    text-align: center;
    padding: 50px 0;
    color: #666;
}

.nenhum-resultado i {
    font-size: 50px;
    margin-bottom: 15px;
    color: #ccc;
}

.seta-filro {
    display: none !important;
}

.txt-modif {
    color: #f3803f;
}

.responsa {
    display: none;
}

@media (max-width: 768px) {
    .responsa {
        display: flex;
    }

    .pesquisa-container {
        flex-direction: column;
    }

    .filtros-sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
        padding: 0;
        position: relative;
        border-radius: 30px;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
        cursor: pointer;
    }

    .pesquisa-main {
        padding: 0;
        overflow-y: hidden;
    }

    .aplicar-filtros {
        cursor: pointer;
    }

    .seta-filro {
        display: flex !important;
    }

    .filtros-sidebar-h3 {
        padding: 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #form-filtros {
        display: none;
        position: absolute;
        top: 4rem;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-sizing: border-box;
        border-radius: 12px;
        border-top: none;
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    }

    #form-filtros.aparecer {
        display: flex;
        animation: fadeIn 0.3s ease;
        flex-direction: column;
        z-index: 2;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.loading {
    text-align: center;
    padding: 50px;
    font-size: 18px;
    color: #666;
}