.mv-cookie-banner,
.mv-cookie-settings {
  font-family: Arial, sans-serif;
}

.mv-cookie-banner {
  position: fixed;
  z-index: 99999;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1080px;
  margin: auto;
  padding: 14px 16px;
  border: 1px solid #454545;
  background: #202020;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .22);
  color: #f5f5f2;
}

.mv-cookie-banner[hidden],
.mv-cookie-settings[hidden],
.mv-map-placeholder[hidden],
.mv-consent-frame[hidden] {
  display: none !important;
}

.mv-cookie-banner p {
  max-width: 620px;
  margin: 0;
  color: #e9e9e5;
  font-size: 12px;
  line-height: 1.5;
}

.mv-cookie-actions,
.mv-cookie-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mv-cookie-actions button,
.mv-cookie-settings-actions button,
.mv-map-placeholder button {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #e7e7e3;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
  cursor: pointer;
}

.mv-cookie-actions button:hover,
.mv-cookie-actions button:focus,
.mv-cookie-settings-actions button:hover,
.mv-cookie-settings-actions button:focus {
  background: #f4f4f0;
  color: #202020;
}

.mv-cookie-configure {
  border-color: #777 !important;
}

.mv-cookie-settings {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .46);
}

.mv-cookie-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 30px;
  background: #f7f6f2;
  color: #222;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .32);
}

.mv-cookie-panel h2 {
  margin: 0 45px 24px 0;
  color: #222;
  font-size: 25px;
  font-weight: 500;
}

.mv-consent-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #222;
  font-size: 28px;
  cursor: pointer;
}

.mv-cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid #d4d3ce;
  color: #222;
}

.mv-cookie-category strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.mv-cookie-category p {
  margin: 0;
  color: #5d5d57;
  font-size: 12px;
  line-height: 1.55;
}

.mv-cookie-category input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  accent-color: #222;
}

.mv-always-on {
  color: #555;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.mv-cookie-settings-actions {
  margin-top: 24px;
}

.mv-cookie-settings-actions button {
  border-color: #222;
  color: #222;
}

.mv-cookie-footer-link {
  margin-left: 12px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.mv-map-placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 35px;
  background: #efeee9;
  text-align: center;
}

.mv-map-placeholder p {
  margin: 0 0 16px;
  color: #55554f;
  font-size: 14px;
}

.mv-map-placeholder button {
  border-color: #222;
  color: #222;
}

@media (max-width: 767px) {
  .mv-cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: block;
    padding: 13px;
  }

  .mv-cookie-banner p {
    margin-bottom: 11px;
    font-size: 11px;
  }

  .mv-cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mv-cookie-actions .mv-cookie-configure {
    grid-column: 1 / -1;
  }

  .mv-cookie-actions button {
    min-height: 36px;
    padding: 7px 8px;
    font-size: 10px;
  }

  .mv-cookie-panel {
    padding: 25px 20px;
  }

  .mv-cookie-category {
    gap: 15px;
  }

  .mv-cookie-settings-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mv-cookie-footer-link {
    display: block;
    margin: 8px 0 0;
  }
}
