/**
 * PrestaHU
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Commercial License
 * you can't distribute, modify or sell this code
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file
 * If you need help please contact info@presta.hu
 *
 * @author    PrestaHU <info@presta.hu>
 * @copyright PrestaHU
 * @license   commercial
 */

.kplevbp-consent {
  --kplevbp-surface: #ffffff;
  --kplevbp-text: #1f2328;
  --kplevbp-border: #d0d7de;
  --kplevbp-button: #1f2328;
  --kplevbp-button-text: #ffffff;
  position: fixed;
  z-index: 10000;
  left: 16px;
  right: 16px;
  bottom: 16px;
  box-sizing: border-box;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  background: var(--kplevbp-surface);
  color: var(--kplevbp-text);
  border: 1px solid var(--kplevbp-border);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  font-size: 15px;
  line-height: 1.5;
}

.kplevbp-consent.kplevbp-consent {
  width: auto;
  flex-shrink: 1;
  margin-top: 0;
}

.kplevbp-consent[hidden],
.kplevbp-consent-settings[hidden],
[data-kplevbp-consent-account][hidden] {
  display: none !important;
}

.kplevbp-consent__text {
  flex: 1 1 280px;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.kplevbp-consent__link {
  color: inherit;
  text-decoration: underline;
}

.kplevbp-consent__actions {
  display: flex;
  flex: 0 1 auto;
  gap: 8px;
}

.kplevbp-consent__button {
  min-height: 44px;
  min-width: 112px;
  padding: 8px 16px;
  border: 1px solid var(--kplevbp-button);
  border-radius: 6px;
  background: var(--kplevbp-button);
  color: var(--kplevbp-button-text);
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

.kplevbp-consent__button:focus-visible,
.kplevbp-consent-settings__button:focus-visible {
  outline: 3px solid #0969da;
  outline-offset: 2px;
}

.kplevbp-consent-settings {
  margin: 0;
  padding: 8px 16px;
  text-align: center;
}

.kplevbp-consent-settings__button {
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 575px) {
  .kplevbp-consent {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }

  .kplevbp-consent__actions {
    flex: 1 1 100%;
  }

  .kplevbp-consent__button {
    flex: 1 1 0;
    min-width: 0;
  }
}
