/* ============================================
   ÁREA DE INVESTIDORES – LOGIN & RECUPERAÇÃO
   ============================================ */
/* Wrapper usado no login shortcode */
.grano-login-wrap,
.grano-investidores-auth {
  max-width: 520px;
  margin: 48px auto;
  margin-top: 127px;
  padding: 28px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #eee;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

/* Título (quando usar wrapper com h2) */
.grano-investidores-auth h2,
.grano-login-wrap h2 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  color: #222;
  text-align: center;
}

/* Formularios (aplica tanto ao wp_login_form quanto aos forms custom) */
.grano-login-wrap form,
.grano-investidores-auth form,
form[action*="lostpassword"] ,
form[action*="resetpass"] {
  display: block;
}

/* Inputs */
.grano-login-wrap input[type="text"],
.grano-login-wrap input[type="password"],
.grano-login-wrap input[type="email"],
.grano-investidores-auth input[type="text"],
.grano-investidores-auth input[type="password"],
.grano-investidores-auth input[type="email"],
form[action*="lostpassword"] input,
form[action*="resetpass"] input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #d7d7d7;
  background: #fbfbfb;
  font-size: 15px;
  margin-bottom: 14px;
  box-sizing: border-box;
}

.grano-login-wrap input:focus,
.grano-investidores-auth input:focus {
  outline: none;
  border-color: #ff6a00;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,106,0,0.06);
}

/* Botões */
.grano-login-wrap input[type="submit"],
.grano-login-wrap button,
.grano-investidores-auth input[type="submit"],
.grano-investidores-auth button,
form[action*="lostpassword"] button,
form[action*="resetpass"] button {
  display: inline-block;
  width: 100%;
  padding: 12px 16px;
  background: #ff6a00;
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
  text-align: center;
  box-sizing: border-box;
}

.grano-login-wrap input[type="submit"]:hover,
.grano-investidores-auth input[type="submit"]:hover {
  filter: brightness(1.06);
}

/* Links auxiliares (esqueci senha) */
.grano-login-wrap p a,
.grano-investidores-auth p a {
  color: #ff6a00;
  text-decoration: none;
  font-size: 14px;
}
.grano-login-wrap p a:hover,
.grano-investidores-auth p a:hover { text-decoration: underline; }

/* Mensagens */
.grano-auth-success, .success {
  padding: 12px 14px;
  background: #E9F8EE;
  color: #11623d;
  border: 1px solid #C7EACB;
  border-radius: 6px;
  margin-bottom: 14px;
}

.grano-auth-error, .error {
  padding: 12px 14px;
  background: #FDF0F0;
  color: #8b1212;
  border: 1px solid #F4CFCF;
  border-radius: 6px;
  margin-bottom: 14px;
}

/* Pequenos ajustes de responsividade */
@media (max-width: 520px) {
  .grano-login-wrap, .grano-investidores-auth {
    margin-top: 127px;
    margin: 24px 16px;
    padding: 20px;
  }
}