/* Member Stories Form Styles */

.mg-member-stories-form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.mg-member-stories-form {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mg-member-stories-field {
  margin-bottom: 25px;
}

.mg-member-stories-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.mg-member-stories-field .required {
  color: #d63638;
  margin-left: 3px;
}

.mg-member-stories-input,
.mg-member-stories-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.mg-member-stories-input:focus,
.mg-member-stories-textarea:focus {
  outline: none;
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
}

.mg-member-stories-textarea {
  resize: vertical;
  min-height: 150px;
}

.mg-member-stories-file-input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.mg-member-stories-help-text {
  margin-top: 5px;
  font-size: 13px;
  color: #666;
  font-style: italic;
}

.mg-member-stories-submit-button {
  background: #2271b1;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.mg-member-stories-submit-button:hover {
  background: #135e96;
}

.mg-member-stories-submit-button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.mg-member-stories-message {
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 4px;
  border-left: 4px solid;
}

.mg-member-stories-message.success {
  background: #f0f9ff;
  border-color: #00a32a;
  color: #1e4620;
}

.mg-member-stories-message.error {
  background: #fcf0f1;
  border-color: #d63638;
  color: #721c24;
}

.mg-member-stories-access-denied {
  padding: 20px;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 4px;
  color: #856404;
  text-align: center;
}

.mg-member-stories-access-denied p {
  margin: 0;
  font-size: 16px;
}

/* Block Editor Styles */
.mg-member-stories-block-placeholder {
  padding: 20px;
  background: #f0f0f1;
  border: 1px dashed #ccc;
  border-radius: 4px;
  text-align: center;
}

.mg-member-stories-block-placeholder p {
  margin: 5px 0;
}
