.event-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.event-modal-content {
  background: var(--club-fill);
  max-width: 800px;
  width: 80%;
  margin: 50px auto;
  padding: 20px 30px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
}

.event-modal-container {
  padding-left: 10px;
  padding-right: 10px;
}

.event-header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px
}

/* button is overrided */
button.event-close-modal {
  /* background: none !important;
  border: none !important;
  font-size: 24px !important;
  color: #000 !important; */
  /* position: absolute !important; */
  /* top: 16px !important; */
  /* right: 16px !important; */
  /* cursor: pointer !important;
  padding: 0 !important; */
}


.event-modal-title {
  /* margin-bottom: 24px; */
  text-align: center;
  /* font-family: Inter, sans-serif; */
  /* font-size: 20px; */
  /* font-weight: 600; */
  flex-grow: 1;
}

#create-event-form {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.event-form-fields {
  max-height: 70dvh;
  overflow: scroll;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.event-form-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-form-container-title {
  margin-bottom: 0 !important;
  margin-top: 0;
  color: var(--club-text) !important;
}

.event-form-row {
  display: flex;
  gap: 40px;
  /* margin-bottom: 20px; */
}

.event-input-group,
.event-selector-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* label.event-selector-label,
label[for="eventTitle"],
label[for="eventSubtype"],
label[for="eventDescription"],
label[for="eventDate"],
label[for="eventTime"],
label[for="eventLocation"],
label[for="eventMedia"],
label[for="eventTickets"] {
  font-size: 14px;
  color: #5A5A5A;
  margin-bottom: 6px;
  font-weight: 500;
} */

.event-input-group label {
  font-size: 14px !important;
  color: var(--club-text) !important;
  margin-bottom: 6px !important; 
  font-weight: 500 !important;
}

.event-selector-options {
  display: flex;
  gap: 8px;
}

/* button styles are overrided by wordpress */
button.event-selector-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 5px 15px !important;
  border-radius: 8px !important;
  border: 1px solid #D0D4D9 !important;
  background: #fff !important;
  color: #000 !important;
  font-size: 12px !important;
  cursor: pointer !important;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s !important;
}


button.event-selector-btn:hover {
  background: #F2F4F5 !important;
}

button.event-selector-btn.selected {
  /* background: #1D3AAD !important; */
  background: var(--bb-primary-button-background-regular) !important;
  color: #fff !important;
  border-color: #1D3AAD !important;
}

input.event-input-field::placeholder,
textarea.event-input-field::placeholder,
select.event-input-field::placeholder {
  color: var(--club-text-weak);
}

input.event-input-field,
textarea.event-input-field,
select.event-input-field {
  width: 100%;
  border: 1px solid var(--club-stroke-strong);
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  color: var(--club-text);
  background-color: var(--club-fill);
}

input.event-input-field[type="file"] {
  padding-top: 6px;
  padding-bottom: 6px;
}

#eventDescription {
  min-height: 80px;
  height: 160px;
  resize: vertical;
}

.event-input-radio {
  display: flex;
  flex-grow: 1;
  align-items: center;
  gap: 15px;
}

input.event-input-field[type="radio"] {
  width: fit-content;
  margin-right: 5px;
}

.event-form-row.post-event-btn-container {
  justify-content: end;
  margin-top: 10px;
}

/* button is overrided */
button.post-event-btn {
  background-color: #1D3AAD !important;
  color: #ffffff !important;
  padding: 10px 20px !important;
  border-radius: 34px !important;
  border: none !important;
  cursor: pointer !important;
  /* font-family: Inter, sans-serif !important; */
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background-color 0.2s !important;
}

button.post-event-btn:hover {
  background-color: #142a80 !important;
}





