/* Reset e base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 20px;
  color: #333;
  font-family: Helvetica;
}
.imagem-whatsapp {
  position: absolute; /* Posicionamento absoluto */
  top: 50px; /* Distância do topo */
  left: 40px; /* Distância da esquerda */
  width: 170px; /* Ajuste o tamanho conforme necessário */
  height: auto; /* Mantém a proporção da imagem */
}

.imagem-suporte {
  width: 20px; /* Define a largura desejada */
  height: auto; /* Mantém a proporção da imagem */
  vertical-align: middle; /* Alinha a imagem com o texto */
  margin-right: 5px; /* Adiciona um pequeno espaço à direita */
}

.imagem-verificado {
  width: 25px !important; /* Ajuste a largura conforme desejado */
  height: auto; /* Mantém a proporção da imagem */
  vertical-align: middle; /* Alinha a imagem com o texto */
  margin-left: 5px; /* Espaço entre o texto e a imagem */
  margin-top: 10px;
}

.logo-cnm {
  width: 200px !important;
  height: 300px !important;
}

/* Container principal */
.whatsapp-container {
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  max-width: 500px;
  width: 100%;
  text-align: center;
}

/* Logo */
.whatsapp-logo img {
  width: 90px;
  margin-bottom: 15px;
}

.whatsapp-title {
  font-size: 1.8rem;
  color: #333;
}

.whatsapp-text {
  font-size: 1rem;
  color: gray;
}

.whatsapp-check {
  color: #ff9d01;
  font-size: 1.2rem;
  margin-left: 5px;
}

/* Formulário */
.whatsapp-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.whatsapp-input {
  padding: 12px 15px;
  width: 100%;
  font-size: 1rem;
  border-radius: 9px;
  border: 1px solid #dbe0e9;
  background: #f7f7f7;
  outline: none;
  transition: border-color 0.3s ease;
}

.whatsapp-input::placeholder {
  color: #888c8c;
  font-family: Helvetica;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.whatsapp-input:focus {
  border-color: #ff9d01;
}

/* Botão */
.whatsapp-button {
  margin-top: 10px;
  padding: 12px;
  font-size: 1rem;
  color: #fff;
  background-color: #ff9d01;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #ff9d01;
}

/* Suporte */
.whatsapp-suporte {
  margin-top: 25px;
  font-size: 0.9rem;
}

.whatsapp-suporte-text {
  margin-bottom: 5px;
  color: #666;
}

.whatsapp-link {
  color: #ff9d01;
  font-weight: bold;
  text-decoration: none;
}

.whatsapp-link:hover {
  text-decoration: underline;
}

/* Botão desabilitado */
.whatsapp-button.disabled {
  background-color: #d3d3d3; /* Cor cinza para indicar que está desabilitado */
  color: #a0a0a0;
  cursor: not-allowed;
  animation: pulse 1.5s infinite; /* Animação para chamar atenção */
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

/* Botão habilitado */
.whatsapp-button:not(.disabled):hover {
  background-color: #ff9d01;
}

/* Botão habilitado com animação */
.whatsapp-button.activated {
  animation: pop-in 0.5s ease-in-out;
}

@keyframes pop-in {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

/* Overlay de carregamento */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-message {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  animation: fade-in-out 1.5s infinite;
}

/* Animação para o texto */
@keyframes fade-in-out {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* Container do telefone */
.telefone-container {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px;
  width: 100%;
}

/* Estilização do +55 e bandeira */
.telefone-prefixo {
  display: flex;
  align-items: center;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  background: #f1f1f1;
  border-right: 1px solid #ccc;
  border-radius: 5px 0 0 5px;
}

/* Ajuste do campo de telefone */
.telefone-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px;
  font-size: 16px;
  border-radius: 0 5px 5px 0;
}

.whatsapp-policies {
  font-size: 0.7rem;
  color: #666;
}