:root {
  --bg: #f4efe5;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #17202c;
  --muted: #5f6772;
  --line: rgba(23, 32, 44, 0.12);
  --primary: #0d5c63;
  --primary-strong: #083f44;
  --accent: #d38b32;
  --shadow: 0 24px 60px rgba(20, 32, 48, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(211, 139, 50, 0.22), transparent 28%),
    radial-gradient(circle at bottom right, rgba(13, 92, 99, 0.2), transparent 34%),
    linear-gradient(135deg, #f7f2e9 0%, #eef4f3 52%, #e6ecef 100%);
}


.page-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(320px, 0.78fr);
  align-content: center;
  justify-content: center;
  padding: 26px;
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand-panel,
.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-panel {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 34px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(118, 196, 255, 0.98), rgba(66, 157, 234, 0.96)),
    #79c6ff;
  box-shadow: var(--shadow);
  color: #fefefe;
  flex-direction: column;
  align-items: flex-start;
}

.brand-panel::before,
.brand-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.brand-panel::before {
  width: 260px;
  height: 260px;
  top: -80px;
  right: -70px;
}

.brand-panel::after {
  width: 180px;
  height: 180px;
  bottom: -50px;
  left: -40px;
}

.brand-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.brand-logo {
  position: relative;
  z-index: 1;
  margin: 26px 0 22px;
}

.brand-logo__ring {
  width: 136px;
  height: 136px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 18px 34px rgba(40, 118, 184, 0.2);
}

.brand-logo__image {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  padding: 8px;
}

.brand-copy,
.brand-metrics {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: #eaf7ff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-copy {
  width: 100%;
  min-height: 32px;
}

.brand-copy h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.7rem, 2.6vw, 2.55rem);
  line-height: 1.15;
}

.description {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.8;
}

.vision-card,
.brand-mission {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
}

.vision-card {
  margin-top: 22px;
}

.vision-card__label {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vision-card p {
  margin: 0;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.7;
}

.brand-mission {
  width: 100%;
  margin-top: 18px;
}

.brand-mission h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1.08rem;
}

.brand-mission ol {
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.92);
}

.brand-mission li + li {
  margin-top: 10px;
}

.brand-mission li {
  line-height: 1.72;
  font-size: 0.98rem;
}

.login-panel {
  padding: 8px 0;
}

.panel-card {
  width: min(100%, 430px);
  padding: 30px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-header h2 {
  margin: 0;
  font-size: 1.68rem;
}

.panel-header p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.panel-kicker {
  margin: 0 0 10px !important;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.login-form {
  margin-top: 22px;
}

.alert {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  border: 1px solid transparent;
}

.alert--success {
  background: rgba(33, 150, 83, 0.12);
  border-color: rgba(33, 150, 83, 0.18);
  color: #17653a;
}

.alert--error {
  background: rgba(194, 53, 53, 0.1);
  border-color: rgba(194, 53, 53, 0.18);
  color: #8f2222;
}

.field {
  display: block;
  margin-bottom: 15px;
}

.field span {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.field input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-strong);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.field input:focus {
  outline: none;
  border-color: rgba(13, 92, 99, 0.52);
  box-shadow: 0 0 0 5px rgba(13, 92, 99, 0.12);
  transform: translateY(-1px);
}

.field-hint {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 0 18px;
}

.remember-me {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.text-link,
.ghost-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.primary-button,
.outline-button {
  width: 100%;
  min-height: 50px;
  border-radius: 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 18px 34px rgba(13, 92, 99, 0.24);
}

.primary-button:hover,
.outline-button:hover {
  transform: translateY(-2px);
}

.outline-button {
  margin-top: 14px;
  border: 1.5px solid rgba(13, 92, 99, 0.18);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.72);
}

.secondary-actions {
  margin-top: 20px;
  text-align: center;
}

.panel-note {
  padding: 16px 18px;
  margin-top: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(13, 92, 99, 0.12);
}

.panel-note strong,
.panel-note span {
  display: block;
}

.panel-note strong {
  margin-bottom: 6px;
  color: var(--primary);
}

.panel-note span {
  color: var(--text);
}

.ghost-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 600;
}


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

  .brand-panel {
    min-height: 420px;
  }

  .brand-copy h1 {
    max-width: 100%;
  }

}

@media (max-width: 640px) {
  .page-shell {
    padding: 16px;
    gap: 18px;
  }

  .brand-panel,
  .panel-card {
    padding: 26px;
    border-radius: 24px;
  }

  .brand-metrics {
    grid-template-columns: 1fr;
  }

  .form-meta {
    flex-direction: column;
    align-items: flex-start;
  }

}
