/* ============================================================
   GABARITOU 2.0 — Login Page Styles
   ============================================================ */

.login-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* ─── LADO ESQUERDO (brand) ─── */
.login-brand {
  background: var(--bg-sidebar);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}

/* Decoração de fundo */
.login-brand::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,150,.12) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}
.login-brand::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,124,247,.10) 0%, transparent 70%);
  bottom: -50px; left: -50px;
  pointer-events: none;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo img { width: 42px; height: 42px; }
.brand-logo-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}

.brand-content { position: relative; z-index: 1; }
.brand-headline {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 32px;
  letter-spacing: -.02em;
}
.brand-headline span { color: var(--clr-green); }

.brand-features { display: flex; flex-direction: column; gap: 20px; }
.brand-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feature-icon-wrap {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: rgba(0,200,150,.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--clr-green);
}
.feature-icon-wrap svg { width: 18px; height: 18px; }
.feature-text strong { display: block; color: #fff; font-size: var(--fs-sm); font-weight: 600; }
.feature-text span { color: rgba(255,255,255,.5); font-size: var(--fs-xs); }

.brand-footer { position: relative; z-index: 1; }
.social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}
.proof-avatars { display: flex; }
.proof-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--bg-sidebar);
  background: linear-gradient(135deg, var(--clr-green), var(--clr-blue));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  margin-right: -8px;
}
.proof-text {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.55);
  line-height: 1.4;
}
.proof-text strong { color: rgba(255,255,255,.9); display: block; }

/* ─── LADO DIREITO (form) ─── */
.login-form-side {
  background: var(--bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
}

.login-card {
  width: 100%;
  max-width: 420px;
}

.login-tabs {
  display: flex;
  background: var(--bg-hover);
  border-radius: var(--radius-lg);
  padding: 4px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}
.login-tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--txt-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.login-tab.active {
  background: var(--bg-card);
  color: var(--txt-primary);
  box-shadow: var(--shadow-sm);
}

.form-title { font-size: var(--fs-xl); font-weight: 800; color: var(--txt-primary); margin-bottom: 6px; }
.form-sub { font-size: var(--fs-sm); color: var(--txt-muted); margin-bottom: 24px; }

.forgot-link {
  font-size: var(--fs-xs);
  color: var(--clr-blue);
  text-decoration: none;
  display: block;
  text-align: right;
  margin-top: -2px;
}
.forgot-link:hover { text-decoration: underline; }

.login-form { display: flex; flex-direction: column; gap: 16px; }

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--txt-primary);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.btn-google:hover {
  border-color: var(--clr-blue);
  box-shadow: 0 0 0 3px rgba(79,124,247,.08);
}
.btn-google svg { width: 18px; height: 18px; }

.auth-switch {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--txt-muted);
  margin-top: 6px;
}
.auth-switch a { color: var(--clr-green); font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

/* Painel de form visível/oculto */
.form-panel { display: none; }
.form-panel.active { display: flex; flex-direction: column; gap: 16px; }

/* ─── RESPONSIVIDADE ─── */
@media (max-width: 900px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-brand { display: none; }
  .login-form-side { padding: 32px 20px; align-items: flex-start; padding-top: 60px; }
}
