/* MS Property CRM — Auth screens */
.msp-auth {
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(1000px 500px at 0% 0%, rgba(37, 99, 235, 0.12), transparent 55%),
    #f5f7fb;
  color: #0f172a;
}

.msp-auth__shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.msp-auth__shell--centered {
  grid-template-columns: 1fr;
  place-items: center;
  padding: 2rem;
}

.msp-auth__brand-panel {
  position: relative;
  display: flex;
  align-items: center;
  padding: 3rem;
  color: #f8fafc;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.8)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.msp-auth__brand-inner {
  max-width: 34rem;
}

.msp-auth__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5fd;
}

.msp-auth__headline {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  font-weight: 700;
}

.msp-auth__lead {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.65;
}

.msp-auth__form-panel {
  display: grid;
  place-items: center;
  padding: 2rem;
}

.msp-auth__card {
  width: min(440px, 100%);
  padding: 2rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.msp-auth-form__title {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.msp-auth-form__subtitle {
  margin: 0 0 1.5rem;
  color: #64748b;
  font-size: 0.95rem;
}

.msp-auth-form__footer {
  margin: 1.25rem 0 0;
  text-align: center;
  color: #64748b;
  font-size: 0.92rem;
}

.msp-input {
  border-radius: 10px;
  border-color: #e2e8f0;
  padding: 0.65rem 0.85rem;
}

.msp-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.msp-btn-primary {
  background: #2563eb;
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.7rem 1rem;
}

.msp-btn-primary:hover,
.msp-btn-primary:focus {
  background: #1d4ed8;
  color: #fff;
}

.msp-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.msp-link:hover {
  text-decoration: underline;
}

[x-cloak] {
  display: none !important;
}

@media (max-width: 900px) {
  .msp-auth__shell {
    grid-template-columns: 1fr;
  }

  .msp-auth__brand-panel {
    min-height: 220px;
    padding: 2rem;
  }

  .msp-auth__headline {
    font-size: 1.6rem;
  }
}
