/* ============================================================
   login.css — Página de login
   ============================================================ */

body.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(92,139,114,.13) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 10%, rgba(92,139,114,.09) 0%, transparent 70%);
}

.login-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 40px rgba(60,80,60,.12);
  padding: 52px 48px 44px;
  width: 100%;
  max-width: 420px;
  animation: rise .5s cubic-bezier(.22,1,.36,1) both;
}

.logo-area {
  text-align: center;
  margin-bottom: 36px;
}

.logo-icon {
  width: 58px; height: 58px;
  background: var(--sage-l);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 26px;
}

.logo-img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  margin: 0 auto 14px;
  display: block;
}

.logo-area h1 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--stone);
  font-weight: 600;
  line-height: 1.2;
}

.logo-area p {
  font-size: .83rem;
  color: var(--muted);
  margin-top: 5px;
}

.login-field { margin-bottom: 18px; }

.login-field label {
  display: block;
  font-size: .8rem;
  font-weight: 500;
  color: var(--stone);
  margin-bottom: 7px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.login-field input {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #e2ddd8;
  border-radius: 10px;
  font-size: .95rem;
  font-family: var(--font-sans);
  color: var(--stone);
  background: var(--cream);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.login-field input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(92,139,114,.15);
}

.erro-msg {
  background: #fdf0ef;
  border-left: 3px solid var(--error);
  color: var(--error);
  font-size: .85rem;
  padding: 10px 14px;
  border-radius: 7px;
  margin-bottom: 18px;
}

.btn-login {
  width: 100%;
  padding: 14px;
  background: var(--sage);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, transform .1s;
  margin-top: 6px;
}

.btn-login:hover  { background: var(--sage-d); }
.btn-login:active { transform: scale(.98); }

.login-hint {
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
  margin-top: 22px;
}

/* ── Login com Google ── */
.google-login-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.login-divisor {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
  color: var(--muted);
  font-size: .78rem;
}
.login-divisor::before,
.login-divisor::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border);
}
.login-divisor span { padding: 0 12px; }
