body.evorm-cookie-consent-open {
  overflow: hidden;
}

.evorm-cookie-consent {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #1f2933;
  font-family: Arial, sans-serif;
}

.evorm-cookie-consent__backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(15, 23, 42, .72);
}

.evorm-cookie-consent__dialog {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.evorm-cookie-consent__title {
  margin: 0;
  color: #101828;
  font-size: 28px;
  line-height: 1.2;
}

.evorm-cookie-consent__text {
  margin: 14px 0 24px;
  color: #475467;
  font-size: 15px;
  line-height: 1.5;
}

.evorm-cookie-consent__categories {
  border-top: 1px solid #eaecf0;
}

.evorm-cookie-consent__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid #eaecf0;
}

.evorm-cookie-consent__category-copy {
  min-width: 0;
}

.evorm-cookie-consent__category-title {
  color: #101828;
  font-size: 16px;
  font-weight: 700;
}

.evorm-cookie-consent__category-description {
  margin-top: 5px;
  color: #667085;
  font-size: 13px;
  line-height: 1.4;
}

.evorm-cookie-consent__category-control {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
}

.evorm-cookie-consent__status {
  min-width: 76px;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.evorm-cookie-consent__status--on {
  color: #067647;
}

.evorm-cookie-consent__status--off {
  color: #b42318;
}

.evorm-cookie-consent__switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.evorm-cookie-consent__switch input {
  width: 1px;
  height: 1px;
  opacity: 0;
}

.evorm-cookie-consent__slider {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: #d0d5dd;
  cursor: pointer;
  transition: background .2s ease;
}

.evorm-cookie-consent__slider::before {
  position: absolute;
  bottom: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .25);
  content: '';
  transition: transform .2s ease;
}

.evorm-cookie-consent__switch input:checked + .evorm-cookie-consent__slider {
  background: #12b76a;
}

.evorm-cookie-consent__switch input:checked + .evorm-cookie-consent__slider::before {
  transform: translateX(22px);
}

.evorm-cookie-consent__switch input:focus-visible + .evorm-cookie-consent__slider {
  outline: 3px solid rgba(18, 183, 106, .3);
  outline-offset: 2px;
}

.evorm-cookie-consent__switch input:disabled + .evorm-cookie-consent__slider {
  cursor: not-allowed;
  opacity: .75;
}

.evorm-cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.evorm-cookie-consent__button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #1f2933;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.evorm-cookie-consent__button--save {
  color: #1f2933;
  background: #fff;
}

.evorm-cookie-consent__button--accept {
  color: #fff;
  background: #1f2933;
}

.evorm-cookie-consent__button:focus-visible {
  outline: 3px solid rgba(18, 183, 106, .3);
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .evorm-cookie-consent {
    padding: 12px;
  }

  .evorm-cookie-consent__dialog {
    max-height: calc(100vh - 24px);
    padding: 22px 18px;
  }

  .evorm-cookie-consent__title {
    font-size: 23px;
  }

  .evorm-cookie-consent__category {
    align-items: flex-start;
    gap: 14px;
  }

  .evorm-cookie-consent__category-control {
    display: block;
  }

  .evorm-cookie-consent__status {
    min-width: 0;
    margin-bottom: 5px;
    text-align: center;
    white-space: nowrap;
  }

  .evorm-cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .evorm-cookie-consent__button {
    width: 100%;
  }
}
