/* ============================================================
   css/login.css — LavLeeCAD Login (matches attached UI style)
   - Big rounded frosted card
   - Pill input + blue Continue
   - OR divider + social buttons
   ============================================================ */

:root{
  --ll-blue: #013756;
  --ll-blue-2: #084972;
  --ll-text: #111;
  --ll-muted: rgba(0,0,0,.62);
  --ll-line: rgba(0,0,0,.10);
  --ll-card: rgba(255,255,255,.86);
  --ll-card-border: rgba(255,255,255,.72);
  --ll-shadow: 0 26px 80px rgba(0,0,0,.12);
}

.ll-login-page{
  margin:0;
  min-height:100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ll-text);
  overflow:hidden;
  background:#eef7ff;
}

/* Background layer (soft gradients + right frosted strip) */
.ll-auth-bg{
  position:fixed;
  inset:0;
  z-index:0;
  background:
    radial-gradient(1100px 600px at 82% 18%, rgba(170,220,255,.85), rgba(120,220,255,0) 60%),
    radial-gradient(900px 600px at 92% 62%, rgba(0,250,255,.14), rgba(0,150,255,0) 62%),
    linear-gradient(180deg, #eaf6ff 0%, #f7fbff 55%, #eff4fb 100%);
}

.ll-auth-bg::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:34%;
  height:100%;
  background: linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,.12));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* Help pill (optional) */
.ll-help{
  position:fixed;
  top:18px;
  left:22px;
  z-index:5;
  display:flex;
  align-items:baseline;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.55);
  border:1px solid rgba(255,255,255,.75);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.ll-help-title{
  font-size:10px;
  font: italic;
  color: rgba(0,0,0,.70);
  padding-bottom: 40px;
}

.ll-help-link{
  font-size:12px;
  color: var(--ll-blue-2);
  text-decoration:none;
  font-weight:650;
}
.ll-help-link:hover{ text-decoration:underline; }

/* Shell */
.ll-login-shell{
  position:relative;
  z-index:2;
  min-height:100vh;
  display:grid;
  place-items:center;
  padding: clamp(18px, 4vw, 42px);
}

/* Card (big rounded container like screenshot) */
.ll-login-card{
  width: min(420px);
  min-height: min(360px);
  border-radius: 14px;
  background: var(--ll-card);
  border: 2px solid var(--ll-card-border);
  box-shadow: var(--ll-shadow);
  overflow:hidden;
  display:grid;
  place-items:center;

  
}

/* Inner content column centered */
.ll-login-inner{
  width: min(300px);
  text-align:center;
  padding: clamp(26px, 6vh, 70px) 0;
}

/* Title + subline */
.ll-title{
  margin: 0 0 10px;
  font-size: clamp(14px, 4.2vw, 30px);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.ll-subline{
  margin: 0 0 44px;
  font-size: 11px;
  color: rgba(0,0,0,.72);
}

.ll-inline-link{
  color: var(--ll-blue-2);
  text-decoration:none;
  font-weight:650;
}
.ll-inline-link:hover{ text-decoration:underline; }

/* Banner (errors) */
.ll-banner{
  margin: 0 auto 18px;
  width: min(520px, 100%);
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 77, 77, .08);
  border: 1px solid rgba(255, 77, 77, .22);
  color: rgba(110, 0, 0, .85);
  font-size: 13px;
  text-align:left;
}
.ll-hidden{ display:none !important; }

/* Forms */
.ll-form{
  width: min(560px, 100%);
  margin: 0 auto;
  display:grid;
  gap: 14px;
}

.ll-label{
  width: min(280px, 100%);   /* same as input */
  margin: 0 auto;            /* centers the label block */
  text-align: left;          /* text stays left */
  font-size: 11px;
  color: var(--ll-muted);
  padding-left: 1px;        /* optional: keep if you want inset */
  box-sizing: border-box;
}

.ll-input{
  width: min(280px, 100%);
  height: 32px;
  border-radius: 8px;
  border: 2px solid rgba(17,168,255,.95);
  background: rgba(255,255,255,.92);
  padding: 0 18px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;

  /* ✅ center the input box */
  display: block;
  margin: 0 auto;
}

.ll-input:focus{
  border-color: rgba(17,168,255,1);
  box-shadow: 0 0 0 5px rgba(17,168,255,.16);
}

.ll-invalid{
  border-color: rgba(255, 70, 70, .95) !important;
  box-shadow: 0 0 0 5px rgba(255, 70, 70, .12) !important;
}

/* Primary button */
.ll-btn-primary{
  width: min(280px, 100%);
  height: 32px;
  border-radius: 8px;
  border: none;
  margin: 8px auto 0;
  background: var(--ll-blue);
  color: #fff;
  font-weight: 750;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(17,168,255,.22);
}

.ll-btn-primary:hover{ filter: brightness(1.02); }
.ll-btn-primary:active{ transform: translateY(1px); }
.ll-btn-primary:disabled{
  opacity: .75;
  cursor: not-allowed;
}

/* Password step row */
.ll-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

.ll-row-email{
  margin-top: 2px;
}

.ll-email-pill{
  flex: 1 1 auto;
  min-width: 0;
  text-align:left;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.65);
  color: rgba(0,0,0,.80);
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ll-link-btn{
  flex: 0 0 auto;
  border:none;
  background: transparent;
  color: var(--ll-blue-2);
  font-weight: 700;
  cursor:pointer;
  padding: 8px 10px;
  border-radius: 10px;
}
.ll-link-btn:hover{
  background: rgba(17,168,255,.10);
}

.ll-row-slim{
  justify-content:flex-end;
  margin-top: -2px;
}

/* OR divider */
.ll-or{
  width: min(560px, 100%);
  margin: 32px auto 22px;
  display:flex;
  align-items:center;
  gap: 14px;
  color: rgba(0,0,0,.55);
  font-size: 14px;
}

.ll-or::before,
.ll-or::after{
  content:"";
  height: 1px;
  background: rgba(0,0,0,.14);
  flex: 1 1 auto;
}

.ll-or span{
  padding: 0 4px;
}

/* Social buttons */
.ll-social{
  width: min(560px, 100%);
  margin: 0 auto;
  display:grid;
  gap: 12px;
}

.ll-social-btn{
  width: min(420px, 100%);
  margin: 0 auto;
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.92);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.ll-social-btn:hover{
  background: rgba(255,255,255,1);
  border-color: rgba(0,0,0,.14);
}

.ll-social-ico{
  width: 26px;
  height: 26px;
  display:grid;
  place-items:center;
  margin-left: 6px;
}

.ll-social-text{
  flex: 1 1 auto;
  text-align:center;
  font-size: 15px;
  color: rgba(0,0,0,.72);
  margin-right: 26px; /* visually centers text despite icon */
}

/* Responsive tweaks */
@media (max-width: 560px){
  .ll-help{ left: 12px; right: 12px; width: auto; justify-content: space-between; }
  .ll-login-card{ border-radius: 22px; min-height: auto; padding: 4px 0; }
  .ll-login-inner{ width: min(280px, 90%); padding: 36px 0; }
  .ll-title{ font-size: 40px; }
}
