#lf-consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(8, 20, 38, 0.22);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.lf-consent-box {
  width: min(1120px, calc(100% - 16px));
  margin-bottom: 12px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(8, 20, 38, 0.22);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-sizing: border-box;
}

.lf-consent-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.lf-consent-copy h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.2;
  color: #10233f;
}

.lf-consent-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #445267;
  max-width: 760px;
}

.lf-consent-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.lf-consent-links a {
  font-size: 14px;
  color: #163d6b;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lf-consent-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lf-consent-btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid #163d6b;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.lf-consent-reject,
.lf-consent-settings {
  background: #ffffff;
  color: #163d6b;
}

.lf-consent-accept {
  background: #163d6b;
  color: #ffffff;
}

.lf-consent-btn:focus-visible {
  outline: 3px solid rgba(22, 61, 107, 0.28);
  outline-offset: 2px;
}

@media (max-width: 820px) {
  #lf-consent-overlay {
    padding: 12px;
  }

  .lf-consent-box {
    width: 100%;
    margin-bottom: 0;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    border-radius: 16px;
  }

  .lf-consent-copy h2 {
    font-size: 20px;
  }

  .lf-consent-copy p {
    font-size: 14px;
  }

  .lf-consent-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .lf-consent-btn {
    width: 100%;
  }
}

.lf-consent-options {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.lf-consent-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #dce3ea;
  border-radius: 12px;
  cursor: pointer;
}

.lf-consent-option input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: #163d6b;
}

.lf-consent-option b {
  display: block;
  font-size: 15px;
  color: #10233f;
}

.lf-consent-option small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.4;
  color: #5f6d79;
}

@media (max-width: 820px) {
  #lf-consent-overlay { overflow-y: auto; }
  .lf-consent-box { max-height: calc(100vh - 24px); overflow-y: auto; }
}
