/* Cookie consent banner — public site, app workspace, and auth pages */
.mg-cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1090;
  padding: 16px;
  pointer-events: none;
}

.mg-cookie-banner[hidden] {
  display: none !important;
}

.mg-cookie-banner__inner {
  pointer-events: auto;
  max-width: 960px;
  margin: 0 auto;
  background: #0d2137;
  color: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.mg-cookie-banner__text {
  flex: 1 1 280px;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.mg-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

html body.mg-public > #mg-cookie-banner,
html body.mg-app-shell > #mg-cookie-banner {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  margin: 0 !important;
}
