/* ── auth.css — Akino Systems ── */
/* ══════════════════════════════════════
   AUTH SCREEN
══════════════════════════════════════ */
/* ── Auth screen keyframes ── */
@keyframes authReveal   { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes authSlideIn  { from { opacity:0; transform:translateX(-12px); } to { opacity:1; transform:translateX(0); } }
@keyframes orb1         { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(30px,-20px) scale(1.05);} }
@keyframes orb2         { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(-20px,25px) scale(1.08);} }
@keyframes orb3         { 0%,100%{transform:translate(0,0) scale(1);} 33%{transform:translate(15px,10px) scale(1.03);} 66%{transform:translate(-10px,-15px) scale(.97);} }
@keyframes shimmer      { from{background-position:200% center;} to{background-position:-200% center;} }
@keyframes floatCard    { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-6px);} }
@keyframes inputGlow    { from{box-shadow:0 0 0 3px rgba(99,102,241,0);} to{box-shadow:0 0 0 3px rgba(99,102,241,.15);} }

/* ─────────────────────────────────────────
   AUTH — Orange split layout
───────────────────────────────────────── */
@keyframes authUp   { from{opacity:0;transform:translateY(18px);} to{opacity:1;transform:translateY(0);} }
@keyframes authFade { from{opacity:0;} to{opacity:1;} }
@keyframes gradDrift { 0%,100%{transform:translate(0,0) rotate(0deg);} 33%{transform:translate(20px,-15px) rotate(3deg);} 66%{transform:translate(-15px,20px) rotate(-2deg);} }

#auth-screen {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; grid-template-columns: 1fr 1fr;
  background: #FAFAF8;
  animation: authFade .4s ease;
  font-family: 'Geist', system-ui, sans-serif;
  padding-right: 36px; padding-top: 36px; padding-bottom: 36px;
  gap: 0;
}

/* No card wrapper — full bleed */
.auth-card {
  display: contents;
}

/* ── LEFT: form ── */
.auth-left {
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  padding: 36px 40px 28px;
  background: #FAFAF8; overflow: hidden;
}

/* Constrain all direct children to max-width */
.auth-left > *,
.auth-form-area,
.auth-panel { max-width: 340px; width: 100%; }

/* Brand */
.auth-brand { margin-bottom: 24px; display: flex; align-items: center; justify-content: center; width: 100%; }
.auth-logo-img { height: 24px; width: auto; display: block; }
.auth-brand-mark { display: none; }
.auth-brand-name { display: none; }

/* Panels */
.auth-panel {
  display: none; flex-direction: column;
  animation: authUp .45s .06s cubic-bezier(.16,1,.3,1) both;
  width: 100%;
}
.auth-panel.active { display: flex; }

/* Form area */
.auth-form-area {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; align-items: center; width: 100%; padding: 16px 0;
}

/* Title */
.auth-title {
  font-size: 26px; font-weight: 400; color: #0F0F0F;
  letter-spacing: -.6px; margin-bottom: 7px; line-height: 1.2;
  text-align: center; width: 100%;
}
.auth-sub {
  font-size: 13.5px; color: #8A8A8A; margin-bottom: 24px; line-height: 1.65;
  text-align: center; width: 100%;
}

