  body {
            font-family: Arial, sans-serif;
            background-color: #007ced;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            flex-direction: column;
            padding-top: 1px;
        }

        .container {
            background: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            width: 100%;
        }

        h1 {
            text-align: center;
            margin-bottom: 20px;
        }

        .input-group {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 20px;
        }

        .input-group input {
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .input-group button {
            padding: 10px 20px;
            background-color: #005bb5;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            width: 100%;
            max-width: 800px;
            margin: 0 auto;
        }

        .input-group button:hover {
            background-color: #003d7a;
        }

        /* Resultados como lista */
.results {
    list-style-type: none;
    padding: 10px;
    width: 100%; /* Ajusta a largura da lista para 100% */
    max-width: none; /* Remove qualquer limite de largura */
    margin: 20px auto; /* Centraliza a lista, se necessário */
    display: block; /* Faz a lista ficar em formato de bloco (um embaixo do outro) */
}

.result-item {
    background: #f5f5f5;
    padding: 25px;
    margin-bottom: 15px; /* Aumenta o espaço entre os itens */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
    width: 100%; /* Faz cada item ocupar toda a largura disponível */
    box-sizing: border-box;
}




        /* Adiciona a linha separando os itens */
        .result-item + .result-item {
            border-top: 1px solid #ddd; /* Linha separadora */
        }

        /* Animação de carregamento */
        #loadingText {
            color: black;
            font-size: 30px;
            margin-top: 10px;
            display: none;
            text-align: center;
            animation: fadeIn 1s infinite;
        }

        @keyframes fadeIn {
            0% { opacity: 0; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }

        /* Modal */
        .modal,
        .content-box {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        .modal-content {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            width: 80%;
            max-width: 600px;
        }

        .close-button {
            background-color: red;
            color: white;
            border: none;
            border-radius: 4px;
            padding: 5px 10px;
            cursor: pointer;
        }

        .close-button:hover {
            background-color: darkred;
        }

@media (max-width: 768px) {
    .result-item {
        width: 100%; /* Em telas menores, exibe um item por linha */
    }
}


.scroll-to-top-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none; /* Esconde o botão inicialmente */
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s ease;
 z-index: 9999; /* Garante que o botão fique sobreposto */
}
.scroll-to-top-button:hover {
    background-color: #005bb5;
}

.search-history {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 250px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 80vh;
    overflow-y: auto;
}

.search-history h2 {
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
}

.search-history ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.search-history li {
    margin-bottom: 10px;
    padding: 8px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 14px;
}

/* Estilização do botão de voltar */
.btn-voltar {
    position: fixed;
    top: 20px; /* Distância do topo da tela */
  /*  right: 20px;  Distância da lateral direita */
left: 20px; /* Distância da lateral esquerda */
    background-color: #007ced; /* Cor de fundo */
    color: #fff; /* Cor do texto */
    padding: 10px 20px;
    border-radius: 11px;
    text-decoration: none; /* Remove o sublinhado do link */
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombras para o efeito de profundidade */
    z-index: 1000; /* Garante que o botão fique acima de outros elementos */
}

.btn-voltar:hover {
    opacity: 0.8; /* Efeito de hover */
}
