/* Medical Lab Sample Tracker - Modern Login (Version A: Split layout) */
:root{
  --bg: #f7f8fa;
  --panel: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --primary: #2563eb;
  --primary-700: #1d4ed8;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --shadow: 0 18px 45px rgba(17,24,39,.10);
  --radius: 16px;
  --radius-sm: 12px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 700px at 15% 20%, rgba(37,99,235,.08), transparent 60%),
              radial-gradient(900px 600px at 85% 80%, rgba(16,185,129,.08), transparent 60%),
              var(--bg);
}

.mlst-shell{
  min-height:100vh;
  display:flex;
  align-items:stretch;
}

.mlst-left{
  flex: 0 0 40%;
  padding: 48px 48px 32px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.mlst-brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.mlst-mark{
  width:44px;height:44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #22c55e);
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:800;
  letter-spacing:.5px;
}

.mlst-brand h1{
  font-size:18px;
  line-height:1.2;
  margin:0;
  font-weight:750;
}

.mlst-tagline{
  margin-top:18px;
  font-size:32px;
  line-height:1.15;
  font-weight:800;
  letter-spacing:-.02em;
}

.mlst-subtag{
  margin-top:10px;
  color:var(--muted);
  max-width: 34ch;
  font-size:15px;
  line-height:1.55;
}

.mlst-bullets{
  margin-top:26px;
  display:flex;
  flex-direction:column;
  gap:14px;
  max-width: 48ch;
}

.mlst-bullet{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.mlst-ico{
  width:34px;height:34px;
  border-radius: 12px;
  background: rgba(37,99,235,.10);
  display:grid;
  place-items:center;
  color: var(--primary);
  flex: 0 0 auto;
}

.mlst-bullet b{
  display:block;
  font-size:14px;
  margin:0;
}
.mlst-bullet span{
  display:block;
  color:var(--muted);
  font-size:13px;
  margin-top:2px;
  line-height:1.4;
}

.mlst-foot{
  color:var(--muted);
  font-size:12px;
}

.mlst-right{
  flex: 1 1 auto;
  padding: 48px 28px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.mlst-card{
  width: min(460px, 100%);
  background: var(--panel);
  border: 1px solid rgba(229,231,235,.85);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.mlst-card h2{
  margin:0;
  font-size:24px;
  line-height:1.2;
  letter-spacing:-.01em;
}
.mlst-card p{
  margin:8px 0 18px;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

.mlst-alert{
  background: var(--danger-bg);
  border: 1px solid rgba(220,38,38,.25);
  color: var(--danger);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 14px;
}

.mlst-field{
  margin: 12px 0;
}
.mlst-label{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 6px;
}
.mlst-input{
  width:100%;
  height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  background:#fff;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.mlst-input:focus{
  border-color: rgba(37,99,235,.6);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

.mlst-password-wrap{
  position:relative;
}
.mlst-toggle{
  position:absolute;
  right:10px;
  top:50%;
  transform: translateY(-50%);
  border: 1px solid rgba(229,231,235,.9);
  background:#fff;
  color: var(--muted);
  border-radius: 10px;
  height: 30px;
  padding: 0 10px;
  font-size:12px;
  cursor:pointer;
}
.mlst-toggle:hover{ color: var(--text); }

.mlst-row{
  margin-top: 10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
}
.mlst-check{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color: var(--muted);
}
.mlst-check input{ width:16px; height:16px; }

.mlst-link{
  font-size:13px;
  color: var(--primary);
  text-decoration:none;
}
.mlst-link:hover{ text-decoration:underline; }

.mlst-btn{
  width:100%;
  margin-top: 16px;
  height: 46px;
  border-radius: 12px;
  border: none;
  background: var(--primary);
  color:#fff;
  font-weight:700;
  font-size: 14px;
  cursor:pointer;
  transition: transform .05s ease, background .15s ease;
}
.mlst-btn:hover{ background: var(--primary-700); }
.mlst-btn:active{ transform: translateY(1px); }
.mlst-btn[disabled]{ opacity:.7; cursor:not-allowed; }

.mlst-secure{
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  text-align:center;
}

.mlst-hr{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(229,231,235,.8);
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}
.mlst-mini{
  font-size: 12px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 980px){
  .mlst-shell{flex-direction:column;}
  .mlst-left{flex: 0 0 auto; padding: 28px 22px 18px;}
  .mlst-tagline{font-size: 26px;}
  .mlst-right{padding: 10px 16px 28px;}
  .mlst-card{padding: 22px;}
}
@media (max-width: 420px){
  .mlst-tagline{font-size: 22px;}
  .mlst-brand h1{font-size: 16px;}
}