/* Estilos gerais */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    color: #333;
}

html {
    margin: 0;
    padding: 0;
    height: 100%;
}

.container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
}

input[type="text"],
button {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background-color: #002d5a;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
    padding: 12px 0;
}

button:hover {
    background-color: #00408e;
}

.convenio-button {
    background-color: #002d5a;
    margin-top: 5px;
}

.convenio-button:hover {
    background-color: #00408e;
}

.option-button {
    background-color: #ffc107;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-button {
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    text-align: left;
    width: 100%;
    max-width: 300px; /* Ajuste conforme necessário */
    transition: background-color 0.3s, color 0.3s;
}

.option-button:hover {
    background-color: #e0e0e0; /* Cor de fundo mais escura ao passar o mouse */
}
.spinner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #3498db;
    animation: spin 1s infinite linear;
    position: fixed;
    top: calc(50% - 20px);
    left: calc(50% - 20px);
    display: none; /* Inicialmente oculto */
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.negrito-azul {
    font-weight: bold;
}

.color-grey {
    color: #808080; /* Cor cinza para o texto do prazo */
}

.color-blue {
    color: blue; /* Cor azul para o valor */
}

.card-pequeno-laranja {
    background-color: orange; /* Cor de fundo laranja para o card pequeno */
    color: white; /* Texto branco dentro do card */
    padding: 5px;
    border-radius: 15px;
    margin-top: 5px;
    text-align: center;
}

.card-pequeno {
    display: inline-block;
    width: calc(33.33% - 20px);
    margin-right: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-out;
}

.card-pequeno:hover {
    transform: translateY(-5px);
}

.card-content {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-content {
    display: flex;
    align-items: center;
}

.card-icon {
    font-size: 24px;
    margin-right: 10px;
    color: #666;
}

.card-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.result {
    text-align: left;
    margin-top: 20px;
    background-color: #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.result p {
    margin: 10px 0;
}

.result p span {
    font-weight: bold;
}

.error-message {
    font-weight: bold;
    color: red;
}

.centered {
    text-align: center;
}

.negrito-verde {
    font-weight: bold;
    color: green;
}

.negrito-vermelho {
    font-weight: bold;
    color: red;
}

.negrito-azul {
    font-weight: bold;
    color: blue;
}

.espacamento {
    margin-bottom: 20px;
}

.color-subtle {
    color: #3d3a3a;
}

.navbar {
    background-color: #002d5a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar img {
    height: 60px;
    margin-right: 10px;
}

.navbar .auto-atendimento {
    font-size: 1rem;
    margin-left: auto;
    margin-right: 2rem;
    text-align: center;
    font-weight: bold;
}

.intro-text {
    margin-top: 80px;
    padding: 20px;
    background-color: #f4f4f4;
    text-align: center;
    font-size: 1.2rem;
}

.intro-text img {
    width: 150px;
    margin-bottom: 10px;
}

.intro-text p {
    margin-bottom: 0;
}

.info-text {
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: left;
    margin-left: 20px;
    font-weight: bold;
    color: orange;
}

.container label {
    display: block;
    text-align: left;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    color: #333;
}

.container input[type="text"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 0.9rem;
}

.footer {
    position: fixed;
    bottom: 10px;
    right: 10px;
    text-align: center;
    z-index: 1000;
}

/* Fixar o ícone no rodapé */
.whatsapp {
    position: fixed;
    bottom: 10px; /* Espaçamento a partir do fundo */
    right: 10px; /* Espaçamento a partir do lado direito */
    width: 4rem; /* Aumentado o tamanho inicial */
    height: 4rem; /* Altura inicial */
    z-index: 1000; /* Garantir que o ícone esteja acima de outros elementos */
}

/* Ajuste da imagem dentro do contêiner */
.whatsapp img {
    max-width: 100%; /* O ícone ocupa a largura total do contêiner */
    height: auto; /* Mantém a proporção da imagem */
}

/* Responsividade para telas menores (celulares) */
@media (max-width: 600px) {
    .whatsapp {
        width: 3.5rem; /* Aumentado o tamanho para dispositivos móveis */
        height: 3.5rem;
        bottom: 15px; /* Ajuste de espaçamento no rodapé */
        right: 15px;
    }
}

.whatsapp .balao-mensagem {
    position: absolute;
    bottom: 60px;
    left: -50px;
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    font-size: 0.8rem;
    max-width: 240px;
    text-align: center;
}

.whatsapp .balao-mensagem:before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: #f4f4f4;
    z-index: 1002;
}

.color-orange {
    color: orange;
}

.color-blue {
    color: blue;
}