#lks-consent-panel[hidden],
#lks-consent-panel [hidden] {
  display: none !important;
}

#lks-consent-panel {
  position: fixed;
  z-index: 2147483000;
  left: 24px;
  bottom: 24px;
  width: min(760px, calc(100% - 48px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 28px;
  border: 1px solid rgba(8, 52, 105, 0.14);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(8, 31, 58, 0.28);
  color: #2d2d2d;
  font-family: Gilroy, Arial, sans-serif;
}

.lks-consent-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.lks-consent-title {
  margin: 0 0 10px;
  color: #083469;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}

.lks-consent-text {
  max-width: 650px;
  margin: 0;
  color: #4d5966;
  font-size: 16px;
  line-height: 1.5;
}

.lks-consent-text a {
  color: #0b5cad;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lks-consent-close {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f0f3f7;
  color: #083469;
  font-size: 24px;
  line-height: 38px;
  cursor: pointer;
}

.lks-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.lks-consent-btn {
  flex: 1 1 180px;
  min-height: 46px;
  padding: 11px 18px;
  border: 2px solid #083469;
  border-radius: 7px;
  background: #ffffff;
  color: #083469;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
}

.lks-consent-btn:hover {
  background: #eef5fc;
}

.lks-consent-btn-primary {
  border-color: #e02424;
  background: #e02424;
  color: #ffffff;
}

.lks-consent-btn-primary:hover {
  background: #c91e1e;
}

.lks-consent-btn:focus-visible,
.lks-consent-close:focus-visible,
.lks-legal-links a:focus-visible,
.lks-cookie-settings-link:focus-visible,
.lks-consent-option input:focus-visible + span {
  outline: 3px solid #f2b84b;
  outline-offset: 3px;
}

.lks-consent-preferences {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #dce3ea;
}

.lks-consent-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lks-consent-option {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 2px 10px;
  align-items: start;
  min-height: 112px;
  padding: 15px;
  border: 1px solid #dce3ea;
  border-radius: 9px;
  background: #f8fafc;
  cursor: pointer;
}

.lks-consent-option input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #e02424;
}

.lks-consent-option-name {
  color: #18314f;
  font-size: 16px;
  font-weight: 800;
}

.lks-consent-option-desc {
  grid-column: 2;
  color: #5d6874;
  font-size: 14px;
  line-height: 1.4;
}

.lks-consent-blocked {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 24px;
  background: #edf2f7 !important;
}

.lks-external-placeholder {
  max-width: 520px;
  margin: auto;
  color: #33465a;
  text-align: center;
}

.lks-external-placeholder p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.45;
}

.lks-external-placeholder .lks-consent-btn {
  display: inline-block;
  width: auto;
  min-width: 210px;
}

#footer .copyright.lks-footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  height: 56px;
  padding: 0 20px;
  line-height: normal;
}

.lks-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px 16px;
}

#footer .copyright.lks-footer-meta .lks-legal-links a,
.lks-cookie-settings-link {
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  line-height: 1.25;
  cursor: pointer;
}

#footer .copyright.lks-footer-meta > a {
  flex: 0 0 auto;
  font-size: 14px;
}

@media (max-width: 760px) {
  #lks-consent-panel {
    left: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
    padding: 20px;
  }

  .lks-consent-title {
    font-size: 21px;
  }

  .lks-consent-options {
    grid-template-columns: 1fr;
  }

  #footer .copyright.lks-footer-meta {
    gap: 12px;
  }

  .lks-legal-links {
    gap: 5px 10px;
  }

  #footer .copyright.lks-footer-meta .lks-legal-links a,
  .lks-cookie-settings-link,
  #footer .copyright.lks-footer-meta > a {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  #lks-consent-panel {
    left: 6px;
    bottom: 6px;
    width: calc(100% - 12px);
    max-height: calc(100vh - 12px);
    padding: 17px;
    border-radius: 10px;
  }

  .lks-consent-actions {
    flex-direction: column;
  }

  .lks-consent-btn {
    flex-basis: auto;
    width: 100%;
  }

  #footer .copyright.lks-footer-meta {
    flex-direction: column;
    gap: 10px;
    height: auto;
    min-height: 96px;
    padding: 14px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #lks-consent-panel,
  #lks-consent-panel * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
