/* MachineBucket cookie consent — navy/royal-blue/white/orange branding. */
.mb-consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 860px;
  margin: 0 auto;
  background: #10253e;
  color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(16, 37, 62, 0.35);
  padding: 20px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font: 15px/1.55 Arial, sans-serif;
}
.mb-consent-banner .mb-consent-text {
  flex: 1 1 320px;
}
.mb-consent-banner .mb-consent-text strong {
  font-size: 17px;
}
.mb-consent-banner .mb-consent-text p {
  margin: 6px 0 0;
  color: #cdd9e6;
}
.mb-consent-banner a,
.mb-consent-settings a {
  color: #f28b12;
  text-decoration: underline;
}
.mb-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mb-consent-btn {
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
}
.mb-consent-primary {
  background: #f28b12;
  color: #1b2634;
  border-color: #f28b12;
}
.mb-consent-outline {
  background: transparent;
  color: #ffffff;
  border-color: #6c8199;
}
.mb-consent-outline:hover {
  border-color: #ffffff;
}
.mb-consent-settings {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(16, 37, 62, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  font: 15px/1.55 Arial, sans-serif;
}
.mb-consent-settings-card {
  background: #ffffff;
  color: #162b43;
  border-radius: 14px;
  max-width: 520px;
  width: 100%;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(16, 37, 62, 0.4);
  max-height: 90vh;
  overflow: auto;
}
.mb-consent-settings-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #10253e;
}
.mb-consent-intro {
  margin: 0 0 14px;
  color: #536981;
}
.mb-consent-gpc {
  background: #f4f7fb;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  padding: 10px 12px;
  color: #10253e;
}
.mb-consent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #dce5ef;
  border-radius: 10px;
  padding: 13px 15px;
  margin-bottom: 10px;
}
.mb-consent-row-text strong {
  display: block;
  color: #10253e;
}
.mb-consent-row-text span {
  color: #536981;
  font-size: 14px;
}
.mb-consent-always {
  font-weight: 700;
  color: #126ad2;
  white-space: nowrap;
}
.mb-consent-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex: 0 0 auto;
}
.mb-consent-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.mb-consent-slider {
  position: absolute;
  inset: 0;
  background: #b8c6d4;
  border-radius: 26px;
  transition: background 0.2s;
}
.mb-consent-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.mb-consent-switch input:checked + .mb-consent-slider {
  background: #126ad2;
}
.mb-consent-switch input:checked + .mb-consent-slider::before {
  transform: translateX(22px);
}
.mb-consent-switch input:focus-visible + .mb-consent-slider {
  outline: 2px solid #f28b12;
  outline-offset: 2px;
}
.mb-consent-settings .mb-consent-actions {
  margin-top: 16px;
}
.mb-consent-settings .mb-consent-outline {
  color: #10253e;
  border-color: #b8c6d4;
}
.mb-consent-settings .mb-consent-outline:hover {
  border-color: #10253e;
}
.mb-consent-policy {
  margin: 14px 0 0;
}
.mb-cookie-settings {
  margin: 10px 0 0;
}
.mb-cookie-settings-link {
  text-decoration: underline;
  cursor: pointer;
}
@media (max-width: 600px) {
  .mb-consent-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 16px;
  }
  .mb-consent-actions {
    width: 100%;
  }
  .mb-consent-actions .mb-consent-btn {
    flex: 1 1 100%;
  }
}
