.dr-cookie-notice {
  --dr-cookie-bg: var(--e-global-color-primary, #004c66);
  --dr-cookie-accent: var(--e-global-color-accent, #ff685a);
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999999;
  width: 100%;
  border-top: 3px solid var(--dr-cookie-accent);
  background: var(--dr-cookie-bg);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.14);
  color: #fff;
  font-family: "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.dr-cookie-notice[hidden] {
  display: none !important;
}

.dr-cookie-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dr-cookie-notice__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(1180px, 100%);
  min-height: 48px;
  margin: 0 auto;
  padding: 8px 20px;
}

.dr-cookie-notice__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
}

.dr-cookie-notice__text {
  margin: 0;
  color: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  text-align: right;
}

.dr-cookie-notice__link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.dr-cookie-notice__link:hover,
.dr-cookie-notice__link:focus-visible {
  color: #fff;
  text-decoration-thickness: 2px;
}

.dr-cookie-notice__dismiss,
.dr-cookie-notice__settings {
  flex: 0 0 auto;
  min-height: 34px;
  margin: 0;
  padding: 5px 12px;
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.dr-cookie-notice__dismiss {
  min-width: 66px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: #fff;
  color: var(--dr-cookie-bg);
}

.dr-cookie-notice__settings {
  border: 0;
  background: transparent;
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dr-cookie-notice__dismiss:hover,
.dr-cookie-notice__dismiss:focus-visible {
  border-color: #fff;
  background: var(--dr-cookie-accent);
  color: #fff;
}

.dr-cookie-notice__settings:hover,
.dr-cookie-notice__settings:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.dr-cookie-notice__dismiss:focus-visible,
.dr-cookie-notice__settings:focus-visible,
.dr-cookie-notice__link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.dr-cookie-preferences-trigger {
	display: block;
	position: static;
	width: max-content;
  min-height: 30px;
	margin: 10px auto 14px;
  padding: 4px 9px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
  color: var(--e-global-color-primary, #004c66);
  font-family: "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
	text-decoration: underline;
	text-underline-offset: 3px;
  cursor: pointer;
}

.dr-cookie-preferences-trigger[hidden] {
  display: none !important;
}

.dr-cookie-preferences {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 33, 45, 0.58);
  font-family: "Noto Sans Hebrew", "Noto Sans", Arial, sans-serif;
}

.dr-cookie-preferences[hidden] {
  display: none !important;
}

.dr-cookie-preferences__panel {
  position: relative;
  width: min(480px, 100%);
  max-height: min(560px, calc(100vh - 32px));
  overflow: auto;
  padding: 24px;
  border-top: 4px solid var(--e-global-color-accent, #ff685a);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  color: #17323c;
  direction: rtl;
  text-align: right;
}

.dr-cookie-preferences__panel h2 {
  margin: 0 0 10px;
  color: var(--e-global-color-primary, #004c66);
  font-size: 22px;
  line-height: 1.3;
}

.dr-cookie-preferences__panel p {
  margin: 0 0 12px;
  color: #445b64;
  font-size: 14px;
  line-height: 1.65;
}

.dr-cookie-preferences__close {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #edf2f4;
  color: #17323c;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.dr-cookie-preferences__status:empty {
  display: none;
}

.dr-cookie-preferences__status {
  padding: 8px 10px;
  border-right: 3px solid var(--e-global-color-accent, #ff685a);
  background: #f4f7f8;
  font-weight: 600;
}

.dr-cookie-preferences__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.dr-cookie-preferences__grant,
.dr-cookie-preferences__reject {
  min-height: 40px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.dr-cookie-preferences__grant {
  border: 1px solid var(--e-global-color-primary, #004c66);
  background: var(--e-global-color-primary, #004c66);
  color: #fff;
}

.dr-cookie-preferences__reject {
  border: 1px solid #aebcc1;
  background: #fff;
  color: #445b64;
  font-weight: 500;
}

.dr-cookie-preferences__policy {
  display: inline-block;
  margin-top: 16px;
  color: var(--e-global-color-primary, #004c66);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dr-cookie-preferences__close:focus-visible,
.dr-cookie-preferences__grant:focus-visible,
.dr-cookie-preferences__reject:focus-visible,
.dr-cookie-preferences-trigger:focus-visible {
  outline: 3px solid var(--e-global-color-accent, #ff685a);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .dr-cookie-notice__inner {
		gap: 6px;
    min-height: 0;
		padding: 5px 7px max(5px, env(safe-area-inset-bottom));
  }

  .dr-cookie-notice__text {
		font-size: 11.5px;
		line-height: 1.28;
  }

  .dr-cookie-notice__dismiss {
		min-width: 52px;
		min-height: 29px;
		padding: 3px 7px;
		font-size: 11.5px;
  }

  .dr-cookie-notice__settings {
		min-height: 29px;
		padding: 3px 4px;
		font-size: 11px;
  }

  .dr-cookie-notice__actions {
    gap: 3px;
  }

  .dr-cookie-preferences {
    align-items: end;
    padding: 0;
  }

  .dr-cookie-preferences__panel {
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: 22px 18px max(22px, env(safe-area-inset-bottom));
    border-radius: 6px 6px 0 0;
  }

  .dr-cookie-preferences__actions {
    display: grid;
  }

  .dr-cookie-preferences__grant,
  .dr-cookie-preferences__reject {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .dr-cookie-notice__inner {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dr-cookie-notice {
    transition: none;
  }
}

