/* ──── LOGIN SPECIFIC ──── */
canvas#pt {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .35;
}
.above {
  position: relative;
  z-index: 1;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  border-bottom: 1px solid rgba(0, 212, 170, .08);
  background: rgba(5, 12, 26, .6);
  backdrop-filter: blur(10px);
}
.logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}
.logo span {
  color: var(--teal);
}
.nav-back {
  font-size: .83rem;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: color .2s;
}
.nav-back:hover {
  color: var(--teal);
}

.auth-wrap {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 60px);
}
.auth-left {
  background: linear-gradient(145deg, rgba(0, 212, 170, .06) 0%, rgba(79, 156, 249, .04) 100%);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem;
  position: relative;
  overflow: hidden;
}
.auth-left::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 170, .08) 0%, transparent 70%);
  pointer-events: none;
}
.auth-left h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}
.auth-left h2 em {
  color: var(--teal);
  font-style: normal;
}
.auth-left p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 360px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}
.fi-ico {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .95rem;
}
.fi-text h4 {
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: .2rem;
}
.fi-text p {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.5;
}
.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-top: 2.5rem;
}
.ms {
  background: rgba(14, 24, 46, .6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .9rem 1rem;
}
.ms-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal);
}
.ms-lbl {
  font-size: .75rem;
  color: var(--muted);
  margin-top: .15rem;
}

.auth-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}
.auth-box {
  width: 100%;
  max-width: 400px;
}
.auth-tabs {
  display: flex;
  background: rgba(14, 24, 46, .6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .25rem;
  margin-bottom: 2rem;
}
.auth-tab {
  flex: 1;
  padding: .6rem;
  text-align: center;
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border-radius: 8px;
  transition: all .2s;
  border: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
}
.auth-tab.active {
  background: var(--teal);
  color: #050C1A;
  font-weight: 700;
}
.form-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: .4rem;
}
.form-sub {
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: 1.75rem;
}
.field {
  margin-bottom: 1rem;
}
.field label {
  display: block;
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: .4rem;
}
.field input,
.field select {
  width: 100%;
  background: rgba(14, 24, 46, .7);
  border: 1px solid var(--border);
  color: var(--text);
  padding: .75rem 1rem;
  border-radius: 9px;
  font-size: .88rem;
  font-family: 'Inter', sans-serif;
  transition: all .2s;
  outline: none;
}
.field input:focus,
.field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, .1);
}
.field input::placeholder {
  color: rgba(232, 240, 255, .3);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.forgot {
  float: right;
  font-size: .78rem;
  color: var(--teal);
  text-decoration: none;
  transition: opacity .2s;
}
.forgot:hover {
  opacity: .75;
}
.input-wrap {
  position: relative;
}
.input-wrap input {
  padding-right: 2.5rem;
}
.eye-btn {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  transition: color .2s;
}
.eye-btn:hover {
  color: var(--text);
}
.btn-auth {
  width: 100%;
  background: var(--teal);
  border: none;
  color: #050C1A;
  padding: .9rem;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all .25s;
  margin-top: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.btn-auth:hover {
  background: var(--teal2);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 212, 170, .25);
}
.btn-auth:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}
.divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 1.25rem 0;
}
.div-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.div-text {
  font-size: .76rem;
  color: var(--muted);
}
.btn-google {
  width: 100%;
  background: rgba(14, 24, 46, .7);
  border: 1px solid var(--border);
  color: var(--text);
  padding: .8rem;
  border-radius: 10px;
  font-size: .87rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
}
.btn-google:hover {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .04);
}
.switch-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: .83rem;
  color: var(--muted);
}
.switch-link a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
}
.switch-link a:hover {
  text-decoration: underline;
}
.tos-note {
  text-align: center;
  font-size: .74rem;
  color: var(--muted);
  margin-top: 1.25rem;
  line-height: 1.6;
}
.tos-note a {
  color: var(--teal);
  text-decoration: none;
}
.msg {
  padding: .65rem 1rem;
  border-radius: 8px;
  font-size: .82rem;
  margin-bottom: 1rem;
  display: none;
}
.msg-err {
  background: rgba(255, 107, 107, .1);
  border: 1px solid rgba(255, 107, 107, .25);
  color: #FF9999;
}
.msg-ok {
  background: rgba(0, 212, 170, .1);
  border: 1px solid rgba(0, 212, 170, .25);
  color: var(--teal);
}
.panel {
  display: none;
}
.panel.active {
  display: block;
}
.strength-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 5px;
  overflow: hidden;
}
.strength-fill {
  height: 100%;
  border-radius: 2px;
  transition: width .3s, background .3s;
}

@media (max-width: 768px) {
  .auth-wrap {
    grid-template-columns: 1fr;
  }
  .auth-left {
    display: none;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  nav {
    padding: .8rem 1rem;
  }
}