/* admin/ADMIN_AUTHENTICATION/admin-auth.css */

:root{
  --bg: #0b0f14;
  --panel: rgba(255,255,255,.04);
  --panel2: rgba(255,255,255,.03);
  --border: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.62);
  --muted2: rgba(255,255,255,.42);
  --accent: #e11d2e;
  --accent2: #ff3b4f;
  --shadow: 0 18px 55px rgba(0,0,0,.55);
  --radius: 18px;
  --focus: rgba(225,29,46,.35);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 20% 0%, rgba(225,29,46,.14), transparent 60%),
    radial-gradient(900px 600px at 90% 20%, rgba(255,59,79,.10), transparent 55%),
    var(--bg);
}

.auth{
  min-height:100vh;
  display:grid;
  grid-template-columns: 1.1fr 1fr;
}

.auth-left{
  padding: 28px;
  border-right: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  display:flex;
  flex-direction: column;
  gap: 28px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 14px 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: fit-content;
}

.brand-mark{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  font-weight: 900;
  letter-spacing:.5px;
  background: linear-gradient(135deg, rgba(225,29,46,.95), rgba(255,59,79,.85));
  color: #fff;
}

.brand-title{ font-weight: 800; font-size: 14px; line-height: 1.1; }
.brand-subtitle{ font-size: 12px; color: var(--muted); margin-top: 2px; }

.pitch{
  max-width: 520px;
  margin-top: auto;
  margin-bottom: auto;
}
.pitch h1{
  margin:0 0 10px;
  font-size: 38px;
  letter-spacing: .6px;
}
.pitch p{
  margin:0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
}

.bullets{
  list-style:none;
  padding:0;
  margin: 16px 0 0;
  display:flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(255,255,255,.82);
  font-weight: 600;
  font-size: 13px;
}
.bullets i{
  width: 18px;
  text-align:center;
  margin-right: 8px;
  color: rgba(255,255,255,.70);
}

.footnote{
  color: rgba(255,255,255,.45);
  font-size: 12px;
}

.auth-right{
  display:grid;
  place-items:center;
  padding: 26px;
}

.card{
  width: min(520px, 96%);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(15,22,32,.78);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 18px;
}

.card-top{
  padding: 6px 6px 14px;
}
.card-title{
  font-weight: 900;
  font-size: 18px;
}
.card-sub{
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.form{
  display:flex;
  flex-direction: column;
  gap: 12px;
}

.field label{
  display:block;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,.80);
  margin-bottom: 6px;
}

.control{
  position: relative;
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

.control i{
  color: rgba(255,255,255,.55);
  width: 18px;
  text-align:center;
}

.control input{
  width:100%;
  border:none;
  outline:none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
}

.control input::placeholder{ color: rgba(255,255,255,.40); }

.control:focus-within{
  border-color: rgba(225,29,46,.35);
  box-shadow: 0 0 0 4px var(--focus);
}

.pw-toggle{
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.65);
  cursor:pointer;
  display:grid;
  place-items:center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
}
.pw-toggle:hover{ background: rgba(255,255,255,.05); }

.error{
  display:block;
  color: #ff5b5b;
  font-size: 12px;
  min-height: 14px;
  margin-top: 6px;
}

.row{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.checkbox{
  display:flex;
  align-items:center;
  gap: 10px;
  color: rgba(255,255,255,.82);
  font-weight: 700;
  font-size: 13px;
}
.checkbox input{ accent-color: var(--accent); }

.hint-mini{
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

.btn{
  width: 100%;
  display:inline-flex;
  align-items:center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.92);
  cursor:pointer;
  font-weight: 900;
  font-size: 13px;
  transition: transform .1s ease, background .2s ease, border .2s ease;
}
.btn:hover{ background: rgba(255,255,255,.05); }
.btn:active{ transform: translateY(1px); }
.btn:disabled{ opacity:.6; cursor:not-allowed; }

.btn.primary{
  border-color: rgba(225,29,46,.35);
  background: rgba(225,29,46,.18);
}
.btn.primary:hover{
  background: rgba(225,29,46,.22);
  border-color: rgba(225,29,46,.45);
}

/* Toast */
.toast{
  position: fixed;
  right: 18px;
  bottom: 18px;
  min-width: 260px;
  max-width: 420px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(15,22,32,.92);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  font-weight: 800;
  font-size: 13px;
}
.toast.show{
  opacity: 1;
  transform: translateY(0);
}
.toast.success{ border-color: rgba(124,255,155,.22); }
.toast.error{ border-color: rgba(255,91,91,.22); }
.toast.info{ border-color: rgba(255,255,255,.12); }

@media (max-width: 980px){
  .auth{ grid-template-columns: 1fr; }
  .auth-left{
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .pitch h1{ font-size: 32px; }
}
