/* Estilos básicos para a página */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f9;
}

h1 {
    color: #333;
    text-align: center;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

label, button {
    display: block;
    width: 100%;
    margin: 10px 0;
    font-size: 1.1em;
}

input {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
}

button {
    padding: 10px;
    border: none;
    background-color: #007bff;
    color: #fff;
    font-size: 1em;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.tutorial {
    font-size: 0.9em;
    color: #555;
    margin-top: 20px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    line-height: 1.6;
}

.tutorial h3 {
    margin-top: 0;
    color: #007bff;
    font-size: 1.1em;
}

.result-section {
    margin-top: 20px;
}

.result-section h3 {
    color: #007bff;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.no-results {
    color: #d9534f;
    font-size: 0.9em;
    margin-top: 10px;
    text-align: center;
}

.cid-link-container {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.cid-link {
    color: #000;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.cid-link:hover {
    text-decoration: underline;
}

/* Estilos para a janela modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80%;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    background-color: #007bff;
    border: none;
    font-size: 1.3em;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
    font-family: Arial, sans-serif;
    padding: 4px 8px;
    border-radius: 6px;
}

.close-btn:hover {
    background-color: #0056b3;
    color: #fff;
}

.procedimento-item {
    padding: 8px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.procedimento-item:hover {
    background-color: #f0f8ff;
}

/* Estilos do rodapé */
.footer {
    max-width: 600px;
    margin: 30px auto;
    text-align: center;
    color: #666;
    font-size: 0.9em;
}

/* Estilo da seção de doação */
.donation-section {
    margin-top: 20px;
    font-weight: bold;
}

/* Estilos para a lista de autocomplete */
.autocomplete-suggestions {
    position: absolute;
    border: 1px solid #ddd;
    background-color: #fff;
    max-height: 150px;
    overflow-y: auto;
    width: calc(100% - 20px);
    z-index: 1000;
}

.autocomplete-suggestion {
    padding: 10px;
    cursor: pointer;
}

.autocomplete-suggestion:hover {
    background-color: #f0f8ff;
}
