:root {
  --black: #171717;
  --black-soft: #252525;
  --red: #c9232c;
  --red-dark: #a91e25;
  --yellow: #f4c542;
  --yellow-soft: #fff7ce;
  --white: #ffffff;
  --background: #f5f5f3;
  --text: #202124;
  --muted: #6b7280;
  --border: #dfe2e7;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

.login-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(500px, 1.08fr) minmax(470px, .92fr);
}

.brand-panel {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 38px 54px 27px;
  background:
    radial-gradient(circle at 0 0, rgba(201,35,44,.18), transparent 37%),
    radial-gradient(circle at 100% 100%, rgba(244,197,66,.12), transparent 38%),
    var(--black);
  color: #fff;
}

.brand-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
}

.brand-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.brand-glow-one {
  right: -180px;
  top: 19%;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(244,197,66,.12);
  box-shadow:
    0 0 0 70px rgba(244,197,66,.025),
    0 0 0 140px rgba(201,35,44,.022);
}

.brand-glow-two {
  left: -190px;
  bottom: -230px;
  width: 450px;
  height: 450px;
  background: rgba(201,35,44,.08);
  filter: blur(40px);
}

.brand-content {
  position: relative;
  z-index: 2;
  width: min(650px, 100%);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.company-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.company-logo {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(0,0,0,.2);
}

.company-logo img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

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

.company-brand strong {
  font-size: 16px;
  letter-spacing: -.01em;
}

.company-brand span {
  margin-top: 4px;
  color: rgba(255,255,255,.55);
  font-size: 11px;
}

.brand-message {
  margin-top: clamp(58px, 9vh, 100px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 11px;
  border: 1px solid rgba(244,197,66,.32);
  border-radius: 999px;
  background: rgba(244,197,66,.08);
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.brand-message h1 {
  max-width: 610px;
  margin: 19px 0 17px;
  font-size: clamp(40px, 4.3vw, 65px);
  line-height: .99;
  letter-spacing: -.055em;
}

.brand-message h1 span {
  color: var(--yellow);
}

.brand-message > p {
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,.65);
  font-size: 15px;
  line-height: 1.65;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 43px;
}

.feature-item {
  min-height: 125px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(8px);
}

.feature-number {
  color: var(--yellow);
  font-size: 10px;
  font-weight: 900;
}

.feature-item strong {
  display: block;
  margin-top: 13px;
  font-size: 12px;
}

.feature-item p {
  margin: 6px 0 0;
  color: rgba(255,255,255,.48);
  font-size: 10px;
  line-height: 1.5;
}

.bel-card {
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--red);
  border-radius: 0 11px 11px 0;
  background: rgba(255,255,255,.045);
}

.bel-avatar {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--yellow), #f7a928);
  color: var(--black);
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(244,197,66,.15);
}

.bel-title {
  display: flex;
  align-items: center;
  gap: 7px;
}

.bel-title strong {
  font-size: 13px;
}

.bel-title small {
  color: rgba(255,255,255,.44);
  font-size: 10px;
}

.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #42d47e;
  box-shadow: 0 0 0 3px rgba(66,212,126,.12);
}

.bel-copy p {
  margin: 4px 0 0;
  color: rgba(255,255,255,.5);
  font-size: 10px;
  line-height: 1.45;
}

.brand-footer {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  padding-top: 22px;
  color: rgba(255,255,255,.3);
  font-size: 9px;
  letter-spacing: .03em;
}

.access-panel {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 45px clamp(42px, 6vw, 100px);
  background:
    radial-gradient(circle at 100% 0, rgba(244,197,66,.12), transparent 32%),
    var(--background);
}

.access-content {
  width: min(430px, 100%);
  margin: auto;
}

.environment-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid #e3e5e9;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.environment-label span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e7a91b;
  box-shadow: 0 0 0 3px rgba(231,169,27,.13);
}

.access-heading {
  margin: 29px 0 31px;
}

.access-heading h2 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -.045em;
}

.access-heading p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.login-form {
  width: 100%;
}

.form-field {
  margin-bottom: 17px;
}

.label-row,
.form-field > label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
  color: #34373b;
  font-size: 11px;
  font-weight: 800;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap input {
  width: 100%;
  height: 51px;
  padding: 0 74px 0 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  outline: none;
  font-size: 13px;
  box-shadow: 0 3px 12px rgba(20,20,20,.025);
  transition: .17s ease;
}

.input-wrap input::placeholder {
  color: #a0a5ad;
}

.input-wrap input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(201,35,44,.075);
}

.input-icon {
  position: absolute;
  left: 15px;
  z-index: 2;
  color: #8b9098;
  font-size: 15px;
  font-weight: 800;
}

.lock-icon {
  width: 13px;
  height: 11px;
  border: 1.7px solid #8b9098;
  border-radius: 3px;
}

.lock-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 8px;
  width: 7px;
  height: 7px;
  border: 1.7px solid #8b9098;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}

.password-toggle {
  position: absolute;
  right: 13px;
  z-index: 2;
  padding: 5px 2px;
  border: 0;
  background: transparent;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.error-message {
  min-height: 20px;
  margin: -4px 0 5px;
  color: #b91c1c;
  font-size: 11px;
}

.login-button {
  position: relative;
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 11px 28px rgba(201,35,44,.18);
  transition: .17s ease;
}

.login-button::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--yellow);
}

.login-button:hover {
  transform: translateY(-1px);
  background: var(--red-dark);
  box-shadow: 0 14px 32px rgba(201,35,44,.24);
}

.login-button:active {
  transform: translateY(0);
}

.button-arrow {
  font-size: 17px;
  transition: .17s ease;
}

.login-button:hover .button-arrow {
  transform: translateX(3px);
}

.access-help {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 24px;
  padding: 13px 14px;
  border: 1px solid #e4e6ea;
  border-radius: 10px;
  background: rgba(255,255,255,.56);
}

.security-mark {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  border-radius: 9px;
  background:
    radial-gradient(circle, var(--red) 0 3px, transparent 4px),
    var(--yellow-soft);
}

.access-help strong,
.access-help p {
  display: block;
  margin: 0;
}

.access-help strong {
  font-size: 10px;
}

.access-help p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.access-footer {
  margin-top: auto;
  padding-top: 20px;
  color: #a1a5ab;
  text-align: center;
  font-size: 9px;
}

.mobile-brand {
  display: none;
}

@media (max-width: 1050px) {
  .login-page {
    grid-template-columns: minmax(420px, .9fr) minmax(430px, 1.1fr);
  }

  .brand-panel {
    padding: 34px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-item {
    min-height: auto;
    display: flex;
    gap: 13px;
  }

  .feature-item strong {
    margin-top: 0;
  }
}

@media (max-width: 780px) {
  .login-page {
    display: block;
  }

  .brand-panel {
    display: none;
  }

  .access-panel {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 24px 20px;
  }

  .mobile-brand {
    width: min(430px, 100%);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto 40px;
  }

  .mobile-brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
  }

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

  .mobile-brand strong {
    font-size: 14px;
  }

  .mobile-brand span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
  }

  .access-content {
    margin: 0 auto auto;
  }

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