.ceepos-cookie {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  width: min(440px, calc(100vw - 32px));
  padding: 20px;
  background: #fff;
  color: #222;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  font-size: 15px;
}

.ceepos-cookie__title {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.ceepos-cookie__message {
  margin: 0 0 12px;
}

.ceepos-cookie__link {
  display: inline-block;
  margin-bottom: 16px;
}

.ceepos-cookie__tools {
  margin-bottom: 12px;
}

.ceepos-cookie__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #e5e5e5;
}

.ceepos-cookie__button {
  border: 0;
  border-radius: 4px;
  padding: 10px 14px;
  background: #111;
  color: #fff;
  cursor: pointer;
}

.ceepos-cookie__button--secondary {
  background: #eee;
  color: #111;
}

.ceepos-cookie__button--wide {
  display: block;
  width: 100%;
  background: none;
  color: #111;
  border: 1px solid #111;
}

.ceepos-cookie-toggle {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.ceepos-cookie-toggle[hidden],
.ceepos-cookie-modal[hidden] {
  display: none;
}

.ceepos-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ceepos-cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.ceepos-cookie-modal__dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 24px;
  background: #fff;
  color: #222;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  font-size: 15px;
}

.ceepos-cookie-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: none;
  color: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.ceepos-cookie-modal__actions {
  position: sticky;
  bottom: 0;
  margin-top: 24px;
  padding: 12px 0 4px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  background: #fff;
  border-top: 1px solid #e5e5e5;
}

.ceepos-cookie-screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.ceepos-cookie-modal-is-open {
  overflow: hidden;
}

.ceepos-cookie button:focus-visible,
.ceepos-cookie-modal button:focus-visible,
.ceepos-cookie-toggle:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.ceepos-cookie-modal__title {
  margin: 0 32px 16px 0;
  font-size: 20px;
}

.ceepos-cookie-modal__group {
  margin-top: 24px;
}

.ceepos-cookie-modal__category {
  margin: 0 0 8px;
  font-size: 16px;
}

.ceepos-cookie-modal__note {
  margin: 0 0 12px;
  color: #555;
}

.ceepos-cookie-modal__choice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  cursor: pointer;
}

.ceepos-cookie-modal__table {
  width: 100%;
  border-collapse: collapse;
}

.ceepos-cookie-modal__table th,
.ceepos-cookie-modal__table td {
  padding: 8px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e5e5e5;
  word-break: break-word;
  max-width: 300px;
}