:root{
  --bg: #0b1220;
  --card: #101a2e;
  --card2:#0e172a;
  --text: #e7eefc;
  --muted: rgba(231,238,252,.72);
  --line: rgba(231,238,252,.12);
  --primary: #0a72e7;
  --primary2:#1a8bff;
  --accent:#E77917;
  --danger:#ff4d4d;
  --ok:#2ecc71;

  --radius: 16px;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --shadow2: 0 10px 30px rgba(0,0,0,.35);
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1100px 600px at 20% 0%, rgba(10,114,231,.25), transparent 55%),
    radial-gradient(900px 520px at 100% 10%, rgba(231,121,23,.18), transparent 55%),
    radial-gradient(1000px 700px at 40% 100%, rgba(26,139,255,.10), transparent 60%),
    var(--bg);
  color: var(--text);
}

a{ color: var(--primary2); text-decoration:none; }
a:hover{ text-decoration: underline; }

.wrap{
  min-height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 28px 16px;
}

.card{
  width: min(980px, 100%);
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(16,26,46,.94), rgba(14,23,42,.94));
}

@media (max-width: 900px){
  .card{ grid-template-columns: 1fr; }
}

.left{
  padding: 34px 34px 28px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(900px 380px at 30% 0%, rgba(10,114,231,.18), transparent 50%),
    radial-gradient(820px 400px at 90% 40%, rgba(231,121,23,.12), transparent 60%),
    rgba(14,23,42,.4);
}
@media (max-width: 900px){
  .left{ border-right:0; border-bottom: 1px solid var(--line); }
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom: 18px;
}
.badge{
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(10,114,231,.95), rgba(26,139,255,.7));
  box-shadow: var(--shadow2);
  display:grid;
  place-items:center;
  font-weight: 800;
  letter-spacing: .5px;
}
.h1{
  font-size: 22px;
  font-weight: 800;
  margin:0;
}
.sub{
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
}

.pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 18px;
}
.pill{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

.right{
  padding: 34px 34px 28px;
}

.form-title{
  font-size: 16px;
  font-weight: 800;
  margin:0 0 6px;
}
.form-sub{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.field{ margin-bottom: 14px; }
label{
  display:block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

input, select{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  outline: none;
}
input::placeholder{ color: rgba(231,238,252,.45); }
input:focus, select:focus{
  border-color: rgba(26,139,255,.55);
  box-shadow: 0 0 0 4px rgba(26,139,255,.16);
}

.row{
  display:flex;
  gap: 12px;
}
.row > .field{ flex:1; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: .2px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color: white;
  box-shadow: 0 14px 30px rgba(10,114,231,.25);
}
.btn:hover{ filter: brightness(1.05); }
.btn:disabled{ opacity:.55; cursor:not-allowed; }

.btn-secondary{
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  box-shadow: none;
}

.msg{
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}
.msg.error{
  border-color: rgba(255,77,77,.35);
  background: rgba(255,77,77,.10);
  color: rgba(255,220,220,.95);
}
.msg.ok{
  border-color: rgba(46,204,113,.30);
  background: rgba(46,204,113,.10);
  color: rgba(215,255,232,.95);
}

.footer{
  margin-top: 14px;
  display:flex;
  justify-content: space-between;
  gap: 10px;
  align-items:center;
  color: rgba(231,238,252,.55);
  font-size: 12px;
  flex-wrap: wrap;
}

.small-link{
  color: rgba(231,238,252,.7);
}
.small-link:hover{
  color: var(--primary2);
  text-decoration: none;
}

