.glw-box {
  background: transparent;
  padding: 16px;
  border-radius: 10px;
  width: 100%;
  font-family: 'Segoe UI', 'Inter', sans-serif;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Título com destaque para "WhatsApp" */
.glw-box h2 {
  text-align: center;
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 600;
}

.glw-box h2 span {
  font-weight: 700;
  color: #25d366;
}

/* Labels e descrições */
.glw-box label {
  display: block;
  margin: 4px 0 2px;
  font-weight: 600;
  color: #222;
  font-size: 15px;
}

.glw-box small {
  display: block;
  margin-bottom: 6px;
  color: #555;
  font-size: 13px;
  line-height: 1.4;
}

/* Inputs e textarea refinados */
.glw-box input,
.glw-box textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 2px solid #5AB46A;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(90, 180, 106, 0.1);
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Remove o foco azul e aplica glow verde */
.glw-box input:focus,
.glw-box textarea:focus {
  outline: none !important;
  border-color: #25d366 !important;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
}

.glw-box textarea {
  resize: vertical;
  min-height: 100px;
}

/* Botões modernos com ícone e animação */
#glw-generate,
#glw-copy,
#glw-download,
#glw-test,
#glw-share {
  background-color: #25d366 !important;
  color: white !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 14px !important;
  cursor: pointer !important;
  margin-top: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  font-family: 'Segoe UI', 'Inter', sans-serif !important;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: none !important;
}

#glw-generate:hover,
#glw-copy:hover,
#glw-download:hover,
#glw-test:hover,
#glw-share:hover {
  background-color: #1cae56 !important;
  transform: translateY(-1px);
  box-shadow: 0 0 8px rgba(37, 211, 102, 0.3);
}

/* Link gerado e QRCode */
#glw-link {
  display: block;
  word-break: break-word;
  margin: 10px 0;
  color: #333;
  font-size: 14px;
}

#glw-qrcode {
  margin: 20px auto;
  width: fit-content;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
  .glw-box {
    padding: 14px;
  }
}

/* Largura máxima controlada em telas grandes */
@media (min-width: 1024px) {
  .glw-box {
    max-width: 480px;
    margin: 0 auto;
  }
}

/* Oculta o botão de compartilhar link em telas grandes (desktop) */
@media (min-width: 768px) {
  #glw-share {
    display: none !important;
  }
}

/* CSS para o novo Box de Aviso de E-mail */
.glw-email-notice {
    background-color: #f0fff4; /* Verde bem claro */
    border-left: 5px solid #28a745; /* Borda verde escura */
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 5px;
    text-align: center;
}
.glw-email-notice h3 {
    margin-top: 0;
    color: #155724; /* Verde escuro */
    font-size: 1.1em;
}
.glw-email-notice p {
    margin-bottom: 5px;
    color: #333;
}
