:root{
  --bg:#f2f3f7;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#6b7280;
  --line:#e5e7eb;
  --primary:#ff5b5b;
  --primary2:#ff8a8a;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.wrap{
  min-height:100vh;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:24px 12px;
}

.phone{
  width: 380px;
  max-width: 100%;
  background: var(--bg);
}

.topbar{
  height:110px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  border-radius:18px 18px 0 0;
  padding:16px 18px;
  color:#fff;
  position:relative;
  overflow:hidden;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:.4px;
}
.logo{
  width:34px;height:34px;border-radius:50%;
  background: rgba(255,255,255,.18);
  display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.22);
}
.brand small{
  display:block;
  font-weight:500;
  opacity:.9;
  font-size:12px;
  margin-top:2px;
}

.lang{
  position:absolute;
  right:14px; top:14px;
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:600;
  font-size:12px;
  opacity:.95;
}
.flag{
  width:20px;height:20px;border-radius:50%;
  background: rgba(255,255,255,.25);
  border:1px solid rgba(255,255,255,.25);
}

.card{
  background:var(--card);
  margin-top:-20px;
  border-radius:18px;
  padding:18px 18px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  border:1px solid rgba(0,0,0,.04);
}

.title{
  text-align:center;
  margin:8px 0 14px;
}
.title h2{
  margin:0;
  font-size:18px;
  color: var(--primary);
}
.title .subline{
  margin:8px auto 0;
  height:3px;
  width:120px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius:99px;
  opacity:.8;
}

.msg{
  margin:10px 0 14px;
  padding:10px 12px;
  border-radius:12px;
  background:#fff7f7;
  border:1px solid #ffd3d3;
  color:#b42323;
  font-size:13px;
}

.field{
  margin:12px 0;
}
.label{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:var(--text);
  margin-bottom:8px;
  font-weight:600;
}
.icon{
  width:22px;height:22px;border-radius:7px;
  background: #ffe5e5;
  color: var(--primary);
  display:grid;place-items:center;
  border:1px solid #ffd2d2;
  flex:0 0 auto;
}

.inputRow{
  background:#f6f7fb;
  border:1px solid var(--line);
  border-radius:14px;
  height:48px;
  display:flex;
  align-items:center;
  padding:0 12px;
  gap:10px;
}
.inputRow input{
  border:0;
  outline:none;
  background:transparent;
  width:100%;
  font-size:14px;
  color:var(--text);
}
.pill{
  min-width:70px;
  height:34px;
  border-radius:12px;
  background:#fff;
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:13px;
  color: var(--text);
}
.eye{
  width:34px;height:34px;border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  display:grid;place-items:center;
  color:#6b7280;
  user-select:none;
}

.checkRow{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:14px 0 12px;
  font-size:13px;
  color:var(--muted);
}
.checkRow input{ margin-top:3px; }
.checkRow a{ color:var(--primary); text-decoration:none; font-weight:600; }

.btn{
  width:100%;
  height:48px;
  border:0;
  border-radius:999px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color:#fff;
  font-weight:800;
  letter-spacing:.6px;
  cursor:pointer;
  font-size:16px;
  box-shadow: 0 8px 20px rgba(255,91,91,.28);
}
.btn:active{ transform: translateY(1px); }

.linkBtn{
  margin-top:12px;
  width:100%;
  height:46px;
  border-radius:999px;
  border:1.8px solid #ffc2c2;
  background:#fff;
  color: var(--primary);
  font-weight:800;
  cursor:pointer;
}
.footerNote{
  text-align:center;
  margin-top:12px;
  color:var(--muted);
  font-size:12px;
}

.smallCenter{
  text-align:center;
  margin-top:10px;
  font-size:13px;
  color:var(--muted);
}
.smallCenter a{
  color:var(--primary);
  font-weight:800;
  text-decoration:none;
}
