/* THESE STYLES WORK ON THE EVENTS PAGE */

.my-events-header h2 {
  color: red;
  font-weight: bold;
}

.tribe-events-schedule h2 {
  font-weight: bold;
}

.tribe-events-event-image {
  width: 100%;
  display: flex;
  justify-content: center;
}

.tribe-events-event-image img {
  width: 50%;
  height: auto;
  display: block;
}

.tribe-community-events {
  /* General wrapper for the community events form */
  background: #f5f5f5;
  padding: 20px;
  border-radius: 5px;
}

/* Submit button */
.tribe-community-events .tribe-events-community-submit,
.tribe-community-events .tribe-button.submit {
  background: #59c7db !important;
  color: #fff;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 5px;
  text-transform: uppercase;
}

/* Fixes for layout issues */
.tribe-community-events .tribe-events-community-footer {
  background: red !important;
  padding: 20px;
}

/* Ensure the form title is bold */
.tribe-community-events h2 {
  font-weight: bold;
  color: #333;
}

/* Style form inputs */
.tribe-community-events input,
.tribe-community-events select,
.tribe-community-events textarea {
  border: 2px solid #0073aa;
  padding: 8px;
  font-size: 16px;
}

/* Center submit button */
.tribe-community-events .tribe-button.submit {
  margin: 20px auto;
  display: block;
}

.tribe-events-c-search__button {
  background-color: #59c7db !important;
}

.tribe-events-c-events-bar--border,
.tribe-events-c-events-bar__search-container,
.tribe-events-c-events-bar__views,
.tribe-events-c-view-selector.tribe-events-c-view-selector--labels.tribe-events-c-view-selector--tabs,
.tribe-events-c-view-selector__content {
  border-radius: 4px;
}

.tribe-events
  .tribe-events-c-view-selector--tabs
  .tribe-events-c-view-selector__content {
  border-radius: 4px !important;
}

:root {
  --tec-color-accent-primary: white !important;
  --tec-color-button-primary: white !important;
}

:root {
  --tec-color-button-primary: white !important;
}

/* If the button still doesn't change, apply direct styling */
.tribe_community_list .tribe-button.submit {
  background: #59c7db !important;
  border: 1px solid #59c7db !important;
  color: #ffffff !important;
}

.tribe-events-c-subscribe-dropdown__button {
  background: #59c7db !important;
  color: white;
  border: #59c7db;
}

#post.events-community-submit {
  border: none !important;
}
