@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f3f6f8;
  --surface: #ffffff;
  --surface-soft: #f7fafb;
  --border: #d8e1e5;
  --text: #102027;
  --muted: #52646c;
  --primary: #0f766e;
  --primary-strong: #0f5f59;
  --accent: #2563a6;
  --danger: #b53535;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.identity-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.identity-shell {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
  background: var(--surface);
}

.identity-side {
  padding: 1.65rem;
  background: var(--surface-soft);
  border-right: 1px solid var(--border);
}

.identity-brand {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  margin-bottom: 1.55rem;
  text-decoration: none;
  color: inherit;
}

.identity-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.identity-brand-wordmark {
  width: 150px !important;
  height: auto !important;
  border-radius: 0 !important;
}

.identity-eyebrow {
  margin: 0 0 .35rem;
  font-size: .72rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0;
}

.identity-side h1 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.15;
}

.identity-side p {
  margin: .72rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.identity-main {
  padding: 1.65rem;
  display: flex;
  align-items: center;
}

.identity-card {
  width: 100%;
}

.identity-card h2,
.identity-card h1 {
  margin: 0;
  font-size: 1.35rem;
}

.identity-card p {
  margin: .42rem 0 1rem;
  color: var(--muted);
  line-height: 1.5;
}

.form-group {
  margin-bottom: .86rem;
}

label {
  display: block;
  margin-bottom: .32rem;
  font-size: .9rem;
  font-weight: 700;
}

input {
  width: 100%;
  border: 1px solid #c8d4e6;
  border-radius: 10px;
  padding: .64rem .74rem;
  font-size: .95rem;
  font-family: inherit;
}

.remember-check {
  width: auto;
  margin-right: .45rem;
  vertical-align: middle;
}

input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, .18);
}

button,
.btn-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-radius: 10px;
  padding: .7rem .85rem;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  font-size: .92rem;
}

button {
  border: none;
  background: var(--primary);
  color: #fff;
}

button:hover {
  background: var(--primary-strong);
}

.btn-link {
  margin-top: .55rem;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.btn-link:hover {
  border-color: var(--primary);
  color: var(--primary-strong);
}

.identity-inline-links {
  margin-top: .76rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
}

.identity-access-note {
  margin: .8rem 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
}

.text-link {
  color: var(--primary-strong);
  text-decoration: none;
  font-weight: 700;
  font-size: .86rem;
}

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

.text-danger {
  color: var(--danger);
  font-size: .84rem;
}

.validation-summary-errors {
  color: var(--danger);
  font-size: .86rem;
  margin-bottom: .55rem;
}

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

  .identity-side {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 540px) {
  .identity-side,
  .identity-main {
    padding: 1.2rem;
  }

  .identity-side h1 {
    font-size: 1.45rem;
  }

  .identity-inline-links {
    flex-direction: column;
    align-items: flex-start;
  }
}
