body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #FEFCF6;
    margin: 0;
}

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 500px;
}

h1 {
    color: #333;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

input[type="number"] {
    width: calc(100% - 22px);
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

button {
    background-color: #DE741B;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

button:hover {
    background-color: #fba724;
}

.resultado-group {
    margin-top: 30px;
    padding: 15px;
    background-color: #FEFCF6;
    border-radius: 4px;
    border: 3px solid #DE741B;
}

#resultadoTexto {
    font-size: 1.2em;
    color: #333;
    font-weight: bold;
    margin: 0;
    word-wrap: break-word; /* Para quebrar palavras longas */
}

#numeroFormatado {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px; /* Espaçamento entre o número formatado e o por extenso */
    word-wrap: break-word;
}

/* Adicione estas regras ao final do seu style.css existente */

#loadingSpinner {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #DE741B;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite; /* Animation */
    margin: 15px auto 0 auto; /* Center it below the button */
    display: none; /* Hidden by default */
}

.spinner-hidden {
    display: none !important;
}

.spinner-visible {
    display: block !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

a {
    text-decoration: none; /* Remove o sublinhado */
    color: #DE741B; /* Cor azul padrão */
    font-size: 12px;
    text-decoration: underline;
    }

    a:hover {
    color: #fba724; /* Altera a cor ao passar o mouse */
    text-decoration: underline; /* Adiciona sublinhado ao passar o mouse */
    }

    a:visited {
     color: #007bff; /* Cor azul padrão // Cor para links já visitados #551a8b;*/
    }