*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --bg:#ffffff;
  --card:#ffffff;
  --border:#e5e7eb;
  --text:#111827;
  --muted:#6b7280;
  --accent:#84cc16;
  --accent2:#65a30d;
  --danger:#dc2626;
  --shadow:0 20px 45px rgba(17,24,39,.12);
}

html, body{
  height:100%;
}

body{
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* Layout */
.wrap{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.card{
  width:100%;
  max-width:420px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  box-shadow:var(--shadow);
  overflow:hidden;
}

/* Header */
.header{
  padding:22px;
  border-bottom:1px solid var(--border);
  background:linear-gradient(180deg, rgba(132,204,22,.12), transparent);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo{
  width:44px;
  height:44px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  color:#0b0f14;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
}

.brand-text h1{
  font-size:18px;
  font-weight:800;
}

.brand-text p{
  margin-top:2px;
  font-size:13px;
  color:var(--muted);
}

/* Form */
.form{
  padding:18px 22px 20px;
}

.field{
  display:block;
  margin-bottom:14px;
}

.field span{
  display:block;
  font-size:13px;
  color:var(--muted);
  margin-bottom:6px;
}

.field input{
  width:100%;
  padding:12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  outline:none;
}

.field input:focus{
  border-color:rgba(132,204,22,.75);
  box-shadow:0 0 0 3px rgba(132,204,22,.18);
}

/* Password + eye */
.pass-wrap{
  position:relative;
}

.pass-wrap input{
  padding-right:48px;
}

.eye{
  position:absolute;
  right:8px;
  top:50%;
  transform:translateY(-50%);
  width:36px;
  height:36px;
  border:1px solid var(--border);
  background:#fff;
  border-radius:10px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#6b7280;
  transition:background .15s ease, color .15s ease;
}

.eye:hover{
  background:#f3f4f6;
  color:#111827;
}

/* Message */
.msg{
  min-height:18px;
  margin:6px 0 14px;
  font-size:13px;
  color:var(--danger);
}

/* Button */
.btn{
  width:100%;
  padding:12px;
  border:none;
  border-radius:12px;
  font-weight:800;
  cursor:pointer;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  color:#0b0f14;
}

.btn:disabled{
  opacity:.7;
  cursor:not-allowed;
}

/* Footer */
.footer{
  margin-top:16px;
  text-align:center;
  color:var(--muted);
}
