@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root{
  --primary:#1f3c88;
  --primary-dark:#102a43;
  --accent:#2563eb;
  --bg:#f4f6fb;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#6b7280;
  --border:#e5e7eb;
}

*{
  box-sizing:border-box;
  font-family:'Inter',system-ui,Arial,sans-serif;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
}

/* ================== LAYOUT ================== */

.auth-container{
  display:flex;
  height:100vh;          /* FIXED VIEWPORT */
  overflow:hidden;       /* NO PAGE SCROLL */
}

/* LEFT PANEL (NO SCROLL) */
.auth-left{
  width:40%;
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  color:#fff;
  padding:60px 50px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

/* RIGHT PANEL (SCROLLS) */
.auth-right{
  width:60%;
  height:100vh;
  overflow-y:auto;
  padding:40px 20px;
  display:flex;
  justify-content:center;
  align-items:flex-start;
}

/* ================== LEFT CONTENT ================== */

.auth-left img{
  display:block;
  margin:0 auto 24px;
  max-width:140px;
  border-radius:16px;
}

.auth-left h2{
  font-size:32px;
  font-weight:800;
  margin-bottom:16px;
}

.auth-left p{
  font-size:16px;
  line-height:1.0;
  opacity:.9;
  margin-bottom:40px;
}

/* ================== STATS ================== */

.stats-simple{
  display:flex;
  flex-direction:column;
  gap:36px;
}

.stat-item{
  display:flex;
  flex-direction:column;
}

.stat-number{
  display:flex;
  align-items:flex-start;
  gap:6px;
}

.stat-value{
  font-size:44px;       /* BIG NUMBER */
  font-weight:900;
  line-height:1;
}

.stat-plus{
  font-size:26px;
  font-weight:700;
  margin-top:6px;
}

.stat-label{
  margin-top:6px;
  font-size:15px;
  opacity:.85;
}

/* ================== FORM CARD ================== */

.auth-form-card{
  width:100%;
  max-width:560px;
  background:var(--card);
  border-radius:18px;
  padding:36px;
  box-shadow:0 20px 40px rgba(0,0,0,.08);
  margin-bottom:40px;
}

.auth-form-card h2{
  margin-top:0;
  margin-bottom:20px;
}

/* ================== FORM ELEMENTS ================== */

label{
  font-weight:600;
  margin-bottom:6px;
  display:block;
}

.form-control,
.form-select,
textarea{
  width:100%;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid var(--border);
  margin-bottom:18px;
}

.form-control:focus,
.form-select:focus,
textarea:focus{
  outline:none;
  border-color:var(--accent);
}

textarea{
  resize:vertical;
  min-height:80px;
}

/* PASSWORD */
.password-wrapper{
  position:relative;
}

.password-toggle{
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  cursor:pointer;
  user-select:none;
}

/* ================== IMAGE PREVIEWS ================== */

.preview{
  width:80px;
  height:80px;
  border-radius:10px;
  object-fit:cover;
  margin-top:8px;
  margin-bottom: 10px;
  display:none;
  border:1px solid var(--border);
}

/* ================== BUTTON ================== */

.btn-submit{
  width:100%;
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  color:#fff;
  border:none;
  padding:14px;
  font-size:16px;
  font-weight:700;
  border-radius:12px;
  cursor:pointer;
}

.btn-submit:hover{
  opacity:.95;
}

/* ================== FOOTER (RIGHT ONLY) ================== */

.auth-footer{
  text-align:center;
  margin-top:30px;
  font-size:13px;
  color:var(--muted);
}

/* ================== ALERT PLACEHOLDERS ================== */

.alert{
  padding:14px;
  border-radius:10px;
  margin-bottom:18px;
}

.alert-warning{
  background:#fff3cd;
  border-left:5px solid #ffb703;
}

.alert-success{
  background:#e7f6ec;
  border-left:5px solid #2ecc71;
}

/* ================== MOBILE ================== */

@media(max-width:900px){
  .auth-left{ display:none; }
  .auth-right{
    width:100%;
    padding:20px;
  }
  .auth-form-card{
    box-shadow:none;
    padding:24px;
  }
}
