.mpcc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
  padding: 16px;
}

.mpcc-banner-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.mpcc-banner-text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #2c2c2c;
}

.mpcc-banner-text a {
  white-space: nowrap;
  margin-left: 4px;
  text-decoration: underline;
}

.mpcc-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.mpcc-btn {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1.2;
  white-space: nowrap;
}

.mpcc-btn-primary {
  background: #2c8c6e;
  border-color: #2c8c6e;
  color: #ffffff;
}

.mpcc-btn-outline {
  background: #ffffff;
  border-color: #2c8c6e;
  color: #2c8c6e;
}

.mpcc-btn-link {
  background: transparent;
  border-color: transparent;
  color: #555555;
  text-decoration: underline;
  padding: 10px 8px;
}

.mpcc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100001;
}

.mpcc-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100002;
  background: #ffffff;
  border-radius: 10px;
  width: min(560px, 92vw);
  max-height: 86vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.mpcc-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
}

.mpcc-modal-header h2 {
  font-size: 18px;
  margin: 0;
}

.mpcc-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #888;
}

.mpcc-modal-body {
  padding: 8px 20px;
}

.mpcc-category {
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}

.mpcc-category:last-child {
  border-bottom: none;
}

.mpcc-category-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mpcc-category-title {
  font-weight: 600;
  font-size: 15px;
}

.mpcc-category-desc {
  margin: 6px 0 0 52px;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

.mpcc-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}

.mpcc-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.mpcc-slider {
  position: absolute;
  inset: 0;
  background-color: #ccc;
  border-radius: 22px;
  transition: 0.2s;
}

.mpcc-slider::before {
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: 0.2s;
}

.mpcc-switch input:checked + .mpcc-slider {
  background-color: #2c8c6e;
}

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

.mpcc-switch-disabled .mpcc-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.mpcc-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid #eee;
}

.mpcc-reopen {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 99999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #2c8c6e;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

@media (max-width: 600px) {
  .mpcc-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .mpcc-banner-actions {
    justify-content: stretch;
  }
  .mpcc-banner-actions .mpcc-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}
