/* ── Página de Login ─────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
  padding: 40px 10%;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}
.auth-page::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(201,168,76,.08);
}
.auth-page::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -15%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}

.auth-left {
  flex: 0 1 550px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  position: relative;
  z-index: 1;
}
.auth-left .brand {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 48px;
}
.auth-left .brand-icon {
  width: 54px; height: 54px;
  background: var(--accent);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-dark);
  font-weight: 900;
  font-family: 'Playfair Display', serif;
}
.auth-left .brand h1 { font-size: 1.6rem; color: #fff; }
.auth-left .brand p  { font-size: .8rem; opacity: .6; }

.auth-left h2 { font-size: 2.2rem; color: #fff; line-height: 1.2; margin-bottom: 16px; }
.auth-left p  { opacity: .75; font-size: 1rem; line-height: 1.7; max-width: 420px; }

.auth-features { margin-top: 40px; }
.auth-feature {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
  font-size: .9rem;
  opacity: .85;
}
.auth-feature i { color: var(--accent); font-size: 1rem; width: 20px; }

.auth-right {
  width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.auth-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.auth-card h2 { font-size: 1.5rem; color: var(--primary); margin-bottom: 6px; }
.auth-card .subtitle { color: var(--gray-500); font-size: .9rem; margin-bottom: 28px; }
.auth-divider { text-align: center; color: var(--gray-400); font-size: .8rem; margin: 20px 0; position: relative; }
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--gray-200);
}
.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }
.auth-footer { text-align: center; margin-top: 20px; font-size: .85rem; color: var(--gray-500); }

/* Password toggle */
.input-password { position: relative; }
.input-password .form-control { padding-right: 44px; }
.input-password .toggle-password {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  cursor: pointer;
  font-size: .95rem;
  transition: var(--transition);
}
.input-password .toggle-password:hover { color: var(--primary); }

@media (max-width: 900px) {
  .auth-left { display: none; }
  .auth-right { width: 100%; }
}
@media (max-width: 480px) {
  .auth-right { padding: 20px; }
  .auth-card { padding: 28px 24px; }
}
