:root{
  --brand:#E84B5F;
  --brand2:#FF9F6E;
  --brand-dark:#CB3B4C;
  --bg:#ffffff;
  --ink:#222;
  --muted:#6b7280;
  --card:#fff;
  --shade:0 10px 24px rgba(0,0,0,.08);
  --line:#eee;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Poppins,sans-serif;
  color:var(--ink);
  background:var(--bg);
}

.container{
  max-width:980px;
  margin:0 auto;
  padding:0 16px;
}

/* Header gradient like the Flutter design */
.auth-header{
  background:linear-gradient(180deg,var(--brand) 0%, var(--brand2) 100%);
  color:#fff;
  padding:28px 0 22px;
  text-align:center;
}
.auth-header h1{
  margin:0;
  font-weight:800;
  font-size:24px;
}
.auth-header .sub{
  margin-top:6px;
  font-size:13px;
  opacity:.95;
}

/* Hero image area */
.auth-hero{
  width:100%;
  height:36vh;
  min-height:180px;
  max-height:380px;
  overflow:hidden;
  background:#fff;
}
.auth-hero img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Main */
.main-pad{
  padding:16px 16px 28px;
}

/* Alerts */
.alert{
  border-radius:10px;
  padding:10px 14px;
  margin-bottom:14px;
  border:1px solid transparent;
  font-size:14px;
}
.alert-error{background:#fee2e2;border-color:#fecaca;color:#991b1b}
.alert-success{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}
.alert-info{background:#eef2ff;border-color:#c7d2fe;color:#3730a3}

/* Card */
.auth-card{
  background:var(--card);
  border-radius:18px;
  box-shadow:var(--shade);
  padding:20px 18px 20px;
  max-width:420px;
  margin:0 auto;
}
.card-title{
  margin:0 0 12px;
  font-weight:700;
  font-size:18px;
}

/* Form fields */
.field{margin-bottom:12px}
.field label{
  display:block;
  margin:0 0 6px;
  font-weight:600;
  font-size:14px;
}
.input-wrap{
  position:relative;
  display:flex;
  align-items:center;
  background:#f7f7f7;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:0 10px 0 38px;
}
.input-wrap .icon{
  position:absolute;
  left:12px;
  color:#9ca3af;
  display:flex;
  align-items:center;
}
.input-wrap input{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  padding:14px 8px;
  font-size:14px;
  color:#111;
}
.input-wrap input::placeholder{color:#9aa0a6}

.peek{
  margin-left:auto;
  background:transparent;
  border:0;
  padding:8px 6px;
  cursor:pointer;
  color:#6b7280;
}
.peek.on{color:var(--brand)}

/* Rows / helpers */
.row-between{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:8px 0 16px;
}
.remember{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:14px;
}
.link{
  color:var(--brand);
  text-decoration:none;
  font-weight:600;
}
.link:hover{text-decoration:underline}
.link-strong{color:var(--brand);font-weight:700;text-decoration:none}
.link-strong:hover{text-decoration:underline}

.center{text-align:center}
.mt-12{margin-top:12px}
.w-100{width:100%}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:12px;
  padding:12px 16px;
  width:100%;
  font-weight:700;
  transition:transform .04s ease-in-out, opacity .15s;
  cursor:pointer;
  text-decoration:none;
}
.btn:active{transform:scale(.98)}

.btn-red{
  background:var(--brand);
  color:#fff;
}
.btn-red:hover{opacity:.95}

.btn-outline-red{
  background:#fff;
  color:var(--brand);
  border:1.2px solid var(--brand);
}
.btn-outline-red:hover{background:#fff5f6}

.gicon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;height:22px;
  margin-right:8px;
  border-radius:50%;
  border:1px solid #e5e7eb;
  font-weight:700;
}

/* Divider */
.divider{
  border:0;
  border-top:1px solid var(--line);
  margin:16px 0 12px;
}

/* Responsive tweaks */
@media (max-width:480px){
  .auth-card{padding:18px 14px}
  .auth-header h1{font-size:22px}
}

/* extras for forgot/reset/verify pages */
.muted{color:var(--muted);font-size:13px}
