/* Pantallas de acceso a pantalla completa (login, registro, recuperación, portal, maestro) */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-hero {
  position: relative; overflow: hidden; color: #fff; padding: 3rem clamp(2rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(1200px 600px at -10% -10%, rgba(255,255,255,.18), transparent 60%),
              linear-gradient(140deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 55%, #0d9488) 55%, #0f172a 100%);
}
.auth-hero::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; bottom: -180px; background: rgba(255,255,255,.07); }
.auth-hero .brand { display: flex; align-items: center; gap: .8rem; font-weight: 800; font-size: 1.35rem; position: relative; z-index: 1; }
.auth-hero .brand .logo { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 1.4rem; backdrop-filter: blur(6px); }
.auth-hero h1 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 800; line-height: 1.1; max-width: 560px; position: relative; z-index: 1; }
.auth-hero p.lead { opacity: .9; max-width: 520px; position: relative; z-index: 1; }
.auth-feats { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .8rem; position: relative; z-index: 1; }
.auth-feats li { display: flex; gap: .7rem; align-items: center; }
.auth-feats li i { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.15); display: grid; place-items: center; }
.auth-float { position: relative; z-index: 1; display: flex; gap: 1rem; flex-wrap: wrap; }
.auth-float .glass { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); border-radius: 16px; padding: .9rem 1.1rem; display: flex; align-items: center; gap: .8rem; animation: flot 6s ease-in-out infinite; }
.auth-float .glass:nth-child(2) { animation-delay: -3s; }
.auth-float .ring { width: 48px; height: 48px; border-radius: 50%; background: conic-gradient(#4ade80 86%, rgba(255,255,255,.2) 0); display: grid; place-items: center; position: relative; }
.auth-float .ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: rgba(15,23,42,.55); }
.auth-float .ring b { position: relative; font-size: .78rem; }
@keyframes flot { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.auth-form { background: var(--surface); display: flex; align-items: center; justify-content: center; padding: 2.5rem 1.25rem; position: relative; }
.auth-form .inner { width: 100%; max-width: 440px; }
.auth-form h2 { font-weight: 800; }
.auth-form .form-control { padding: .75rem .95rem; }
.auth-form .input-group-text { background: var(--surface-2); border-color: var(--border); border-radius: 10px; }
.auth-form .btn-lg { padding: .75rem; font-size: 1rem; border-radius: 12px; }
.auth-top { position: absolute; top: 1rem; right: 1rem; display: flex; gap: .5rem; }
.btn-social { border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 12px; padding: .65rem; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: .55rem; width: 100%; }
.btn-social:hover { background: var(--surface-2); color: var(--text); }
.btn-social svg { width: 20px; height: 20px; }
.divider { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .8rem; margin: 1.2rem 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.pass-toggle { cursor: pointer; }
@media (max-width: 991.98px) {
  .auth { grid-template-columns: 1fr; }
  .auth-hero { padding: 1.6rem 1.25rem 2.2rem; min-height: auto; }
  .auth-hero h1 { font-size: 1.6rem; margin-top: 1rem; }
  .auth-hero .auth-feats, .auth-hero .auth-float, .auth-hero p.lead { display: none; }
  .auth-form { align-items: flex-start; border-radius: 22px 22px 0 0; margin-top: -18px; }
}
