.mc-wrapper {
  /* FIX: Set a maximum width less than 100% for centering */
  width: 100%; 
  max-width: 100%; /* A reasonable max width for form-like content */
  margin: 0 auto; /* This now works because the width is constrained */
  padding: 16px;
  border-radius: 6px;
  background: #fff;
  box-sizing: contain;
}

.mc-title {
  margin-top: 0;
}

.mc-field {
  margin-bottom: 12px;
}

.mc-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.mc-field input[type="text"],
.mc-field input[type="email"],
.mc-field textarea {
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 4px;
  box-sizing: border-box;
  background: #f9f9f9;
}

.mc-field input[type="file"] {
  display: block;
}

#mc-submit {
  background: #0073aa;
  color: #fff;
  padding: 8px 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#mc-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.mc-comments-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
}

.mc-comment {
  padding: 12px 0;
}

.mc-comment:first-child {
  border-top: 0;
}

.mc-comment-meta {
  color: #666;
  font-size: 13px;
  margin-bottom: 6px;
}

.mc-media-wrap {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mc-media-item img {
  max-width: 160px;
  height: auto;
  display: block;
  border-radius: 4px;
}

.mc-media-item video {
  max-width: 320px;
  height: auto;
  display: block;
  border-radius: 4px;
}

.mc-result {
  margin-top: 8px;
  color: #1a7f37;
}