/* CGM OnlineRezeption: two-click consent placeholder, logic in js/online-rezeption.js */

#or-consent-open,
#or-consent-load {
  border: 0;
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  background: #2ba2e9;
  color: #000;
  font: 700 14px/20px Roboto, sans-serif;
  letter-spacing: 0.1px;
}

#or-consent-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#or-consent-open svg {
  fill: currentColor;
}

/* Same hover shadow as the CGM launcher */
#or-consent-open:hover,
#or-consent-load:hover {
  box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3);
}

/* Our button replaces the floating CGM launcher; it stays in the page and is clicked by js/online-rezeption.js */
#or-open-assistant {
  display: none !important;
}

/* Anchor for the consent box, which overlays the page instead of pushing it down */
.or-consent-wrapper {
  position: relative;
  margin-top: 16px;
}

#or-consent {
  position: absolute;
  top: 100%;
  left: 40px;    /* same indent as the button (padding-left of .address) */
  right: 0;
  max-width: 380px;
  z-index: 1000;
  margin-top: 8px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3);
}

#or-consent p {
  font-size: 14px;
  line-height: 20px;
}

#or-consent a {
  color: #000;
  text-decoration: underline;
}
