.mcc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  padding: 16px;
  display: flex;
  justify-content: center;
}

.mcc-banner-box {
  width: 100%;
  max-width: 920px;
  background: #0b2b47;
  color: #eef4fa;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.mcc-banner-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
}

.mcc-banner-text {
  margin: 0 0 16px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #cfe0ef;
}

.mcc-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.mcc-btn {
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity 0.15s ease;
}

.mcc-btn:hover {
  opacity: 0.88;
}

.mcc-btn-primary {
  background: #ffffff;
  color: #0b2b47;
}

.mcc-btn-outline {
  background: transparent;
  color: #eef4fa;
  border-color: rgba(255, 255, 255, 0.55);
}

.mcc-btn-ghost {
  background: transparent;
  color: #cfe0ef;
  border-color: transparent;
  text-decoration: underline;
}

.mcc-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.mcc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 20, 34, 0.6);
}

.mcc-modal-box {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #ffffff;
  color: #0b2b47;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.mcc-modal-title {
  margin: 0 0 16px;
  font-size: 1.15rem;
  font-weight: 700;
}

.mcc-cat-row {
  padding: 14px 0;
  border-top: 1px solid #e5edf5;
}

.mcc-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mcc-cat-text {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: #4a5a6a;
  line-height: 1.5;
}

.mcc-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  flex: none;
}

.mcc-switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.mcc-switch-ui {
  position: absolute;
  inset: 0;
  background: #cbd6e0;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.mcc-switch-ui::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.15s ease;
}

.mcc-switch input:checked + .mcc-switch-ui {
  background: #0b6fd6;
}

.mcc-switch input:checked + .mcc-switch-ui::before {
  transform: translateX(18px);
}

.mcc-switch input:disabled + .mcc-switch-ui {
  background: #9fb3c4;
  opacity: 0.7;
}

.mcc-modal .mcc-banner-actions {
  margin-top: 18px;
  justify-content: flex-start;
}

.mcc-modal .mcc-btn-outline,
.mcc-modal .mcc-btn-ghost {
  color: #0b2b47;
  border-color: #cbd6e0;
}

@media (max-width: 640px) {
  .mcc-banner-actions {
    justify-content: stretch;
  }
  .mcc-banner-actions .mcc-btn {
    flex: 1 1 auto;
  }
}
