/**
 * HLAF eligibility acknowledgment popup
 */

.hlaf-eligibility {
  inset: 0;
  position: fixed;
  z-index: 100000;
}

.hlaf-eligibility[hidden] {
  display: none !important;
}

.hlaf-eligibility__backdrop {
  background: rgba(0, 0, 0, 0.55);
  inset: 0;
  position: absolute;
}

.hlaf-eligibility__dialog {
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  left: 50%;
  max-height: 96vh;
  max-width: 860px;
  overflow: auto;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 2rem);
}

.hlaf-eligibility__body {
  color: #1a1a1a;
  font-size: 0.9375rem;
  line-height: 1.5;
  padding: 1.5rem 2rem 1.35rem;

}

.hlaf-eligibility__logo {
  margin: 0 0 1.25rem;
  text-align: left;
}

.hlaf-eligibility__logo img {
  display: block;
  height: auto;
  max-width: min(216px, 70%);
  width: 100%;
}

.hlaf-eligibility__title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 1rem;
  font-family: var(--font-family-styrene_b_lc-bold);
}

.hlaf-eligibility__subtitle {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.25rem 0 0.75rem;
  font-family: var(--font-family-styrene_b_lc-bold);
}

.hlaf-eligibility__body p {
  margin: 0 0 1rem;
  font-family: var(--font-family-sohne-regular);
}

.hlaf-eligibility__list {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.hlaf-eligibility__list li {
  margin-bottom: 0.85rem;
}
.hlaf-eligibility__list strong {
  font-weight: 700;
  font-family: var(--font-family-styrene_b_lc-bold);
}

.hlaf-eligibility__list li:last-child {
  margin-bottom: 0;
}

.hlaf-eligibility__confirm {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  font-weight: 600;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
}

.hlaf-eligibility__confirm input[type='checkbox'] {
  accent-color: #1cb2b9;
  flex-shrink: 0;
  height: 1.1rem;
  margin-top: 0.15rem;
  width: 1.1rem;
}

.hlaf-eligibility__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hlaf-eligibility__btn {
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  min-height: 44px;
  padding: 0.65rem 1.35rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.hlaf-eligibility__btn--proceed {
  background: #1cb2b9;
  border-color: #1cb2b9;
  color: #fff;
}

.hlaf-eligibility__btn--proceed:hover:not(:disabled) {
  background: #147e83;
  border-color: #147e83;
  color: #fff;
}

.hlaf-eligibility__btn--proceed:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.hlaf-eligibility__btn--cancel {
  background: #fff;
  border-color: #1cb2b9;
  color: #1cb2b9;
}

.hlaf-eligibility__btn--cancel:hover {
  background: #e8f7f8;
}

body.hlaf-eligibility-open {
  overflow: hidden;
}

@media (max-width: 575px) {
  .hlaf-eligibility__body {
    padding: 1.25rem;
  }

  .hlaf-eligibility__actions {
    flex-direction: column;
  }

  .hlaf-eligibility__btn {
    width: 100%;
  }
}
