/* Community event fields only - preserve shared form and My Events styling */

#modal-newpost-dialog #community-event-fields {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #e5e9e3;
  border-radius: 12px;
  background: #f8fbf8;
}

#modal-newpost-dialog #community-event-fields[hidden],
#modal-newpost-dialog #community-event-link-wrap[hidden] {
  display: none !important;
}

#modal-newpost-dialog #community-event-fields > .shx-t {
  margin-bottom: 6px;
}

#modal-newpost-dialog #community-event-fields > .shx-s {
  margin-bottom: 12px;
}

#modal-newpost-dialog #community-event-ticket-section {
  margin-top: 18px;
}

#modal-newpost-dialog #community-event-ticket-section > .shx-t {
  margin-bottom: 10px;
}

#modal-newpost-dialog .shx-ticket-row {
  margin-top: 12px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid #e5e9e3;
  border-radius: 10px;
  background: #fff;
}

#modal-newpost-dialog .shx-ticket-row .shx-two {
  gap: 10px;
  margin-top: 6px;
}

#modal-newpost-dialog .shx-ticket-row [data-community-remove-ticket] {
  margin-top: 8px;
}

#modal-newpost-dialog #community-event-ticket-section > .shx-row {
  margin-top: 12px;
}

@media (max-width: 420px) {
  #modal-newpost-dialog .shx-ticket-row .shx-two {
    flex-direction: column;
    gap: 0;
  }
}
