h1, h2 {
  text-align: center;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

h1 {
    color: #005c6a;
    font-weight: bold;
}

@media (max-width: 1024px) {
   h1 {
    font-size: 2rem; 
    line-height: 1.2;
  }
}

@media (max-width: 768px) {
   h1 {
    font-size: 2.25rem;
    line-height: 1.2;
  }

   h2 {
    font-size: 1rem; /* 16px */
    line-height: 1.4;
  }

}

@media (max-width: 480px) {
   h1 {
    font-size: 1.5rem;
    line-height: 1.25;
  }

   h2 {
    font-size: 0.875rem; /* 14px */
  }
}

@media (max-width: 360px) {
   h1 {
    font-size: 1.25rem;
  }

   h2 {
    font-size: 0.8125rem;
  }

  .recaptcha-wrapper {
    transform: scale(0.75);
  }
}

.wp-auth {
  min-height: 100vh;
}

.wp-tab-content {
  display: none;
  margin: 20px 20px 0 10px;
}

/* Mostra formulário */
.wp-tab-content.is-active {
  display: block;
}

.wp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wp-header h1 {
  font-weight: bold;
  font-size: 32px;
  /* color: #005c6a; */
}

.wp-tab-content form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wp-tab-content label {
  font-weight: 600;
  padding: 0%;
  color: #005c6a;
}

.wp-tab-content input {
  width: 100%;
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid #ccc;
  outline: none;
  transition: border-color 0.2s;
}

.wp-tab-content input:focus {
  border-color: #005c6a;
}

/* Botão */
.form-actions button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  /* margin-top: 15px; */
  background-color: #005c6a;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.3s, opacity 0.3s;
}

.form-actions button:hover {
  background-color: #999999;
}

.form-actions button:focus,
.form-actions button:focus-visible,
.form-actions button:active {
  background-color: #005c6a;
  outline: none !important;
  box-shadow: none !important;
}

/* texto normal */
.form-actions .btn-text {
  display: inline-block;
}

/* loader escondido */
.form-actions .btn-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* estado carregando */
.form-actions button.is-loading {
  pointer-events: none;
  opacity: 0.8;
}

.form-actions button.is-loading .btn-text {
  display: none;
}

.form-actions button.is-loading .btn-loader {
  display: inline-block;
}

/* animação */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Botão de login e registro*/
.wp-header button {
  font-weight: bolder;
  text-decoration: none;
  background: #005c6a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 14px;
  transition: background 0.3s;
  border: #005c6a;
}

.wp-header button:hover {
  background: #999999;
}

/* Esqueci minha senha */
.wp-forget-password {
  color: #999999 !important;
  font-size: 14px;
  font-weight: bold;
}

.wp-forget-password:hover {
  text-decoration: underline;
  color: #005c6a !important;
}

.mensage_error {
  display: none;
  color: #fff;
  background-color: #d32f2f;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 13px;
  margin-top: 4px;
  font-weight: bold;
}

/* Quando houver erro */
.mensage_error.is-active {
  display: inline-block;
}

.input-error {
  border: 1px solid #ff4d4d !important;
}

.recaptcha-wrapper {
  transform-origin: 0 0;
}

/* Telas muito pequenas */
/*@media (max-width: 360px) {*/
/*  .recaptcha-wrapper {*/
/*    transform: scale(0.75);*/
/*  }*/
/*}*/

.mensage_success {
  display: none;
  color: #fff;
  background-color: #2e7d32;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
  /* margin: 20px 0 20px 0; */
}

/* Quando houver erro */
.mensage_success.is-active {
  display: inline-block;
}

/* Mostrar senha */
.password_legend {
  font-size: 14px;
  font-weight: 600;
  color: #999999;
  margin-top: -8px;
}

.show-password {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: -8px;
}

/* Remove o estilo global do input */
.show-password input[type="checkbox"] {
  width: auto;
  border: none;
  accent-color: #005c6a; /* cor do checkbox */
}

/* Label do checkbox */
.show-password label {
  font-size: 14px;
  font-weight: 600;
  color: #999999;
  cursor: pointer;
}
