/* style.css */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,'Helvetica Neue',Arial;
  background: linear-gradient(180deg,#f4f7fb 0%, #eef4fb 50%, #dfeaf8 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  color:#0f172a;
}

/* asosiy layout */
.login-wrap{
  width:100%;
  max-width:960px;
  display:grid;
  grid-template-columns: 1fr 420px;
  gap:32px;
  align-items:center;
}

/* chap tarafdagi brand qismi */
.brand{
  padding:36px;
  text-align:center;
}
.brand .logo{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  margin-bottom:16px;
}
.logo .mark{
  width:125px;
  height:120px;
  border-radius:10px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f0f0f0;
}
.logo .mark img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.brand h2{
  font-size:24px;
  font-weight:700;
  margin-bottom:8px;
}
.brand p{
  color:#475569;
  line-height:1.5;
}

/* login kartochkasi */
.card{
  background:#fff;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(2,6,23,0.08);
  padding:28px;
}
.card h2{font-size:20px;margin-bottom:6px}
.card p.sub{color:#64748b;margin-bottom:18px}

form{display:flex;flex-direction:column;gap:12px}
label{font-size:13px;color:#334155}
input[type="text"], input[type="password"], input[type="email"]{
  width:100%;
  padding:12px 14px;
  border:1px solid #e6eef8;
  border-radius:8px;
  font-size:14px;
  background:#fbfeff;
  outline:none;
  transition:box-shadow .15s, border-color .15s;
}
input:focus{box-shadow:0 6px 18px rgba(37,99,235,0.12);border-color:#2563eb}

.row{display:flex;gap:10px}
.remember{display:flex;align-items:center;gap:8px;color:#475569;font-size:14px}
.forgot{margin-left:auto;font-size:13px}
.forgot a{color:#2563eb;text-decoration:none}

.btn{
  display:inline-block;
  padding:12px 16px;
  border-radius:8px;
  border:0;
  background:linear-gradient(90deg,#2563eb,#4f46e5);
  color:white;
  font-weight:600;
  font-size:15px;
  cursor:pointer;
  margin-top:6px;
  box-shadow:0 8px 20px rgba(37,99,235,0.18);
}

.helper{font-size:13px;color:#64748b;margin-top:14px}
.ftr{margin-top:18px;font-size:13px;color:#94a3b8}

@media (max-width:880px){
  .login-wrap{grid-template-columns:1fr;max-width:520px}
  .brand{order:2}
}

/* Parol tugmasi */
.input-with-icon{position:relative}
.toggle-pass{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  background:transparent;
  border:0;
  font-size:13px;
  cursor:pointer;
  color:#475569;
}

/* OneID */
.oneid-btn{
  display:inline-block;
  margin-top:12px;
  padding:10px 14px;
  border-radius:8px;
  border:0px solid #e6eef8;
  text-decoration:none;
  font-weight:600;
  font-size:10px;
}
.oneid-logo{
  width:35px;
  height:12px;
  border-radius:6px;
  overflow:hidden;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#f0f0f0;
}
.oneid-logo img{width:100%;height:100%;object-fit:cover}