/* Fields */
.auth-field { margin-bottom: 12px; width: 100%; }
.auth-field label { display: block; font-size: 13px; font-weight: 500; color: #0F0F0F; margin-bottom: 6px; }
.auth-field-wrap { position: relative; }
.auth-field-icon { display: none; }
.auth-field input {
  width: 100%; padding: 12px 14px;
  background: #fff; border: 1.5px solid #E8E6E2;
  color: #0F0F0F; font-family: 'Geist', sans-serif; font-size: 14px;
  outline: none; border-radius: 10px;
  transition: border-color .18s, box-shadow .18s;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  height: 44px;
}
.auth-field input:focus { border-color: #0F0F0F; box-shadow: none; }
.auth-field input::placeholder { color: #C2BFBB; }

/* Password wrap */
.pass-wrap { position: relative; width: 100%; }
.pass-wrap input { padding-right: 46px; }
.pass-toggle {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #C2BFBB; cursor: pointer;
  padding: 4px; display: flex; transition: color .15s;
}
.pass-toggle:hover { color: #0F0F0F; }

/* Error */
.auth-err {
  display: none; padding: 10px 13px;
  background: rgba(184,48,48,.06); border: 1px solid rgba(184,48,48,.18);
  border-radius: 9px; font-size: 13px; color: #B03030; margin-bottom: 12px; width: 100%;
}
.auth-err.show { display: block; animation: authUp .3s cubic-bezier(.16,1,.3,1) both; }

/* CTA button */
.auth-btn {
  width: 100%; height: 44px; padding: 0 16px;
  background: #0F0F0F; color: #fff;
  font-family: 'Geist', sans-serif; font-weight: 600; font-size: 14px;
  border: none; cursor: pointer; border-radius: 10px;
  transition: background .15s, transform .1s, box-shadow .15s;
  letter-spacing: -.1px; margin-top: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.auth-btn:hover { background: #262626; box-shadow: 0 4px 16px rgba(0,0,0,.25); transform: translateY(-1px); }
.auth-btn:active { transform: scale(.99); }
.auth-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }

/* OR divider */
.auth-or {
  display: flex; align-items: center; gap: 12px;
  margin: 14px 0 12px; font-size: 12.5px; color: #B0ADAA; width: 100%;
}
.auth-or-line { flex: 1; height: 1px; background: #EBEBEB; }

/* OAuth — same height as inputs */
.auth-oauth-row { display: flex; gap: 10px; width: 100%; }
.auth-oauth-btn {
  flex: 1; height: 44px; padding: 0 14px;
  background: #fff; border: 1.5px solid #E8E6E2;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  gap: 8px; font-family: 'Geist', sans-serif; font-size: 14px; font-weight: 500;
  color: #0F0F0F; cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.auth-oauth-btn:hover { border-color: #C8C8C8; background: #FAFAFA; box-shadow: 0 2px 6px rgba(0,0,0,.07); }

/* Remember row */
.auth-remember-row {
  display: flex; align-items: center; justify-content: space-between;
  margin: 4px 0 12px; width: 100%;
}
.auth-remember { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #6A6A6A; cursor: pointer; }
.auth-remember input[type=checkbox] {
  width: 15px; height: 15px; border-radius: 4px;
  accent-color: #0F0F0F; cursor: pointer;
  border: 1.5px solid #E5E5E5 !important;
  box-shadow: none !important; padding: 0 !important;
}
.auth-forgot { font-size: 13px; font-weight: 600; color: #0F0F0F; text-decoration: none; cursor: pointer; }
.auth-forgot:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Switch */
.auth-switch { text-align: center; font-size: 13px; color: #8A8A8A; margin-top: 18px; width: 100%; }
.auth-switch a { color: #0F0F0F; cursor: pointer; font-weight: 600; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Footer */
.auth-footer {
  display: flex; gap: 6px; align-items: center; justify-content: space-between;
  font-size: 11px; color: #C0BDBA; margin-top: auto; padding-top: 16px;
  width: 100%;
}
.auth-footer-left { color: #C0BDBA; }
.auth-footer-right { display: flex; gap: 12px; }
.auth-footer a { color: #9A9896; text-decoration: none; transition: color .15s; }
.auth-footer a:hover { color: #0F0F0F; }

/* Password strength */
.pass-strength { margin-top: 8px; }
.pass-strength-bars { display: flex; gap: 4px; margin-bottom: 5px; }
.psb { flex: 1; height: 2.5px; border-radius: 2px; background: #E5E3DF; transition: background .25s; }
.psb.weak   { background: #C85A45; }
.psb.fair   { background: #D4924A; }
.psb.good   { background: #5B9E7A; }
.psb.strong { background: #1F7A4D; }
.pass-strength-label { font-size: 11.5px; color: #B8B5B0; transition: color .25s; }
.pass-strength-label.weak   { color: #C85A45; }
.pass-strength-label.fair   { color: #D4924A; }
.pass-strength-label.good   { color: #5B9E7A; }
.pass-strength-label.strong { color: #1F7A4D; }
.pass-hints { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px; }
.ph { font-size: 11px; padding: 2px 8px; border-radius: 4px; background: #EAE8E4; color: #C0BDBA; transition: background .2s, color .2s; }
.ph.ok { background: rgba(31,122,77,.1); color: #1F7A4D; }

/* ── RIGHT: animated dark card ── */
@keyframes cardReveal {
  from { opacity:0; transform: translateY(28px) scale(.96); }
  to   { opacity:1; transform: translateY(0)    scale(1);   }
}
@keyframes tagStagger {
  from { opacity:0; transform: translateX(-10px); }
  to   { opacity:1; transform: translateX(0); }
}
@keyframes quoteIn {
  from { opacity:0; transform: translateY(12px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes authorIn {
  from { opacity:0; }
  to   { opacity:1; }
}

.auth-right {
  position: relative; overflow: hidden;
  background: #0A0A0A;
  border-radius: 16px;
}

/* Canvas fills entire right panel */
#auth-canvas {
  display: none;
}

/* Soft vignette on top of canvas */
.auth-vignette {
  display: none;
}

/* Center container */
.auth-right-center {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}

/* ── Loader from Uiverse.io by dexter-st ── */
.loader-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 220px;
  font-family: "Geist", "Inter", sans-serif;
  font-size: 1em;
  font-weight: 300;
  letter-spacing: .08em;
  color: white;
  border-radius: 50%;
  background-color: transparent;
  user-select: none;
}
.loader {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: transparent;
  animation: loader-rotate 2s linear infinite;
  z-index: 0;
}
@keyframes loader-rotate {
  0% {
    transform: rotate(90deg);
    box-shadow:
      0 10px 20px 0 #fff inset,
      0 20px 30px 0 rgba(255,255,255,0.6) inset,
      0 60px 60px 0 rgba(255,255,255,0.2) inset;
  }
  50% {
    transform: rotate(270deg);
    box-shadow:
      0 10px 20px 0 #fff inset,
      0 20px 10px 0 rgba(200,200,200,0.5) inset,
      0 40px 60px 0 rgba(255,255,255,0.15) inset;
  }
  100% {
    transform: rotate(450deg);
    box-shadow:
      0 10px 20px 0 #fff inset,
      0 20px 30px 0 rgba(255,255,255,0.6) inset,
      0 60px 60px 0 rgba(255,255,255,0.2) inset;
  }
}
.loader-letter {
  display: inline-block;
  opacity: 0.4;
  transform: translateY(0);
  animation: loader-letter-anim 2s infinite;
  z-index: 1;
  border-radius: 50ch;
  border: none;
}
.loader-letter:nth-child(1)  { animation-delay: 0s; }
.loader-letter:nth-child(2)  { animation-delay: 0.1s; }
.loader-letter:nth-child(3)  { animation-delay: 0.2s; }
.loader-letter:nth-child(4)  { animation-delay: 0.3s; }
.loader-letter:nth-child(5)  { animation-delay: 0.4s; }
.loader-letter:nth-child(6)  { animation-delay: 0.5s; }
.loader-letter:nth-child(7)  { animation-delay: 0.6s; }
.loader-letter:nth-child(8)  { animation-delay: 0.7s; }
.loader-letter:nth-child(9)  { animation-delay: 0.8s; }
.loader-letter:nth-child(10) { animation-delay: 0.9s; }
.loader-letter:nth-child(11) { animation-delay: 1.0s; }
.loader-letter:nth-child(12) { animation-delay: 1.1s; }
.loader-letter:nth-child(13) { animation-delay: 1.2s; }
@keyframes loader-letter-anim {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  20%       { opacity: 1;   transform: scale(1.15); }
  40%       { opacity: 0.7; transform: translateY(0); }
}

/* ── Bottom card ── */
.auth-testimonial {
  position: absolute; bottom: 28px; left: 28px; right: 28px; z-index: 3;
  background: rgba(10,10,10,.65);
  border: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px);
  border-radius: 14px; padding: 24px 24px 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.04);
  animation: cardReveal .8s .2s cubic-bezier(.16,1,.3,1) both;
}
.auth-testimonial-tags {
  display: flex; gap: 7px; margin-bottom: 16px; flex-wrap: wrap;
}
.auth-testimonial-tags span:nth-child(1) { animation: tagStagger .4s .5s both; opacity:0; animation-fill-mode:both; }
.auth-testimonial-tags span:nth-child(2) { animation: tagStagger .4s .62s both; opacity:0; animation-fill-mode:both; }
.auth-testimonial-tags span:nth-child(3) { animation: tagStagger .4s .74s both; opacity:0; animation-fill-mode:both; }
.auth-testimonial-tag {
  padding: 4px 11px; border-radius: 20px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09);
  font-size: 11px; color: rgba(255,255,255,.38); letter-spacing: .3px; font-weight: 500;
}
.auth-testimonial-quote {
  font-size: 19px; font-weight: 300; color: #fff;
  line-height: 1.45; letter-spacing: -.4px; margin-bottom: 20px;
  animation: quoteIn .6s .8s cubic-bezier(.16,1,.3,1) both; opacity:0;
  animation-fill-mode: both;
}
.auth-testimonial-bottom {
  display: flex; align-items: center; justify-content: space-between;
  animation: authorIn .5s 1.1s ease both; opacity:0;
  animation-fill-mode: both;
}
.auth-testimonial-author {
  font-size: 12.5px; color: rgba(255,255,255,.4);
  display: flex; flex-direction: column; gap: 2px;
}
.auth-testimonial-author strong { font-weight: 600; color: rgba(255,255,255,.75); font-size: 13px; }
.auth-testimonial-nav { display: none; }

/* Hide unused legacy */
.auth-right-content, .auth-right-tagline, .auth-right-sub,
.auth-right-dots, .auth-right-tags, .auth-tag,
.auth-orb, .auth-float-card, .auth-app-card,
.auth-blob, .auth-right-bg, .auth-stats-row,
.auth-dash-preview, .auth-dash-caption { display: none !important; }




