@charset "UTF-8";
/* CSS Document */
/* ========== Admin Auth Theme (Clean) ========== */

:root{
  --bg:#0b0c0e;
  --panel:rgba(255,255,255,.06);
  --border:rgba(255,255,255,.12);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.68);
  --brand-green:#8edb1f;
  --brand-green-hover:#9eea35;
  --shadow:0 12px 40px rgba(0,0,0,.45);
}

*{ box-sizing:border-box; }

body.admin{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(142,219,31,.10), transparent 60%),
    radial-gradient(800px 450px at 80% 30%, rgba(255,255,255,.06), transparent 60%),
    var(--bg);
  color: var(--text);
}

/* ========== Layout ========== */
.auth-shell{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding: 24px 0;
}

/* ========== Card ========== */
.auth-card{
  width: min(520px, 92vw);
  padding: 26px 24px 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow);
}

/* ========== Header ========== */
.auth-head{
  display:flex;
  gap:16px;
  align-items:center;
  margin-bottom:18px;
}

.auth-logo{
  width:72px;
  height:72px;
  object-fit:contain;
  display:block;
}

.auth-eyebrow{
  margin:0 0 6px;
  text-transform:uppercase;
  letter-spacing:.22em;
  font-size:12px;
  font-weight:900;
  color:var(--brand-green);
}

.auth-title{
  margin:0 0 6px;
  font-size:28px;
  line-height:1.05;
  font-weight:950;
}

.auth-subtitle{
  margin:0;
  font-size:14px;
  color:rgba(255,255,255,.72);
}

/* ========== Alerts ========== */
.auth-alert{
  margin:14px 0 16px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  font-weight:850;
  opacity:0;
  transform:translateY(6px);
  animation:alertIn .35s ease forwards;
}

@keyframes alertIn{
  to{ opacity:1; transform:translateY(0); }
}

.auth-alert--error{
  border-color:rgba(255,80,80,.35);
  color:#ffd1d1;
}

/* ========== Form fields ========== */
.field{ margin-bottom:14px; }

.field label{
  display:block;
  margin-bottom:6px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(255,255,255,.75);
}

.field input{
  width:100%;
  padding:13px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.45);
  color:#fff;
  font-size:14px;
  transition:border-color .15s ease, box-shadow .15s ease;
}

.field input:focus{
  outline:none;
  border-color:rgba(142,219,31,.6);
  box-shadow:0 0 0 2px rgba(142,219,31,.18);
}

/* Password toggle */
.password-wrap{
  display:flex;
  gap:10px;
  align-items:center;
}

.password-wrap input{ flex:1; }

.pw-toggle{
  padding:11px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(0,0,0,.35);
  color:rgba(255,255,255,.88);
  font-weight:900;
  cursor:pointer;
}

.pw-toggle:hover{
  border-color:rgba(142,219,31,.55);
  color:var(--brand-green);
}

/* ========== Button ========== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 14px;
  border-radius:12px;
  font-weight:900;
  letter-spacing:.03em;
  font-size:13px;
  border:1px solid transparent;
  cursor:pointer;
}

.btn--primary{
  background:var(--brand-green);
  color:#0a0a0a;
  box-shadow:0 10px 26px rgba(166,255,0,.14);
}

.btn--primary:hover{
  background:var(--brand-green-hover);
}

.btn--block{ width:100%; }

/* ========== Footer link ========== */
.auth-foot{
  margin:14px 0 0;
  font-size:13px;
  color:rgba(255,255,255,.70);
}

.auth-link{
  color:rgba(255,255,255,.82);
  font-weight:800;
  position:relative;
}

.auth-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:var(--brand-green);
  transition:width .18s ease;
}

.auth-link:hover::after{
  width:100%;
}
