:root {
  --cr-blue: #2f8cff;
  --cr-blue-dark: #1266d8;
  --cr-ink: #050816;
  --cr-slate: #5d6b82;
  --cr-border: #dce5f2;
  --cr-bg: #eef4fb;
  --cr-danger: #be123c;
  --cr-success: #047857;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(47, 140, 255, 0.16), transparent 34rem),
    linear-gradient(135deg, #f7fbff 0%, #eef4fb 48%, #e6eef9 100%);
  color: var(--cr-ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cr-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(420px, 1fr);
  min-height: 100vh;
  padding: 32px;
  gap: 24px;
}

.cr-panel {
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

.cr-brand-panel {
  position: relative;
  display: grid;
  align-content: space-between;
  overflow: hidden;
  border-radius: 30px;
  padding: 36px;
  background:
    linear-gradient(150deg, rgba(47, 140, 255, 0.92), rgba(12, 45, 100, 0.96)),
    #0f172a;
  color: #fff;
}

.cr-brand-panel::after {
  position: absolute;
  right: -140px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  content: "";
}

.cr-logo-white {
  position: relative;
  z-index: 1;
  width: 180px;
  height: auto;
}

.cr-brand-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.cr-eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cr-login-heading .cr-eyebrow {
  color: var(--cr-blue-dark);
}

.cr-brand-copy h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

.cr-brand-copy p:last-child {
  max-width: 420px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.65;
}

.cr-brand-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cr-brand-stats div {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.cr-brand-stats strong,
.cr-brand-stats span {
  display: block;
}

.cr-brand-stats strong {
  font-size: 22px;
}

.cr-brand-stats span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.cr-login-panel {
  display: grid;
  place-items: center;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.cr-login-card {
  width: min(100%, 460px);
  padding: 30px;
}

.cr-logo {
  width: 150px;
  height: auto;
}

.cr-login-heading {
  margin-top: 44px;
}

.cr-login-heading h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.cr-login-heading p:last-child {
  margin: 12px 0 0;
  color: var(--cr-slate);
  font-size: 15px;
  line-height: 1.55;
}

.cr-alert {
  margin-top: 24px;
  border-radius: 14px;
  padding: 12px 14px;
  background: #eff6ff;
  color: #174ea6;
  font-size: 14px;
  line-height: 1.45;
}

.cr-alert-error {
  background: #fff1f2;
  color: var(--cr-danger);
}

.cr-alert-success {
  background: #ecfdf5;
  color: var(--cr-success);
}

.cr-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.cr-field {
  display: grid;
  gap: 8px;
  color: #1f2937;
  font-size: 13px;
  font-weight: 750;
}

.cr-field input {
  width: 100%;
  height: 50px;
  border: 1px solid var(--cr-border);
  border-radius: 14px;
  padding: 0 15px;
  background: #fff;
  color: var(--cr-ink);
  font-size: 15px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.cr-field input:focus {
  border-color: var(--cr-blue);
  box-shadow: 0 0 0 4px rgba(47, 140, 255, 0.15);
}

.cr-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 26px;
}

.cr-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cr-slate);
  font-size: 14px;
  font-weight: 650;
}

.cr-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--cr-blue);
}

.cr-muted-link {
  color: var(--cr-blue-dark);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.cr-muted-link:hover {
  text-decoration: underline;
}

.cr-submit {
  height: 52px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cr-blue), var(--cr-blue-dark));
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(47, 140, 255, 0.28);
}

.cr-submit:hover {
  filter: brightness(0.98);
}

.cr-footer-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  color: #8090a7;
  font-size: 12px;
}

@media (max-width: 920px) {
  .cr-shell {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .cr-brand-panel {
    min-height: 340px;
    padding: 28px;
  }

  .cr-login-card {
    padding: 28px;
  }
}

@media (max-width: 560px) {
  .cr-shell {
    padding: 0;
  }

  .cr-brand-panel {
    display: none;
  }

  .cr-login-panel {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .cr-login-heading {
    margin-top: 34px;
  }

  .cr-login-heading h2 {
    font-size: 30px;
  }

  .cr-footer-note {
    display: grid;
  }
}

