/* 🌿 User Submitted Posts — Upgraded Styling */
#user-submitted-posts {
  background: #1d4026; /* Deep healing green */
  border-radius: 18px;
  padding: 45px 40px;
  max-width: 720px;
  margin: 50px auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  font-family: "Poppins", sans-serif;
  color: #fffbe9;
  line-height: 1.6;
  transition: 0.3s ease;
}

/* Headings inside form */
#user-submitted-posts h2,
#user-submitted-posts h3 {
  color: #fffbe9;
  text-align: center;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

/* Label styling */
#user-submitted-posts label {
  font-weight: 600;
  color: #fffbe9;
  display: block;
  margin-top: 14px;
  margin-bottom: 8px;
  font-size: 1rem;
}

/* Fix padding from plugin defaults */
div#user-submitted-posts fieldset label {
  padding: 0 0 10px 0 !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
  box-sizing: border-box;
}

/* Input, Textarea, Select */
#user-submitted-posts input[type="text"],
#user-submitted-posts input[type="email"],
#user-submitted-posts textarea,
#user-submitted-posts select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 251, 233, 0.4);
  border-radius: 10px;
  margin-bottom: 26px;
  font-size: 15px;
  background: #fffbe9;
  color: #1d4026;
  transition: all 0.3s ease;
}

#user-submitted-posts input[type="text"]:focus,
#user-submitted-posts input[type="email"]:focus,
#user-submitted-posts textarea:focus,
#user-submitted-posts select:focus {
  border-color: #fffbe9;
  box-shadow: 0 0 0 3px rgba(255, 251, 233, 0.25);
  outline: none;
}

/* Textarea */
#user-submitted-posts textarea {
  min-height: 200px;
  resize: vertical;
}

/* Checkbox alignment */
#user-submitted-posts input[type="checkbox"] {
  accent-color: #fffbe9;
  transform: scale(1.2);
  margin-right: 8px;
}

/* Submit Button */
#user-submitted-posts input[type="submit"] {
  background: #fffbe9;
  color: #1d4026;
  padding: 14px 36px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  display: block;
  margin: 20px auto 0;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

#user-submitted-posts input[type="submit"]:hover {
  background: #f7eebd;
  color: #14301a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 251, 233, 0.2);
}

/* Placeholder text */
#user-submitted-posts ::placeholder {
  color: rgba(29, 64, 38, 0.6);
}

/* Responsive Design */
@media (max-width: 600px) {
  #user-submitted-posts {
    padding: 30px 25px;
  }

  #user-submitted-posts input[type="submit"] {
    width: 100%;
  }
}
