/* Estilo do Modal style.css */
.modal {
  display:none;
  position:fixed; inset:0;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content:center; align-items:center;
  z-index:1000;
}

/* Conteúdo */
.modal-content {
  background:#fff;
  padding:20px;
  border-radius:12px;
  box-shadow:0 4px 18px rgba(0,0,0,.18);
  width:90%; max-width:480px;
  position:relative;
  margin:auto;
  overflow:hidden;
}

/* Animações */
@keyframes slideRight { from{transform:translateX(100%)} to{transform:translateX(0)} }
@keyframes slideLeft  { from{transform:translateX(-100%)} to{transform:translateX(0)} }

/* Título */
.modal-title {
  text-align:center;
  margin-bottom:14px;
  font-size:22px;
  font-weight:800;
}

/* Fechar */
.close {
  position:absolute; top:10px; right:15px;
  font-size:22px; cursor:pointer;
}

/* Abas (com destaque forte na ativa) */
.tabs {
  display:flex; justify-content:center; gap:10px; margin-bottom:16px;
}
.tab-button {
  position:relative;
  background:#f6f7f8; color:#333;
  padding:10px 16px; border:none; cursor:pointer;
  border-radius:10px; font-weight:600;
  transition:background .25s, transform .05s;
}
.tab-button:hover { background:#eef1f3 }
.tab-button.active {
  background:#ffffff;
  color:#1b5e20;
  box-shadow:0 2px 10px rgba(0,0,0,.08);
  transform:translateY(-1px);
}
.tab-button.active::after{
  content:"";
  position:absolute; left:10%; right:10%; bottom:-6px; height:3px;
  background:#4CAF50; border-radius:999px;
}

/* Conteúdo das abas */
.tab-content {
  display:none;
  opacity:0;
  transform:translateX(100%);
  transition:opacity .5s, transform .5s;
}
.tab-content.active { display:block; opacity:1; }
.tab-content.slide-right { animation: slideRight .5s forwards; }
.tab-content.slide-left  { animation: slideLeft  .5s forwards; }

/* Inputs/Botões (escopando ao modal) */
.modal-content input {
  width:100%; padding:10px; margin-bottom:10px;
  border:1px solid #ccc; border-radius:8px;
}
.modal-content button {
  width:100%; padding:12px;
  background:#4CAF50; color:#fff;
  border:none; border-radius:10px; font-size:16px; cursor:pointer;
}
.modal-content button:hover { background:#45a049; }

/* Seleção de usuário */
.user-type-card {
  flex:1; background:#f9f9f9; border-radius:10px;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
  padding:20px; text-align:center; cursor:pointer;
  transition:transform .3s ease, box-shadow .3s ease; position:relative;
}
.user-type-card i { font-size:50px; margin-bottom:10px; color:#4CAF50; }
.user-type-card.selected { border:2px solid #4CAF50; background:#f0f0f0; box-shadow:0 4px 8px rgba(0,0,0,0.1); }
.user-type-card input[type="radio"] { position:absolute; bottom:15px; left:50%; transform:translateX(-50%); }

/* ✅ Espaçamento do reCAPTCHA v2 no login */
.g-recaptcha { margin: 6px 0 10px; }

/* UI da senha (wrapper do olho) */
.br-input-wrap { position: relative; }
.br-input { padding-right: 42px !important; }
.br-eye {
  position: absolute;
  right: 10px; top: 50%; transform: translateY(-50%);
  cursor: pointer; opacity: 0.85;
}
.pw-req { font-size: 12px; color:#333; background:#fafafa; border:1px dashed #ddd; padding:8px; border-radius:8px; margin-top:-4px; margin-bottom:10px; }
.pw-req ul { margin: 6px 0 0 18px; padding:0; }
.pw-req li.ok { color:#2e7d32; }
.pw-req li.bad { color:#b71c1c; }

/* Centralizar o reCAPTCHA no modal */
/* Espaçamento do reCAPTCHA no login */
#login-form #recaptcha-login{
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 18px 0 22px;   /* ↑ mais distância acima/abaixo */
}
#recaptcha-login > div{
  margin: 0 auto;
}

/* (opcional) dá um respiro entre o reCAPTCHA e o botão */
#login-form button[type="submit"]{
  margin-top: 8px;
}
