/* =========================================================
   GUARDIANOS V19 — SIMPLE CLIENT LOGIN + AMBIENT LIGHT
========================================================= */

.auth-v19 {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(43,155,220,.10), transparent 26%),
    radial-gradient(circle at 18% 72%, rgba(62,208,154,.06), transparent 24%),
    linear-gradient(145deg, #02070c 0%, #03101a 48%, #02080d 100%);
}

.auth-ambient {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  opacity: .55;
  animation: authOrbDrift 16s ease-in-out infinite;
}

.auth-orb-a {
  width: 34vw;
  height: 34vw;
  min-width: 320px;
  min-height: 320px;
  right: -10vw;
  top: -8vw;
  background: radial-gradient(circle, rgba(92,188,246,.22), rgba(25,139,207,.06) 42%, transparent 70%);
}

.auth-orb-b {
  width: 28vw;
  height: 28vw;
  min-width: 280px;
  min-height: 280px;
  left: -11vw;
  bottom: -10vw;
  background: radial-gradient(circle, rgba(62,208,154,.14), rgba(62,208,154,.03) 48%, transparent 72%);
  animation-delay: -7s;
}

.auth-beam {
  position: absolute;
  width: 44vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(92,188,246,.32), transparent);
  transform-origin: center;
  filter: blur(.2px);
  opacity: .35;
}

.auth-beam-a {
  top: 22%;
  right: -8%;
  transform: rotate(-22deg);
  animation: authBeamSweep 8s ease-in-out infinite;
}

.auth-beam-b {
  bottom: 26%;
  left: -10%;
  transform: rotate(18deg);
  animation: authBeamSweep 10s ease-in-out infinite reverse;
}

.auth-grid-light {
  position: absolute;
  inset: 0;
  opacity: .34;
  background:
    linear-gradient(rgba(92,188,246,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92,188,246,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 45%, black, transparent 76%);
  animation: authGridDrift 22s linear infinite;
}

.auth-shell-simple {
  position: relative;
  z-index: 1;
}

.auth-brand-panel-v19 {
  overflow: hidden;
}

.auth-brand-panel-v19::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: 54%;
  top: 52%;
  transform: translate(-50%,-50%);
  border: 1px solid rgba(92,188,246,.06);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(92,188,246,.018),
    0 0 0 140px rgba(92,188,246,.012),
    0 0 90px rgba(92,188,246,.025);
  pointer-events: none;
  animation: authRadarBreath 6s ease-in-out infinite;
}

.auth-live-status {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.auth-live-status span {
  min-height: 33px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(92,188,246,.09);
  border-radius: 999px;
  background: rgba(4,18,28,.54);
  color: #67899b;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  letter-spacing: .07em;
  backdrop-filter: blur(10px);
}

.auth-live-status span:first-child {
  color: #9bd8be;
  border-color: rgba(62,208,154,.13);
}

.auth-live-status i,
.login-status-line i,
.login-trust-row i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ed09a;
  box-shadow: 0 0 10px rgba(62,208,154,.55);
  animation: authStatusPulse 1.8s ease-in-out infinite;
}

.client-login-card-v19 {
  position: relative;
  width: min(100%, 560px);
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(92,188,246,.13);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(7,24,36,.89), rgba(3,13,21,.94));
  box-shadow:
    0 34px 90px rgba(0,0,0,.34),
    0 0 0 1px rgba(255,255,255,.018) inset,
    0 0 70px rgba(92,188,246,.045);
  backdrop-filter: blur(26px);
}

.client-login-card-v19::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 37%, rgba(255,255,255,.045) 48%, transparent 59%),
    radial-gradient(circle at top right, rgba(92,188,246,.09), transparent 28%);
  transform: translateX(-38%);
  animation: loginCardSheen 9s ease-in-out infinite;
  pointer-events: none;
}

.client-login-card-v19 > * {
  position: relative;
  z-index: 1;
}

.login-status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(92,188,246,.075);
}

.login-status-line span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9cd6f3;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: .09em;
}

.login-status-line small {
  color: #4f7183;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  letter-spacing: .07em;
}

