/* login.css — universal sign-in (zigou.com.br/login) that routes each
   profile to its correct destination. */

.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-aside { display: none; } }

/* Left brand panel */
.auth-aside {
  position: relative; overflow: hidden; padding: 3rem;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(700px 360px at 75% 8%, rgba(56,189,248,.22), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(200,164,93,.12), transparent 55%),
    linear-gradient(160deg, #0a1530, #060a14);
  border-right: 1px solid var(--xbyte-border);
}
.auth-aside::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 70% 10%, #000 20%, transparent 70%);
          mask-image: radial-gradient(circle at 70% 10%, #000 20%, transparent 70%);
}
.auth-aside > * { position: relative; z-index: 2; }
.auth-aside h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; }
.auth-feature { display: flex; gap: .8rem; align-items: flex-start; padding: .55rem 0; }
.auth-feature svg { flex: 0 0 auto; margin-top: 2px; stroke: var(--xbyte-cyan); }

/* Right form panel */
.auth-main { display: flex; align-items: center; justify-content: center; padding: 2.5rem 1.5rem; }
.auth-card { width: 100%; max-width: 420px; }
.auth-logo { display: flex; align-items: center; gap: .6rem; margin-bottom: 2rem; }

.role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.role-card {
  text-align: left; padding: .85rem; border-radius: .9rem; cursor: pointer;
  background: var(--xbyte-surface-2); border: 1px solid var(--xbyte-border);
  transition: all .15s ease; display: flex; flex-direction: column; gap: .35rem;
}
.role-card:hover { border-color: var(--xbyte-border-strong); transform: translateY(-2px); }
.role-card.active { border-color: rgba(56,189,248,.55); background: rgba(56,189,248,.08); box-shadow: 0 0 0 3px rgba(56,189,248,.12); }
.role-card .rc-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(56,189,248,.12); border: 1px solid rgba(56,189,248,.22); }
.role-card .rc-icon svg { width: 18px; height: 18px; stroke: var(--xbyte-cyan); }
.role-card.gold .rc-icon { background: rgba(200,164,93,.12); border-color: rgba(200,164,93,.25); }
.role-card.gold .rc-icon svg { stroke: var(--xbyte-gold); }
.role-card .rc-title { font-weight: 600; font-size: .92rem; }
.role-card .rc-sub { color: var(--xbyte-faint); font-size: .74rem; }

.demo-accounts { display: flex; flex-direction: column; gap: .4rem; }
.demo-account {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .6rem .8rem; border-radius: .7rem; cursor: pointer;
  background: var(--xbyte-surface-2); border: 1px solid var(--xbyte-border); transition: all .14s;
}
.demo-account:hover { border-color: var(--xbyte-border-strong); background: rgba(255,255,255,.04); }
.divider-or { display: flex; align-items: center; gap: 1rem; color: var(--xbyte-faint); font-size: .8rem; margin: 1.25rem 0; }
.divider-or::before, .divider-or::after { content: ""; flex: 1; height: 1px; background: var(--xbyte-border); }
