/* Admin login — balanced light split */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@600;700&display=swap");

html, body.login-page {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  min-height: 100%;
  height: 100%;
  font-family: "Manrope", system-ui, sans-serif;
  background: #fff;
  color: #111827;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.login-page .navbar,
body.login-page #wrapper,
body.login-page .sidebar,
body.login-page .navbar-default {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.login-shell {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* —— Left —— */
.login-story {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 48px 40px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #111827;
  border-right: 1px solid #e2e8f0;
  box-sizing: border-box;
}

.login-story-inner {
  width: 100%;
  max-width: 520px;
}

.login-story-brand {
  margin-bottom: 28px;
  text-align: center;
}

.login-story-brand img {
  width: 150px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.login-story-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #64748b;
}

.login-story-title {
  margin: 0 0 12px;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.03em;
  color: #0f172a;
}

.login-story-lead {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.55;
  color: #64748b;
  font-weight: 500;
}

.login-story-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.login-story-points li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  min-height: 108px;
  box-sizing: border-box;
}

.login-story-points .dot {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: #334155;
  font-size: 10px;
  font-weight: 800;
}

.login-story-points strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.login-story-points span {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
}

.login-story-foot {
  margin: 24px 0 0;
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
}

/* —— Right —— */
.login-panel-wrap {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 48px 40px;
  background: #ffffff;
  box-sizing: border-box;
}

.login-card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px 28px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
  box-sizing: border-box;
}

.login-card-eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #64748b;
  text-align: center;
}

.login-card-title {
  margin: 0 0 6px;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #0f172a;
  text-align: center;
}

.login-card-sub {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
  text-align: center;
}

.login-card .alert {
  border-radius: 10px !important;
  margin-bottom: 14px !important;
  border: 0 !important;
  font-size: 13px;
}

.login-card .form-group { margin-bottom: 14px; }

.login-card label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.login-card .form-control {
  height: 48px !important;
  border-radius: 10px !important;
  border: 1px solid #d1d5db !important;
  box-shadow: none !important;
  font-size: 15px !important;
  padding: 10px 12px !important;
  background: #fff !important;
  color: #0f172a !important;
  width: 100% !important;
}

.login-card .form-control:focus {
  border-color: #334155 !important;
  box-shadow: 0 0 0 3px rgba(51, 65, 85, .1) !important;
}

.login-card-row {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 18px;
}

.login-card-row a {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
}

.login-card-row a:hover {
  color: #0f172a;
  text-decoration: underline;
}

.login-submit {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: #0f172a;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.login-submit:hover { background: #020617; }

.login-card-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  line-height: 1.45;
  color: #94a3b8;
  text-align: center;
}

.login-card-note a {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
}

.login-card-note a:hover {
  color: #0f172a;
  text-decoration: underline;
}

@media (max-width: 960px) {
  .login-shell {
    grid-template-columns: 1fr;
  }
  .login-story,
  .login-panel-wrap {
    min-height: auto;
    padding: 36px 24px;
  }
  .login-story {
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
  }
  .login-story-points {
    grid-template-columns: 1fr;
  }
  .login-story-points li {
    min-height: 0;
  }
}