.client-login-card-v19 h2 {
  margin-bottom: 7px;
  font-size: clamp(34px,4vw,46px);
  letter-spacing: -.04em;
}

.login-form-v19 {
  margin-top: 27px;
}

.login-field-shell {
  position: relative;
  margin-top: 8px;
}

.login-field-shell input {
  width: 100%;
  min-height: 58px !important;
  margin: 0 !important;
  padding: 0 78px 0 46px !important;
  border: 1px solid rgba(92,188,246,.11) !important;
  border-radius: 12px !important;
  background: rgba(3,14,22,.82) !important;
  color: #e5f4fb !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 10px 30px rgba(0,0,0,.10);
  transition: .2s ease !important;
}

.login-field-shell input:focus {
  outline: none;
  border-color: rgba(92,188,246,.32) !important;
  box-shadow:
    0 0 0 4px rgba(92,188,246,.065),
    0 14px 34px rgba(0,0,0,.16) !important;
  background: rgba(5,21,32,.92) !important;
}

.field-icon {
  position: absolute;
  z-index: 3;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #6598b1;
  font-style: normal;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.field-lock {
  width: 12px;
  height: 10px;
  border: 1.5px solid #6598b1;
  border-radius: 3px;
}

.field-lock::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  left: 1px;
  bottom: 8px;
  border: 1.5px solid #6598b1;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.password-toggle {
  position: absolute;
  z-index: 3;
  right: 11px;
  top: 50%;
  min-height: 35px;
  transform: translateY(-50%);
  padding: 0 10px;
  border: 1px solid rgba(92,188,246,.08);
  border-radius: 8px;
  background: rgba(8,28,41,.8);
  color: #6fa4bf;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  letter-spacing: .06em;
  cursor: pointer;
}

.password-toggle:hover {
  color: #bce6fa;
  border-color: rgba(92,188,246,.18);
}

.login-options-v19 {
  margin-top: 2px;
}

.login-submit-v19 {
  min-height: 58px;
  margin-top: 5px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px !important;
  border-radius: 12px !important;
  background:
    linear-gradient(135deg, #1687c8, #0c638f 58%, #0d765d) !important;
  box-shadow:
    0 18px 34px rgba(0,0,0,.21),
    0 0 28px rgba(92,188,246,.09);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

.login-submit-v19:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow:
    0 24px 42px rgba(0,0,0,.24),
    0 0 36px rgba(92,188,246,.13);
}

.login-submit-v19 i {
  font-style: normal;
  font-size: 19px;
  transition: transform .18s ease;
}

.login-submit-v19:hover i {
  transform: translateX(4px);
}

.login-trust-row {
  margin-top: 18px;
  padding: 13px 0 2px;
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(92,188,246,.07);
}

.login-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #557889;
  font-size: 8px;
}

.login-trust-row i {
  width: 4px;
  height: 4px;
}

.new-client-link-v19 {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(92,188,246,.07);
}

@keyframes authOrbDrift {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-24px,20px,0) scale(1.08); }
}

@keyframes authBeamSweep {
  0%,100% { opacity: .14; transform: rotate(-22deg) translateX(-5%); }
  50% { opacity: .55; transform: rotate(-22deg) translateX(8%); }
}

@keyframes authGridDrift {
  to { background-position: 42px 42px, 42px 42px; }
}

@keyframes authRadarBreath {
  50% { opacity: .62; transform: translate(-50%,-50%) scale(1.035); }
}

@keyframes authStatusPulse {
  50% { transform: scale(1.35); opacity: .65; }
}

@keyframes loginCardSheen {
  0%,20% { transform: translateX(-48%); opacity: 0; }
  45% { opacity: .8; }
  72%,100% { transform: translateX(48%); opacity: 0; }
}

@media (max-width: 700px) {
  .client-login-card-v19 {
    padding: 24px 20px;
  }

  .auth-live-status {
    gap: 6px;
  }

  .login-trust-row {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-orb,
  .auth-beam,
  .auth-grid-light,
  .auth-brand-panel-v19::after,
  .client-login-card-v19::before,
  .auth-live-status i,
  .login-status-line i,
  .login-trust-row i {
    animation: none !important;
  }
}
