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

body {
  background: #eef4f1;
}

.login-page,
.login-page * {
  box-sizing: border-box;
}

.login-page {
  display: flex;
  min-height: 100vh;
  align-items: center;
  color: #17352f;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 255, 255, 0.95) 0 10%, transparent 32%),
    linear-gradient(135deg, #f5f8f6 0%, #e7efed 100%);
  font-family: "Segoe UI", Arial, sans-serif;
  padding: 32px 18px 40px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.login-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.login-panel {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 56px 56px 48px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(23, 53, 47, 0.08);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(20, 48, 44, 0.14);
}

.login-panel::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(31, 96, 86, 0.13);
}

.login-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}

.eldeco-logo {
  display: block;
  width: min(260px, 54vw);
  height: auto;
}

.access-pill,
.option-tag {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  background: #eef5f2;
  color: #254b43;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.access-pill {
  padding: 8px 13px;
  white-space: nowrap;
}

.ukg-brand {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin: -2px 0 30px;
}

.ukg-logo {
  display: block;
  width: 148px;
  height: auto;
}

.option-grid {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 660px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 auto;
}

.option-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  background: #ffffff;
  border: 1px solid rgba(23, 53, 47, 0.1);
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(24, 58, 52, 0.09);
}

.option-card h2 {
  margin: 25px 0 12px;
  color: #122d28;
  font-size: 26px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.1;
}

.option-card p {
  margin: 0 0 24px;
  color: #53665f;
  font-size: 15px;
  line-height: 1.55;
}

.option-tag {
  padding: 8px 12px;
  background: #e6f2ee;
}

.option-card-primary .option-tag {
  background: #dff3ed;
  color: #116050;
}

.option-button {
  display: inline-flex;
  min-width: 92px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0 18px;
  border-radius: 12px;
  background: #147462;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  transition: background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.option-button:hover,
.option-button:focus {
  background: #0f5f50;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(20, 116, 98, 0.22);
}

.option-button:focus {
  outline: 3px solid rgba(20, 116, 98, 0.25);
  outline-offset: 3px;
}

.option-button-dark {
  background: #0f3d5a;
}

.option-button-dark:hover,
.option-button-dark:focus {
  background: #0b3048;
  box-shadow: 0 10px 22px rgba(15, 61, 90, 0.2);
}

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

  .option-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .login-page {
    min-height: auto;
    padding: 18px 12px;
  }

  .login-panel {
    padding: 24px 18px 30px;
    border-radius: 14px;
  }

  .login-header {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
  }

  .eldeco-logo {
    width: min(220px, 72vw);
  }

  .access-pill {
    align-self: flex-start;
  }

  .option-grid {
    gap: 16px;
    margin-top: 32px;
  }

  .option-card {
    padding: 22px;
  }

  .option-card h2 {
    font-size: 23px;
  }
}
