/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

@import "./event-archive.css";
@import "./event-single.css";

.post-type-archive-hora_event .iti,
.single-hora_event .iti {
  width: 100%;
}

.post-type-archive-hora_event .iti__country.iti__country,
.single-hora_event .iti__country.iti__country {
  display: flex;
}

:root {
  --default-primary-color: #ffea00;
  --default-secondary-color: #4b5563;
  --default-background-color: #f8f9fa;
  --default-text-color: #333;
  --default-border-color: #e5e7eb;
  --default-hover-color: #eef2ff;
  --active-color: #e0e7ff;
  --header-bg: #f9fafb;
}

.hora-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--hora-border-radius, 0.375rem);
  cursor: pointer;
  font-family: inherit;
  text-wrap: nowrap;
}

.hora-btn.hora-btn-primary {
  background: var(--hora-primary-color, var(--default-primary-color));
  color: var(--hora-button-text-color, var(--default-text-color));
}

.hora-btn:hover {
  filter: brightness(0.95);
}

body:has(#horaEventRegisterModal[aria-hidden="false"]) {
  overflow: hidden;
}

#hora-event-registration-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#hora-event-registration-form
  .rendered-form.formbuilder-embedded-bootstrap
  .form-group:not(:last-child) {
  margin-bottom: 16px;
}

.hora-response-wrapper {
  padding: 16px;
  border-radius: 8px;
  background-color: var(--default-background-color);
  border: 1px solid var(--default-border-color);

  font-family: inherit;
  font-size: 1rem;
  color: var(--default-text-color);
  font-weight: 500;
}

.hora-response-wrapper.hora-response-success {
  background-color: #d1fae5;
  border-color: #34d399;
}

.hora-response-wrapper.hora-response-error {
  background-color: #fee2e2;
  border-color: #f87171;
}
