.emeb-consent-panel[hidden],
.emeb-consent-launcher[hidden],
.emeb-consent-settings[hidden] {
  display: none !important;
}

.emeb-consent-panel,
.emeb-consent-launcher {
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  color: #123352;
  z-index: 2147483640;
}

.emeb-consent-panel *,
.emeb-consent-launcher * {
  box-sizing: border-box;
}

.emeb-consent-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: min(85vh, 650px);
  overflow-y: auto;
  background: #fff;
  border-top: 4px solid #3dbaeb;
  box-shadow: 0 -8px 30px rgb(0 0 0 / 18%);
}

.emeb-consent-inner {
  max-width: 1120px;
  margin: auto;
  padding: 20px 24px;
}

.emeb-consent-copy h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.3;
  color: #123352;
}

.emeb-consent-copy p {
  margin: 0 0 8px;
  color: #243a4b;
  font-size: 0.95rem;
  line-height: 1.5;
}

.emeb-consent-copy a {
  color: #075b86;
  text-decoration: underline;
}

.emeb-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.emeb-consent-actions button,
.emeb-consent-settings button {
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid #123352;
  border-radius: 4px;
  background: #123352;
  color: #fff;
  font: 600 0.95rem Arial, sans-serif;
  cursor: pointer;
}

.emeb-consent-actions [data-consent-action="reject"],
.emeb-consent-actions [data-consent-action="accept"] {
  flex: 1 1 170px;
}

.emeb-consent-actions [data-consent-action="configure"] {
  background: #fff;
  color: #123352;
}

.emeb-consent-settings {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.emeb-consent-settings label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid #b5c7d2;
  border-radius: 4px;
  cursor: pointer;
}

.emeb-consent-settings strong,
.emeb-consent-settings small {
  display: block;
  line-height: 1.4;
}

.emeb-consent-settings small {
  color: #41586a;
}

.emeb-consent-settings input {
  width: 22px;
  height: 22px;
  accent-color: #123352;
}

.emeb-consent-settings button {
  justify-self: start;
}

.emeb-consent-launcher {
  position: fixed;
  bottom: 12px;
  left: 12px;
  padding: 9px 12px;
  border: 1px solid #123352;
  border-radius: 4px;
  background: #fff;
  color: #123352;
  font: 600 0.82rem Arial, sans-serif;
  box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
  cursor: pointer;
}

.emeb-consent-panel button:focus-visible,
.emeb-consent-panel input:focus-visible,
.emeb-consent-panel a:focus-visible,
.emeb-consent-launcher:focus-visible {
  outline: 3px solid #ed9d23;
  outline-offset: 3px;
}

@media (max-width: 540px) {
  .emeb-consent-inner { padding: 16px; }
  .emeb-consent-actions { gap: 8px; }
  .emeb-consent-actions button { width: 100%; }
}
