
.mje-cookie-banner,
.mje-cookie-banner * {
  box-sizing: border-box;
}

.mje-cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 22px;
  width: min(920px, calc(100% - 32px));
  transform: translate(-50%, 140%);
  opacity: 0;
  pointer-events: none;
  z-index: 100000;
  transition: transform .35s ease, opacity .35s ease;
  font-family: "Muli", Arial, sans-serif;
}

.mje-cookie-banner.mje-cookie-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.mje-cookie-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  color: #f8fafc;
  background: linear-gradient(135deg, rgba(6, 78, 59, .96), rgba(63, 98, 18, .96));
  border: 1px solid rgba(163, 230, 53, .45);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(6, 78, 59, .35);
  padding: 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mje-cookie-panel[hidden] {
  display: none !important;
}

.mje-cookie-copy h3,
.mje-cookie-settings h3 {
  margin: 0 0 8px;
  color: #f8fafc;
  font-size: 22px;
  line-height: 1.2;
}

.mje-cookie-copy p {
  margin: 0;
  color: rgba(248, 250, 252, .86);
  line-height: 1.55;
}

.mje-cookie-copy a {
  color: #a3e635;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mje-cookie-actions {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 10px;
}

.mje-cookie-btn {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}

.mje-cookie-btn:hover,
.mje-cookie-icon:hover {
  transform: translateY(-2px);
}

.mje-cookie-accept {
  background: #a3e635;
  color: #064e3b;
  box-shadow: 0 10px 24px rgba(163, 230, 53, .22);
}

.mje-cookie-reject,
.mje-cookie-manage {
  background: rgba(248, 250, 252, .12);
  color: #f8fafc;
  border: 1px solid rgba(248, 250, 252, .25);
}

.mje-cookie-settings {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin: 0 auto;
}

.mje-cookie-settings-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mje-cookie-back {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(248, 250, 252, .24);
  background: rgba(248, 250, 252, .12);
  color: #f8fafc;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.mje-cookie-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(248, 250, 252, .16);
  color: #f8fafc;
}

.mje-cookie-row span {
  display: grid;
  gap: 4px;
}

.mje-cookie-row small {
  color: rgba(248, 250, 252, .72);
  line-height: 1.45;
}

.mje-cookie-row input {
  width: 22px;
  height: 22px;
  accent-color: #a3e635;
}

.mje-cookie-save {
  justify-self: start;
}

.mje-cookie-icon {
  position: fixed;
  left: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  display: none;
  place-items: center;
  border: 1px solid rgba(163, 230, 53, .45);
  border-radius: 50%;
  background: #064e3b;
  color: #f8fafc;
  box-shadow: 0 16px 38px rgba(6, 78, 59, .34);
  font-size: 26px;
  cursor: pointer;
  z-index: 99999;
  transition: transform .2s ease;
}

.mje-cookie-icon.mje-cookie-icon-visible {
  display: grid;
}

@media (max-width: 767px) {
  .mje-cookie-panel {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .mje-cookie-actions {
    grid-template-columns: 1fr;
  }
  .mje-cookie-btn {
    width: 100%;
  }
}
