@font-face {
  font-family: EhabMeasurement;
  src: url('/ehab-thmanyah-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

#ea-privacy-toggle {
  color: inherit;
  background: none;
  border: 0;
  padding: .45rem;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

#ea-privacy-panel {
  position: fixed;
  z-index: 10000;
  inset-inline-end: .75rem;
  bottom: .75rem;
  width: min(26rem, calc(100% - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  overflow-y: auto;
  padding: 1rem;
  border: 2px solid transparent;
  border-radius: .75rem;
  background: linear-gradient(#fcfbf8, #fcfbf8) padding-box,
    linear-gradient(110deg, #f1ddaf, #c2dcc2, #6cd9e3, #6aa8e4, #6a79e4) border-box;
  box-shadow: 0 4px 22px #14142026;
  color: #15151c;
  font: 400 .86rem/1.65 system-ui, sans-serif;
  text-align: start;
  letter-spacing: normal;
}

#ea-privacy-panel[hidden] { display: none; }
#ea-privacy-panel[dir='rtl'] { font-family: EhabMeasurement, system-ui, sans-serif; }
#ea-privacy-panel h2 { margin: 0 0 .45rem; font-family: inherit; font-size: 1.05rem; font-weight: 700; line-height: 1.5; color: inherit; }
#ea-privacy-panel p { margin: 0 0 .7rem; color: inherit; font: inherit; }
#ea-privacy-panel label { display: flex; align-items: start; gap: .5rem; margin-block: .7rem; cursor: pointer; }
#ea-privacy-panel label span { display: block; }
#ea-privacy-panel label strong { display: block; font-weight: 700; }
#ea-privacy-panel input { flex: none; width: 1rem; height: 1rem; margin-block-start: .28rem; accent-color: #3345a8; }
#ea-privacy-panel .ea-privacy-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-block-start: .9rem; }
#ea-privacy-panel button { min-height: 42px; padding: .4rem .7rem; border: 1px solid #666674; border-radius: .4rem; background: #fff; color: #15151c; font: inherit; cursor: pointer; }
#ea-privacy-panel button[data-ea-action='save'] { background: #15151c; color: #fff; }
#ea-privacy-panel a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
#ea-privacy-panel :focus-visible, #ea-privacy-toggle:focus-visible { outline: 2px solid #3345a8; outline-offset: 3px; }
