body {
    font-family: Arial, sans-serif;
    background: #fafafa;
    margin: 0;
    padding: 5px 10px;
}

.container {
    max-width: 420px;
    margin: 40px auto;
    background: white;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    text-align: center;
}

.topo-site {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 38px;
}

.logo-site {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    flex: none;
}

.nome-site {
    font-size: 18px;
    font-weight: 700;
    color: #444;
    letter-spacing: 0.3px;
}

h1 {
    color: #d63384;
    font-size: 34px;
    margin-bottom: 10px;
    line-height: 1.1;
    text-align: center;
}

p {
    color: #555;
    font-size: 15px;
}

input {
    width: 100%;
    padding: 14px;
    font-size: 18px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 15px 0;
    text-align: center;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 14px;
    background: #d63384;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #b82b70;
}

.resultado {
    margin-top: 20px;
    text-align: left;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    display: none;
}

.erro {
    color: #c1121f;
    margin-top: 15px;
    font-weight: bold;
}

.numeros {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.numero-card {
    background: white;
    border: 1px solid #f0c7df;
    border-radius: 10px;
    padding: 10px 6px;
    text-align: center;
    font-weight: bold;
    color: #333;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.hidden {
  display: none !important;
}

.loading {
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  background: #fff4fb;
  border: 1px solid #f0c7df;
  color: #d63384;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid #f3c4dc;
  border-top: 3px solid #d63384;
  border-radius: 50%;
  animation: girar 0.8s linear infinite;
}

@keyframes girar {
  to {
    transform: rotate(360deg);
  }
}

.total-numeros {
    background: linear-gradient(135deg, #d63384, #ff4da6);
    border-radius: 16px;
    padding: 20px 18px;
    margin: 18px 0;
    text-align: center;
    color: white;
    box-shadow: 0 8px 20px rgba(214, 51, 132, 0.20);
}

.total-label {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0.95;
}

.total-valor {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
}

.opcoes-consulta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 18px 0 12px;
}

.opcao {
    padding: 12px 8px;
    border-radius: 10px;
    border: 1px solid #f0c7df;
    background: #fff4fb;
    color: #d63384;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.opcao.ativa {
    background: #d63384;
    color: white;
    border-color: #d63384;
}

.campo-whatsapp {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.campo-whatsapp input {
    margin: 0;
}

#ddd {
    width: 85px;
    flex: none;
    text-align: center;
}

#numeroWhatsapp {
    flex: 1;
}

.ultima-atualizacao {
    text-align: center;
    background: white;
    border: 1px solid #f0c7df;
    border-radius: 12px;
    padding: 12px;
    margin: 15px 0;
    color: #555;
    font-size: 14px;
}

.ultima-atualizacao span {
    color: #d63384;
    font-weight: bold;
}