html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
  color: #17201d;
  background: #f7faf8;
}

.hpj-navbar-brand {
  align-items: center;
  display: inline-flex;
  min-width: 170px;
  padding-bottom: 0;
  padding-top: 0;
}

.hpj-navbar-logo {
  display: block;
  height: 34px;
  max-width: 210px;
  object-fit: contain;
  width: auto;
}

.hpj-icon-button {
  align-items: center;
  background: #e7f1ed;
  border: 0;
  border-radius: 8px;
  color: #006d55;
  cursor: pointer;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.hpj-icon-button:hover,
.hpj-icon-button:focus {
  background: #d7ebe3;
  color: #004f3f;
}

.hpj-icon-button svg {
  fill: currentColor;
  height: 20px;
  width: 20px;
}

.hpj-icon-button--danger {
  background: #fdecec;
  color: #b42318;
}

.hpj-icon-button--danger:hover,
.hpj-icon-button--danger:focus {
  background: #fbd5d5;
  color: #8a1c14;
}

.hpj-action--danger {
  background: #b42318;
  color: #fff;
}

.hpj-action--ghost {
  background: transparent;
  color: #33413c;
}

.hpj-danger-text {
  color: #b42318;
  font-weight: 800;
}

.hpj-pending-payment-alert {
  border-bottom: 1px solid #b7e1d0;
  background: #eaf8f1;
  color: #173f31;
}

.hpj-pending-payment-alert__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.hpj-pending-payment-alert strong,
.hpj-pending-payment-alert span {
  display: inline-block;
}

.hpj-pending-payment-alert a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  background: #007f5f;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.hpj-pending-payment-alert__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.hpj-pending-payment-alert__actions button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #8fc8b6;
  border-radius: 8px;
  background: #fff;
  color: #173f31;
  font-weight: 800;
}

.hpj-home {
  display: grid;
  align-items: center;
}

.hpj-home--marketplace {
  padding: 26px 0 22px;
}

.hpj-home__hero {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.hpj-home__copy {
  min-width: 0;
}

.hpj-eyebrow {
  color: #007f5f;
  font-size: .86rem !important;
  font-weight: 850;
  letter-spacing: .08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.hpj-home h1 {
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
}

.hpj-home-logo-title {
  line-height: 1;
}

.hpj-home-logo-title img {
  display: block;
  height: auto;
  max-width: min(620px, 100%);
  width: 100%;
}

.hpj-home p {
  max-width: 620px;
  font-size: 1.08rem;
  color: #46534e;
  margin-bottom: 0;
}

.hpj-home__panel {
  background: #fff;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(23, 32, 29, .06);
  display: grid;
  gap: 10px;
  padding: 18px;
}

.hpj-home__panel strong {
  font-size: 1.12rem;
  font-weight: 900;
}

.hpj-home__panel span {
  color: #52645e;
}

.hpj-home__action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  background: #007f5f;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.hpj-home__actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hpj-home__actions--single {
  grid-template-columns: 1fr;
}

.hpj-home__actions--featured .hpj-home__action {
  min-height: 46px;
  padding-inline: 18px;
  justify-content: center;
}

.hpj-home__action--button {
  border: 0;
  cursor: pointer;
  font: inherit;
  width: 100%;
}

.hpj-home__action.secondary {
  color: #1c2824;
  background: #e7f1ed;
}

.hpj-home-list {
  padding: 10px 0 46px;
}

.hpj-home-list__toolbar {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(260px, 1fr) minmax(440px, auto) auto;
  margin: 0 0 18px;
}

.hpj-home-list__title h2 {
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 6px;
}

.hpj-home-list__title p {
  color: #52645e;
  margin: 0;
}

.hpj-home-filter {
  align-items: end;
  background: #fff;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(190px, 260px) auto auto;
  padding: 10px;
}

.hpj-home-filter label {
  color: #33413c;
  font-weight: 800;
}

.hpj-home-filter select,
.hpj-home-filter button {
  border-radius: 8px;
  min-height: 40px;
  padding: 0 12px;
}

.hpj-home-filter select {
  border: 1px solid #cfdad5;
}

.hpj-home-filter button {
  background: #007f5f;
  border: 0;
  color: #fff;
  font-weight: 850;
}

.hpj-home-filter a {
  align-items: center;
  color: #006b50;
  display: inline-flex;
  font-weight: 850;
  min-height: 40px;
  text-decoration: none;
}

.hpj-sport-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.hpj-sport-tags span {
  background: #eef8f4;
  border-radius: 999px;
  color: #006b50;
  font-size: .8rem;
  font-weight: 850;
  padding: 4px 8px;
}

.hpj-home-professionals {
  margin-top: 30px;
}

.hpj-home-professionals > .hpj-home-list__title {
  margin-bottom: 14px;
}

.hpj-professional-card__head {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
}

.hpj-professional-avatar {
  align-items: center;
  background: #e7f1ed;
  border: 1px solid #cde2db;
  border-radius: 999px;
  color: #007f5f;
  display: inline-grid;
  font-size: 1.35rem;
  font-weight: 900;
  height: 64px;
  justify-items: center;
  overflow: hidden;
  text-transform: uppercase;
  width: 64px;
}

.hpj-professional-avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hpj-professional-avatar--large {
  font-size: 2.8rem;
  height: 168px;
  width: 168px;
}

.hpj-professional-photo-preview {
  align-items: center;
  display: flex;
  gap: 12px;
  margin: 0 0 14px;
}

.hpj-professional-photo-preview img {
  border-radius: 999px;
  height: 72px;
  object-fit: cover;
  width: 72px;
}

.hpj-professional-photo-editor {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr);
}

@media (max-width: 1100px) {
  .hpj-home__hero,
  .hpj-home-list__toolbar {
    grid-template-columns: 1fr;
  }

  .hpj-home__panel {
    max-width: 520px;
  }

  .hpj-home-list__toolbar > .hpj-action {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .hpj-home--marketplace {
    padding-top: 18px;
  }

  .hpj-home__hero {
    gap: 16px;
  }

  .hpj-home__actions,
  .hpj-home-filter {
    grid-template-columns: 1fr;
  }

  .hpj-home-filter label {
    margin-bottom: -2px;
  }

  .hpj-home-list__toolbar > .hpj-action,
  .hpj-home-filter button,
  .hpj-home-filter a {
    width: 100%;
    justify-content: center;
  }

  .hpj-professional-photo-editor {
    grid-template-columns: 1fr;
  }
}

.hpj-cover {
  min-height: 280px;
  background: linear-gradient(120deg, #115e59, #1f7a5f);
  background-position: center;
  background-size: cover;
  border-radius: 0 0 8px 8px;
  color: #fff;
  display: flex;
  align-items: end;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.hpj-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .34);
}

.hpj-cover__content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hpj-cover h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
  margin: 0 0 10px;
  font-weight: 850;
  letter-spacing: 0;
}

.hpj-cover p {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.hpj-logo {
  width: 86px;
  height: 86px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
}

.hpj-booking-shell {
  padding: 24px 0 56px;
}

.hpj-filters {
  background: #fff;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 18px;
}

.hpj-filters form {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 12px;
  align-items: end;
}

.hpj-filters label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  color: #33413c;
}

.hpj-filters input,
.hpj-filters select,
.hpj-filters button {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid #cfdad5;
  padding: 0 12px;
}

.hpj-filters button {
  border: 0;
  background: var(--hpj-primary, #007f5f);
  color: #fff;
  font-weight: 800;
}

.hpj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.hpj-court {
  background: #fff;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  padding: 16px;
}

.hpj-court h2 {
  font-size: 1.05rem;
  margin: 0 0 12px;
  font-weight: 800;
}

.hpj-collapsible-card {
  margin-bottom: 12px;
}

.hpj-collapsible-card > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.hpj-collapsible-card > summary::-webkit-details-marker {
  display: none;
}

.hpj-collapsible-card > summary h2 {
  margin: 0;
}

.hpj-collapsible-card > summary span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: #e7f1ed;
  color: #006b50;
  font-size: .85rem;
  font-weight: 850;
}

.hpj-collapsible-card[open] > summary {
  margin-bottom: 14px;
}

.hpj-collapsible-card[open] > summary span {
  font-size: 0;
}

.hpj-collapsible-card[open] > summary span::before {
  content: "Recolher";
  font-size: .85rem;
}

.hpj-original-calendar {
  margin-top: 16px;
}

.hpj-original-calendar .hpj-grid {
  display: block;
}

.hpj-original-calendar .hpj-grid > .hpj-court {
  padding: 0;
  border: 0;
  background: transparent;
}

.hpj-establishment .hpj-original-calendar .hpj-grid {
  display: grid;
}

.hpj-establishment .hpj-original-calendar .hpj-grid > .hpj-court {
  padding: 16px;
  border: 1px solid #dfe8e4;
  background: #fff;
}

.hpj-original-calendar__intro {
  margin-bottom: 14px;
}

.hpj-original-calendar__intro h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 850;
}

.hpj-location-picker {
  margin-bottom: 18px;
}

.hpj-location-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.hpj-location-option {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 14px;
  border: 1px solid #d5e2dd;
  border-radius: 8px;
  background: #f9fbfa;
  color: #1c2824;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.hpj-location-option:hover {
  border-color: #8fc8b6;
  background: #f4fbf8;
}

.hpj-location-option:focus-within {
  border-color: #007f5f;
  box-shadow: 0 0 0 3px rgba(0, 127, 95, .16);
}

.hpj-location-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hpj-location-option__marker {
  width: 20px;
  height: 20px;
  border: 2px solid #8ea19a;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 4px #fff;
}

.hpj-location-option__content {
  display: grid;
  gap: 3px;
}

.hpj-location-option__content strong {
  font-weight: 850;
}

.hpj-location-option__content span {
  color: #52645e;
}

.hpj-location-option__content b {
  color: #17201d;
}

.hpj-location-option__status {
  align-self: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e7f1ed;
  color: #34564a;
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}

.hpj-location-option.is-selected {
  border-color: #007f5f;
  background: #eef8f4;
  box-shadow: 0 0 0 2px rgba(0, 127, 95, .12);
}

.hpj-location-option.is-selected .hpj-location-option__marker {
  border-color: #007f5f;
  background: #007f5f;
}

.hpj-location-option.is-selected .hpj-location-option__status {
  background: #007f5f;
  color: #fff;
}

.hpj-location-option.is-unavailable:not(.is-selected) {
  background: #fbfcfb;
  opacity: .72;
}

.hpj-location-options__submit {
  display: none;
}

.hpj-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
}

.hpj-slot {
  min-height: 58px;
  border-radius: 8px;
  border: 1px solid #d5e2dd;
  background: #f9fbfa;
  color: #1c2824;
}

.hpj-slot--link {
  display: block;
  padding: 8px;
  text-align: center;
  text-decoration: none;
}

.hpj-slot--link:hover {
  color: #1c2824;
}

.hpj-slot strong,
.hpj-slot span {
  display: block;
}

.hpj-slot.is-open {
  border-color: var(--hpj-primary, #007f5f);
  background: #eef8f4;
}

.hpj-slot.is-selected {
  border-color: #1c2824;
  background: var(--hpj-primary, #007f5f);
  color: #fff;
}

.hpj-slot.is-closed {
  opacity: .52;
}

.hpj-slot small {
  display: block;
  font-weight: 800;
}

.hpj-timeline {
  margin-top: 16px;
}

.hpj-establishment-timeline__court,
.hpj-establishment-timeline__group {
  border-top: 1px solid #edf2ef;
  margin-top: 16px;
  padding-top: 16px;
}

.hpj-establishment-timeline__court:first-of-type,
.hpj-establishment-timeline__group:first-of-type {
  border-top: 0;
  margin-top: 10px;
  padding-top: 0;
}

.hpj-establishment-timeline__court h3 {
  font-size: 1rem;
  font-weight: 850;
  margin: 0 0 10px;
}

.hpj-establishment-slot-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 8px;
}

.hpj-establishment-schedule-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-color: #008767 #e7f1ed;
  scrollbar-width: thin;
}

.hpj-establishment-schedule-scroll::-webkit-scrollbar {
  height: 10px;
}

.hpj-establishment-schedule-scroll::-webkit-scrollbar-track {
  background: #e7f1ed;
  border-radius: 999px;
}

.hpj-establishment-schedule-scroll::-webkit-scrollbar-thumb {
  background: #008767;
  border: 2px solid #e7f1ed;
  border-radius: 999px;
}

.hpj-establishment-schedule-grid {
  --hpj-slot-columns: 1;
  display: grid;
  grid-template-columns: minmax(92px, 132px) repeat(var(--hpj-slot-columns), minmax(34px, 1fr));
  gap: 4px;
  min-width: 100%;
  width: 100%;
}

.hpj-establishment-schedule-grid__corner,
.hpj-establishment-schedule-grid__header,
.hpj-establishment-schedule-grid__court {
  align-items: center;
  background: #f1f6f3;
  border: 1px solid #dce6e1;
  border-radius: 4px;
  color: #33413c;
  display: grid;
  font-size: .72rem;
  font-weight: 850;
  justify-items: center;
  line-height: 1.05;
  min-height: 34px;
  padding: 3px;
}

.hpj-establishment-schedule-grid__corner,
.hpj-establishment-schedule-grid__court {
  justify-items: start;
  padding-left: 8px;
  position: sticky;
  left: 0;
  z-index: 1;
}

.hpj-establishment-schedule-grid__corner {
  z-index: 2;
}

.hpj-establishment-schedule-grid__header small {
  color: #6b7b75;
  font-size: .64rem;
  font-weight: 750;
}

.hpj-establishment-empty-group {
  display: grid;
  gap: 4px;
}

.hpj-establishment-slot-cell {
  aspect-ratio: auto;
  min-height: 30px;
  padding: 2px;
}

.hpj-establishment-slot-cell span {
  display: none;
}

.hpj-establishment-slot-cell small {
  font-size: .68rem;
}

.hpj-timeline-rows {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.hpj-timeline-row {
  display: grid;
  gap: 8px;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: center;
}

.hpj-timeline-row__label {
  color: #33413c;
  font-weight: 850;
}

.hpj-timeline-track {
  display: grid;
  grid-template-columns: repeat(8, minmax(132px, 1fr));
  gap: 4px;
  overflow-x: auto;
}

.hpj-timeline-hour {
  border: 1px solid #dce6e1;
  border-radius: 4px;
  display: grid;
  gap: 3px;
  padding: 3px;
}

.hpj-timeline-hour.is-even {
  background: #f7faf8;
}

.hpj-timeline-hour.is-odd {
  background: #eef4f1;
}

.hpj-timeline-hour__label {
  color: #33413c;
  font-size: .72rem;
  font-weight: 850;
  line-height: 1;
  min-height: 14px;
  text-align: center;
}

.hpj-timeline-hour__cells {
  display: grid;
  grid-template-columns: repeat(4, minmax(8px, 1fr));
  gap: 3px;
}

.hpj-timeline-cell {
  aspect-ratio: 1;
  border: 1px solid rgba(23, 32, 29, .16);
  border-radius: 3px;
  display: grid;
  gap: 1px;
  align-content: center;
  justify-items: center;
  min-height: 30px;
  padding: 2px;
  text-decoration: none;
}

.hpj-timeline-cell:hover {
  outline: 2px solid rgba(23, 32, 29, .28);
  outline-offset: 1px;
}

.hpj-timeline-cell span {
  display: none;
}

.hpj-timeline-cell small {
  color: inherit;
  display: block;
  font-size: .64rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.hpj-timeline-cell.is-lowest-price small {
  color: #b42318;
}

.hpj-timeline-cell.is-free,
.hpj-timeline-legend i.is-free {
  background: #f7fffb;
  border-color: #00a676;
}

.hpj-timeline-cell.is-selected {
  background: #006bff;
  border-color: #0047ad;
  box-shadow: 0 0 0 2px rgba(0, 107, 255, .22);
  color: #fff;
}

.hpj-timeline-cell.is-selection-range,
.hpj-timeline-legend i.is-selection-range {
  background: #a9ccff;
  border-color: #4f8df0;
  color: #0c285c;
}

.hpj-timeline-cell.is-selected {
  background: #006bff;
  border-color: #0047ad;
  color: #fff;
}

.hpj-timeline-cell.is-selected small {
  color: #fff;
}

.hpj-timeline-legend i.is-selected {
  background: #006bff;
  border-color: #0047ad;
}

.hpj-timeline-cell.is-venue-unavailable,
.hpj-timeline-legend i.is-venue-unavailable {
  background: #ffe8a3;
  border-color: #f59e0b;
}

.hpj-timeline-cell.is-venue-busy,
.hpj-timeline-legend i.is-venue-busy {
  background: #ef4444;
  border-color: #b91c1c;
}

.hpj-timeline-cell.is-pro-busy,
.hpj-timeline-legend i.is-pro-busy {
  background: #b9655d;
  border-color: #91443d;
}

.hpj-timeline-cell.is-pro-blocked,
.hpj-timeline-legend i.is-pro-blocked {
  background: #f2c76f;
  border-color: #c5962a;
}

.hpj-timeline-cell.is-travel,
.hpj-timeline-legend i.is-travel {
  background: #8d75bd;
  border-color: #6f589e;
}

.hpj-timeline-cell.is-interval,
.hpj-timeline-legend i.is-interval {
  background: #f97316;
  border-color: #c2410c;
}

.hpj-timeline-cell.is-unavailable,
.hpj-timeline-legend i.is-unavailable {
  background: #cbd5e1;
  border-color: #94a3b8;
}

.hpj-timeline-cell.is-past,
.hpj-timeline-legend i.is-past {
  background: #f1f5f9;
  border-color: #cbd5e1;
  opacity: .55;
}

.hpj-timeline-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 14px;
}

.hpj-timeline-legend span {
  align-items: center;
  color: #33413c;
  display: inline-flex;
  font-size: .9rem;
  font-weight: 750;
  gap: 6px;
}

.hpj-timeline-legend__note {
  flex-basis: 100%;
}

.hpj-timeline-legend i {
  border: 1px solid rgba(23, 32, 29, .16);
  border-radius: 3px;
  display: inline-block;
  height: 14px;
  width: 14px;
}

.hpj-timeline-selection {
  align-items: center;
  background: #fff;
  border: 1px solid #d5e2dd;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(23, 32, 29, .08);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: 14px;
  padding: 12px;
}

.hpj-timeline-selection[hidden] {
  display: none;
}

.hpj-timeline-selection div {
  display: grid;
  gap: 2px;
}

.hpj-timeline-selection strong {
  font-weight: 850;
}

.hpj-timeline-selection span {
  color: #52645e;
}

.hpj-booking-instruction {
  margin: 0 0 14px;
}

.hpj-booking-instruction h2 {
  font-size: 1.15rem;
  font-weight: 850;
  margin: 0;
}

.hpj-reservation-summary {
  align-items: center;
  background: #fff;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding: 12px;
}

.hpj-reservation-summary[hidden] {
  display: none;
}

.hpj-reservation-summary div {
  display: grid;
  gap: 2px;
}

@media (max-width: 720px) {
  .hpj-cover {
    padding: 24px 18px;
  }

  .hpj-cover__content {
    align-items: flex-start;
    flex-direction: column;
  }

  .hpj-filters form {
    grid-template-columns: 1fr;
  }

  .hpj-reservation-summary {
    border-radius: 8px 8px 0 0;
    border-width: 1px 0 0;
    bottom: 0;
    box-shadow: 0 -12px 28px rgba(23, 32, 29, .14);
    left: 0;
    margin: 0;
    padding: 12px 16px;
    position: fixed;
    right: 0;
    z-index: 20;
  }

  .hpj-timeline-row {
    grid-template-columns: 1fr;
  }

  .hpj-timeline-track {
    gap: 3px;
    grid-template-columns: repeat(2, minmax(132px, 1fr));
  }

  .hpj-establishment-timeline {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .hpj-establishment-timeline__group {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .hpj-establishment-timeline__group::after {
    color: #6b7b75;
    content: "Arraste para ver todos os horários";
    display: block;
    font-size: .78rem;
    font-weight: 750;
    margin-top: 6px;
  }

  .hpj-establishment-schedule-grid {
    grid-template-columns: minmax(74px, 86px) repeat(var(--hpj-slot-columns), 42px);
    gap: 5px;
  }

  .hpj-establishment-schedule-scroll {
    margin-left: -2px;
    margin-right: -2px;
    padding: 0 2px 12px;
    scrollbar-width: auto;
  }

  .hpj-establishment-schedule-scroll::-webkit-scrollbar {
    height: 12px;
  }

  .hpj-establishment-schedule-grid__corner,
  .hpj-establishment-schedule-grid__header,
  .hpj-establishment-schedule-grid__court {
    border-radius: 6px;
    font-size: .68rem;
    min-height: 42px;
  }

  .hpj-establishment-schedule-grid__court,
  .hpj-establishment-schedule-grid__corner {
    box-shadow: 8px 0 12px rgba(247, 250, 248, .9);
    overflow-wrap: anywhere;
    padding-left: 6px;
  }

  .hpj-establishment-schedule-grid__header small {
    font-size: .6rem;
  }

  .hpj-establishment-slot-cell {
    border-radius: 6px;
    min-height: 42px;
    min-width: 42px;
  }

  .hpj-establishment-slot-cell small {
    font-size: .68rem;
  }

  .hpj-establishment-slot-cell:hover {
    outline: none;
  }

  .hpj-establishment-slot-cell:focus-visible {
    outline: 3px solid rgba(0, 127, 95, .28);
    outline-offset: 2px;
  }

  .hpj-timeline-legend {
    gap: 8px 10px;
  }

  .hpj-timeline-legend span {
    font-size: .82rem;
  }

  .hpj-timeline-selection {
    border-radius: 8px 8px 0 0;
    border-width: 1px 0 0;
    bottom: 0;
    box-shadow: 0 -12px 28px rgba(23, 32, 29, .14);
    left: 0;
    margin: 0;
    padding: 12px 16px;
    position: fixed;
    right: 0;
    z-index: 20;
  }
}

.hpj-auth {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding: 40px 0 64px;
}

.hpj-auth__panel {
  width: min(100%, 460px);
  background: #fff;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 18px 48px rgba(23, 32, 29, .08);
}

.hpj-auth__brand {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.hpj-auth__brand img {
  display: block;
  height: auto;
  max-width: min(300px, 100%);
  width: 100%;
}

.hpj-auth__brand strong {
  font-size: 1.65rem;
  line-height: 1.1;
}

.hpj-auth-form {
  display: grid;
  gap: 10px;
}

.hpj-auth-form label {
  font-weight: 750;
  color: #33413c;
}

.hpj-auth-form input,
.hpj-auth-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfdad5;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
}

.hpj-auth-form input:focus,
.hpj-auth-form select:focus {
  outline: 3px solid rgba(0, 127, 95, .16);
  border-color: #007f5f;
}

.hpj-auth-form button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: #007f5f;
  color: #fff;
  font-weight: 800;
  margin-top: 6px;
}

.hpj-auth-form span[data-valmsg-for],
.hpj-form span[data-valmsg-for],
.hpj-validation {
  color: #a33a2a;
  font-size: .92rem;
}

.hpj-field-hint {
  color: #52645e;
  font-size: .86rem;
  margin-top: -4px;
}

.hpj-checkbox {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
}

.hpj-checkbox input {
  width: 18px;
  min-height: 18px;
}

.hpj-auth__link,
.hpj-auth__links,
.hpj-auth__message {
  margin: 16px 0 0;
  color: #46534e;
}

.hpj-auth__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.hpj-auth__links--login {
  display: grid;
  gap: 12px;
}

.hpj-auth__links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.hpj-auth__link-form {
  margin: 0;
}

.hpj-auth__link-form button {
  border: 0;
  border-radius: 8px;
  background: #eef8f4;
  color: #006b50;
  font: inherit;
  font-weight: 800;
  min-height: 40px;
  padding: 0 12px;
  width: 100%;
}

.hpj-auth__link-form button:hover {
  background: #dff1eb;
  color: #004a38;
}

.hpj-auth__link-form button:disabled {
  background: #e8edf0;
  color: #60716a;
  cursor: not-allowed;
}

.hpj-auth a {
  color: #006b50;
  font-weight: 750;
}

.hpj-auth--manage {
  align-items: start;
}

.hpj-manage-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.hpj-manage-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #d5e2dd;
  border-radius: 8px;
  text-decoration: none;
  background: #f9fbfa;
}

.hpj-personal-data {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 16px;
  margin: 18px 0 0;
}

.hpj-personal-data dt {
  font-weight: 800;
  color: #33413c;
}

.hpj-personal-data dd {
  margin: 0;
}

.hpj-identification {
  display: grid;
  gap: 14px;
}

.hpj-confirmation-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 8px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: .82rem;
}

.hpj-confirmation-badge.is-confirmed {
  background: #edf8f1;
  color: #1d5d3a;
}

.hpj-confirmation-badge.is-pending {
  background: #fff8e6;
  color: #805b10;
}

.hpj-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 22px;
}

.hpj-page-head h1 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 850;
  letter-spacing: 0;
}

.hpj-page-head p {
  margin: 0;
  color: #52645e;
}

.hpj-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: #007f5f;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.hpj-action:hover {
  color: #fff;
}

.hpj-action--secondary {
  background: #e7f1ed;
  color: #1c2824;
}

.hpj-action--secondary:hover {
  color: #1c2824;
}

.hpj-action--ghost {
  background: #eef8f4;
  color: #00523e;
}

.hpj-action--ghost:hover {
  background: #d9eae5;
  color: #004a38;
}

.hpj-empty {
  background: #fff;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  padding: 22px;
  margin: 18px 0;
}

.hpj-empty h2 {
  font-size: 1.2rem;
  font-weight: 800;
}

.hpj-muted {
  color: #52645e;
  margin: 0;
}

.hpj-inline-link {
  color: #006b50;
  font-weight: 850;
  text-decoration: none;
}

.hpj-inline-link:hover {
  color: #004a38;
  text-decoration: underline;
}

.hpj-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.hpj-establishment-card,
.hpj-list-row,
.hpj-admin-panel,
.hpj-form-section {
  background: #fff;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
}

.hpj-establishment-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.hpj-establishment-card__media {
  aspect-ratio: 16 / 3.3;
  min-height: 142px;
  background: linear-gradient(120deg, #115e59, #2a7f67);
  background-position: center;
  background-size: cover;
}

.hpj-establishment-card__body {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 16px;
}

.hpj-establishment-card h2,
.hpj-list-row h2,
.hpj-admin-panel h2,
.hpj-form-section h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 850;
}

.hpj-establishment-card p,
.hpj-list-row p {
  color: #52645e;
  margin: 0;
}

.hpj-establishment-card a {
  display: inline-flex;
  justify-self: start;
  margin-top: 8px;
  font-weight: 800;
  color: #006b50;
}

.hpj-list {
  display: grid;
  gap: 10px;
}

.hpj-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
}

.hpj-list-row--stack {
  align-items: flex-start;
}

.hpj-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hpj-row-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #d5e2dd;
  border-radius: 8px;
  color: #006b50;
  background: #f9fbfa;
  font-weight: 800;
  text-decoration: none;
}

.hpj-manage-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 10px;
  background: #f3f8f6;
  border: 1px solid #dce9e4;
  border-radius: 8px;
}

.hpj-manage-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #cfe0da;
  border-radius: 8px;
  color: #006b50;
  background: #fff;
  font-weight: 850;
  text-decoration: none;
}

.hpj-manage-menu a.is-active {
  background: #006b50;
  border-color: #006b50;
  color: #fff;
}

.hpj-admin-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 10px;
  background: #f3f8f6;
  border: 1px solid #dce9e4;
  border-radius: 8px;
}

.hpj-admin-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #cfe0da;
  border-radius: 8px;
  color: #006b50;
  background: #fff;
  font-weight: 850;
  text-decoration: none;
}

.hpj-admin-menu a.is-active {
  background: #006b50;
  border-color: #006b50;
  color: #fff;
}

.hpj-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.hpj-admin-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #dce9e4;
  border-radius: 8px;
  background: #fff;
  color: #1b2622;
  text-decoration: none;
}

.hpj-admin-card strong {
  color: #006b50;
  font-size: 1.1rem;
}

.hpj-admin-card span {
  color: #40514b;
}

.hpj-admin-fee-establishments {
  display: grid;
  gap: 8px;
}

.hpj-admin-fee-establishments div {
  align-items: center;
  background: #f8fbfa;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px;
}

.hpj-admin-fee-establishments span {
  display: grid;
  gap: 2px;
}

.hpj-admin-fee-establishments small {
  color: #52645e;
}

.hpj-tabs a.is-active {
  background: #006b50;
  border-color: #006b50;
  color: #fff;
}

.hpj-form {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.hpj-form--wide {
  max-width: none;
}

.hpj-form-section {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.hpj-form label,
.hpj-form-section > label {
  display: grid;
  gap: 6px;
  font-weight: 750;
  color: #33413c;
}

.hpj-form input {
  min-height: 42px;
  border: 1px solid #cfdad5;
  border-radius: 8px;
  padding: 0 12px;
}

.hpj-form textarea,
.hpj-form select {
  min-height: 42px;
  border: 1px solid #cfdad5;
  border-radius: 8px;
  padding: 10px 12px;
}

.hpj-form input[type="color"] {
  padding: 4px;
}

.hpj-form label.is-disabled {
  color: #7a8984;
}

.hpj-form label.is-disabled input,
.hpj-form label.is-disabled select {
  background: #eef3f1;
  color: #7a8984;
}

.hpj-form-grid__note {
  color: #33413c;
  font-weight: 800;
  grid-column: 1 / -1;
  margin-top: 2px;
}

.hpj-form-grid__note.is-disabled {
  color: #7a8984;
}

.hpj-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hpj-section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hpj-price-lines {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.hpj-price-lines span {
  color: #33413c;
}

.hpj-price-lines em {
  color: #7a4d10;
  font-style: normal;
  font-weight: 800;
  margin-left: 6px;
}

.hpj-hire-summary {
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #f9fbfa;
}

.hpj-hire-summary__row,
.hpj-hire-summary__total {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.hpj-hire-summary__row span,
.hpj-hire-summary__group small {
  color: #52645e;
  font-weight: 750;
}

.hpj-hire-summary__row strong {
  color: #17201d;
  font-size: 1.05rem;
}

.hpj-hire-summary__group {
  border-top: 1px solid #dfe8e4;
  display: grid;
  gap: 6px;
  padding-top: 10px;
}

.hpj-hire-summary__details {
  display: grid;
  gap: 4px;
  padding-left: 12px;
}

.hpj-hire-summary__details span {
  align-items: center;
  color: #33413c;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.hpj-hire-summary__details em {
  color: #7a4d10;
  font-style: normal;
  font-weight: 800;
}

.hpj-hire-summary__total {
  background: #eef8f4;
  border-radius: 8px;
  color: #17201d;
  font-weight: 900;
  margin-top: 2px;
  padding: 12px;
}

.hpj-hire-summary__total strong {
  font-size: 1.2rem;
}

.hpj-price-editor {
  display: grid;
  gap: 12px;
}

.hpj-price-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 12px;
  padding: 12px;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  background: #f9fbfa;
}

.hpj-branding-assets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hpj-branding-asset {
  display: grid;
  gap: 10px;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  padding: 12px;
  background: #f9fbfa;
}

.hpj-branding-asset label {
  display: grid;
  gap: 6px;
  font-weight: 750;
  color: #33413c;
}

.hpj-branding-asset__preview {
  align-items: center;
  background: #fff;
  border: 1px dashed #bfd0c9;
  border-radius: 8px;
  color: #52645e;
  display: flex;
  font-weight: 800;
  justify-content: center;
  min-height: 112px;
  overflow: hidden;
}

.hpj-branding-asset__preview img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.hpj-branding-asset__preview--cover {
  aspect-ratio: 8 / 3;
}

.hpj-branding-asset__preview--cover img {
  object-fit: cover;
}

.hpj-branding-asset__preview--favicon {
  aspect-ratio: 1;
  margin-inline: auto;
  min-height: 80px;
  width: 112px;
}

.hpj-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.hpj-admin-panel {
  padding: 16px;
}

.hpj-compact-list {
  display: grid;
  gap: 8px;
}

.hpj-compact-list div {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 8px;
  background: #f7faf8;
}

.hpj-compact-list span {
  color: #52645e;
}

.hpj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hpj-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: #eef8f4;
  color: #1c5c4a;
  font-weight: 800;
}

.hpj-swatch {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #cfdad5;
  margin-right: 6px;
  vertical-align: middle;
}

.hpj-status {
  border: 1px solid #badbcc;
  border-radius: 8px;
  background: #edf8f1;
  color: #1d5d3a;
  font-weight: 800;
  margin: 0 0 16px;
  padding: 12px 16px;
}

.hpj-establishment-bookings-filter {
  margin-bottom: 16px;
}

.hpj-status--warning {
  background: #fff8e6;
  border-color: #f2d48a;
  color: #805b10;
}

.hpj-status--error {
  background: #fff0ed;
  border-color: #e7b0a6;
  color: #91331f;
}

.hpj-checkline {
  align-items: center;
  display: flex !important;
  flex-direction: row;
  gap: 8px !important;
}

.hpj-checkline input[type="checkbox"] {
  min-height: 18px;
  width: 18px;
}

.hpj-table {
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  overflow: hidden;
}

.hpj-table__head,
.hpj-table__row {
  display: grid;
  gap: 8px;
  grid-template-columns: 1.2fr .7fr .8fr .8fr 1fr;
  padding: 10px;
}

.hpj-table__head {
  background: #eef8f4;
  color: #33413c;
  font-size: .9rem;
  font-weight: 850;
}

.hpj-table__row {
  align-items: center;
  background: #fff;
  border-top: 1px solid #edf2ef;
}

.hpj-table__row input {
  width: 100%;
}

.hpj-table--price-blocks .hpj-table__head,
.hpj-table--price-blocks .hpj-table__row {
  grid-template-columns: 1fr .65fr .75fr .75fr minmax(320px, 2fr);
}

.hpj-price-blocks {
  display: grid;
  gap: 8px;
}

.hpj-price-block {
  align-items: end;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(82px, 1fr)) auto;
}

.hpj-price-block label {
  color: #33413c;
  display: grid;
  font-size: .82rem;
  font-weight: 750;
  gap: 3px;
}

.hpj-price-block .hpj-action {
  min-height: 38px;
}

.hpj-price-gap-list {
  margin: 0 0 14px;
  max-height: 220px;
  overflow: auto;
  padding-left: 20px;
}

.hpj-price-gap-value {
  display: grid;
  gap: 6px;
  font-weight: 750;
}

.hpj-price-gap-value input {
  min-height: 42px;
  border: 1px solid #cfdad5;
  border-radius: 8px;
  padding: 0 12px;
}

.hpj-table--courts .hpj-table__head,
.hpj-table--courts .hpj-table__row {
  grid-template-columns: 1.1fr .8fr 1.6fr .6fr;
}

.hpj-table--extras .hpj-table__head,
.hpj-table--extras .hpj-table__row {
  grid-template-columns: 1.3fr .7fr .9fr .8fr .7fr;
}

.hpj-table--payment-fees .hpj-table__head,
.hpj-table--payment-fees .hpj-table__row {
  grid-template-columns: 1fr .9fr .9fr .6fr;
}

.hpj-table--holidays .hpj-table__head,
.hpj-table--holidays .hpj-table__row {
  grid-template-columns: .8fr 1.6fr .8fr .8fr;
}

.hpj-inline-add {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.4fr 1fr;
}

.hpj-inline-add__wide {
  grid-column: 1 / -1;
}

.hpj-inline-add--extras {
  grid-template-columns: 1.3fr .7fr .9fr .8fr;
}

.hpj-check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.hpj-check-grid .hpj-checkline {
  min-height: 30px;
}

.hpj-table__row--holiday {
  background: #fff9ec;
}

.hpj-checkout-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
}

.hpj-order-list {
  display: grid;
  gap: 10px;
}

.hpj-order-item,
.hpj-order-total {
  align-items: center;
  background: #f7faf8;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
}

.hpj-order-item span,
.hpj-payment-option small {
  color: #52645e;
  display: block;
}

.hpj-order-item__actions {
  align-items: center;
  display: flex;
  gap: 10px;
  white-space: nowrap;
}

.hpj-icon-action {
  align-items: center;
  background: #fff;
  border: 1px solid #d7e0dd;
  border-radius: 8px;
  color: #a73535;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  padding: 0;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
  width: 36px;
}

.hpj-icon-action:hover {
  background: #fff2f2;
  border-color: #e2aaaa;
  color: #8f2525;
}

.hpj-icon-action--edit {
  color: #006b50;
}

.hpj-icon-action--edit:hover {
  background: #eef8f4;
  border-color: #9ed0bf;
  color: #00523e;
}

.hpj-icon-action svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 18px;
}

.hpj-order-total {
  background: #eef8f4;
  font-size: 1.1rem;
  font-weight: 850;
}

.hpj-payment-options {
  display: grid;
  gap: 10px;
}

.hpj-payment-option {
  align-items: center;
  border: 1px solid #d5e2dd;
  border-radius: 8px;
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  padding: 12px;
}

.hpj-payment-option input {
  min-height: 18px;
  width: 18px;
}

.hpj-action--danger {
  background: #a73535;
}

.hpj-action--danger:hover {
  background: #8f2525;
}

.hpj-confirm-modal {
  border: 0;
  border-radius: 8px;
}

.hpj-card-payment {
  border: 1px solid #d5e2dd;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.hpj-card-payment h3 {
  font-size: 1rem;
  font-weight: 850;
  margin: 0;
}

.hpj-hidden-field {
  display: none !important;
}

.hpj-pix-qr {
  border: 1px solid #d5e2dd;
  border-radius: 8px;
  max-width: 240px;
  width: 100%;
}

.hpj-pix-copy {
  color: #33413c;
  display: grid;
  font-weight: 800;
  gap: 6px;
}

.hpj-pix-copy textarea {
  border: 1px solid #cfdad5;
  border-radius: 8px;
  color: #1c2824;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: .92rem;
  padding: 10px;
  resize: vertical;
  width: 100%;
}

.hpj-pix-copy-actions {
  align-items: center;
}

.hpj-countdown {
  color: #1c2824;
  font-size: 1.25rem;
  font-weight: 900;
}

.hpj-admin-payments {
  background: #fff;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  overflow: hidden;
}

.hpj-admin-payments__head,
.hpj-admin-payments__row {
  display: grid;
  gap: 10px;
  grid-template-columns: .8fr .7fr 1.1fr 1.45fr .9fr 1fr .75fr .9fr;
  padding: 11px 12px;
}

.hpj-admin-payments__head {
  background: #eef8f4;
  color: #33413c;
  font-size: .9rem;
  font-weight: 850;
}

.hpj-admin-payments__row {
  align-items: center;
  border-top: 1px solid #edf2ef;
}

.hpj-admin-payments__row small {
  color: #52645e;
}

.hpj-admin-payments__head--professionals,
.hpj-admin-payments__row--professionals {
  grid-template-columns: 1.3fr 1.25fr .9fr .8fr 1.2fr;
}

.hpj-admin-sports {
  background: #fff;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  overflow: hidden;
}

.hpj-admin-sports__head,
.hpj-admin-sports__row {
  display: grid;
  gap: 10px;
  grid-template-columns: 1.3fr 1fr .8fr .7fr .6fr;
  padding: 11px 12px;
}

.hpj-admin-sports__head {
  background: #eef8f4;
  color: #33413c;
  font-size: .9rem;
  font-weight: 850;
}

.hpj-admin-sports__row {
  align-items: center;
  border-top: 1px solid #edf2ef;
}

.hpj-admin-jobs-filter {
  align-items: end;
  grid-template-columns: 1.5fr 1fr 1fr 1fr auto;
}

.hpj-admin-jobs,
.hpj-admin-job-executions {
  background: #fff;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  overflow: hidden;
}

.hpj-admin-jobs > header {
  align-items: center;
  background: #f8fbfa;
  border-bottom: 1px solid #e5eeea;
  color: #33413c;
  display: flex;
  justify-content: space-between;
  padding: 12px;
}

.hpj-admin-jobs__head,
.hpj-admin-jobs__row {
  display: grid;
  gap: 10px;
  grid-template-columns: .55fr 1.25fr 1fr 1.15fr 1.1fr .7fr .7fr;
  padding: 11px 12px;
}

.hpj-admin-jobs__head,
.hpj-admin-job-executions__head {
  background: #eef8f4;
  color: #33413c;
  font-size: .9rem;
  font-weight: 850;
}

.hpj-admin-jobs__row,
.hpj-admin-job-executions__row {
  align-items: center;
  border-top: 1px solid #edf2ef;
}

.hpj-admin-jobs__row small,
.hpj-admin-job-executions__row small {
  color: #52645e;
  display: block;
}

.hpj-job-pill {
  align-items: center;
  background: #e8f1ed;
  border-radius: 999px;
  color: #23332d;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 850;
  justify-content: center;
  padding: 5px 9px;
}

.hpj-job-pill--pending {
  background: #fff5c7;
  color: #684d00;
}

.hpj-job-pill--running {
  background: #d9edff;
  color: #154a76;
}

.hpj-job-pill--succeeded {
  background: #dff6e9;
  color: #00663f;
}

.hpj-job-pill--failed,
.hpj-job-pill--deadletter {
  background: #ffe1df;
  color: #8f2525;
}

.hpj-job-pill--cancelled {
  background: #e8ebef;
  color: #4d5962;
}

.hpj-admin-job-summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.hpj-admin-job-summary article {
  background: #fff;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 14px;
}

.hpj-admin-job-summary span,
.hpj-job-facts dt {
  color: #52645e;
  font-size: .9rem;
  font-weight: 750;
}

.hpj-admin-job-summary strong {
  color: #1c2824;
}

.hpj-admin-job-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
  margin-bottom: 16px;
}

.hpj-job-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.hpj-job-facts {
  display: grid;
  gap: 8px 12px;
  grid-template-columns: max-content 1fr;
  margin: 0;
}

.hpj-job-facts dd {
  margin: 0;
}

.hpj-job-json {
  background: #111c18;
  border-radius: 8px;
  color: #e8f8f1;
  font-size: .86rem;
  margin: 0;
  max-height: 360px;
  overflow: auto;
  padding: 12px;
  white-space: pre-wrap;
  word-break: break-word;
}

.hpj-admin-job-executions__head,
.hpj-admin-job-executions__row {
  display: grid;
  gap: 10px;
  grid-template-columns: .65fr .9fr 1fr 1fr .75fr .85fr 1.5fr;
  padding: 11px 12px;
}

.hpj-admin-job-doc {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.hpj-admin-job-doc ul {
  color: #33413c;
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.hpj-admin-job-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hpj-pagination {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

.hpj-monthly-subscribers {
  display: grid;
  gap: 12px;
}

.hpj-monthly-subscriber {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  background: #fff;
}

.hpj-monthly-subscriber header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.hpj-monthly-subscriber h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 900;
}

.hpj-monthly-subscriber p {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 0;
  color: #52645e;
}

.hpj-monthly-slots {
  display: grid;
  gap: 8px;
}

.hpj-monthly-slot {
  align-items: center;
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr 1.2fr 1.5fr 1fr auto;
  padding: 10px;
  border: 1px solid #edf2ef;
  border-radius: 8px;
  background: #f9fbfa;
}

.hpj-monthly-subscriber header .hpj-row-actions,
.hpj-monthly-slot__actions {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  white-space: nowrap;
}

.hpj-monthly-subscriber header .hpj-row-actions form,
.hpj-monthly-slot__actions form {
  display: inline-flex;
  margin: 0;
}

.hpj-payment-choice,
.hpj-split-payment {
  display: grid;
  gap: 12px;
}

.hpj-choice-card {
  align-items: center;
  background: #f8fbfa;
  border: 1px solid #d7e0dd;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  padding: 14px;
}

.hpj-choice-card input {
  width: auto;
}

.hpj-choice-card span {
  display: grid;
  gap: 3px;
}

.hpj-choice-card small,
.hpj-split-warning span {
  color: #52645e;
}

.hpj-choice-card.is-disabled {
  cursor: not-allowed;
  opacity: .68;
}

.hpj-split-warning {
  background: #fff8e6;
  border: 1px solid #ead7a8;
  border-radius: 8px;
  color: #4d3a0b;
  display: grid;
  gap: 4px;
  padding: 14px;
}

.hpj-split-controls {
  display: grid;
  gap: 10px;
}

.hpj-check-option {
  align-items: center;
  display: flex;
  gap: 8px;
}

.hpj-check-option input {
  width: auto;
}

.hpj-split-participants {
  display: grid;
  gap: 10px;
}

.hpj-split-row {
  align-items: end;
  background: #f8fbfa;
  border: 1px solid #d7e0dd;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1.2fr 1fr .75fr auto;
  padding: 12px;
}

.hpj-split-row--organizer {
  align-items: center;
  grid-template-columns: 1fr auto;
}

.hpj-split-row--organizer span {
  color: #52645e;
  display: block;
  margin-top: 2px;
}

.hpj-split-summary {
  background: #f8fbfa;
  border: 1px solid #d7e0dd;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
}

.hpj-split-summary div {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.hpj-split-summary dt,
.hpj-split-summary dd {
  margin: 0;
}

.hpj-split-summary dd {
  font-weight: 800;
}

.hpj-split-summary .is-balanced {
  color: #006b50;
}

.hpj-split-summary .is-unbalanced {
  color: #a73535;
}

@media (max-width: 900px) {
  .hpj-split-row {
    grid-template-columns: 1fr;
  }
}

.hpj-professional-layout {
  display: grid;
  gap: 16px;
}

.hpj-bookings-table {
  background: #fff;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  overflow: hidden;
}

.hpj-bookings-table__head,
.hpj-bookings-table__row {
  display: grid;
  gap: 10px;
  grid-template-columns: .55fr 1.25fr 2.4fr 1fr .85fr .75fr;
  padding: 11px 12px;
}

.hpj-bookings-table__head--actions,
.hpj-bookings-table__row--actions {
  grid-template-columns: .55fr 1.15fr 2.2fr 1fr .85fr .75fr 58px;
}

.hpj-bookings-table__head--establishment-actions,
.hpj-bookings-table__row--establishment-actions {
  grid-template-columns: .55fr 1.1fr 1.15fr 2fr .9fr .85fr .7fr 58px;
}

.hpj-bookings-table__head {
  background: #eef8f4;
  color: #33413c;
  font-size: .9rem;
  font-weight: 850;
}

.hpj-bookings-table__row {
  align-items: center;
  border-top: 1px solid #edf2ef;
}

.hpj-bookings-table__row span {
  color: #52645e;
}

.hpj-reservation-lines {
  display: grid;
  gap: 4px;
}

.hpj-reservation-lines span {
  color: #33413c;
}

.hpj-booking-payment {
  display: grid;
  gap: 5px;
}

.hpj-booking-payment strong {
  color: #33413c;
  font-weight: 850;
}

.hpj-booking-payment small {
  color: #52645e;
  font-weight: 700;
}

.hpj-booking-payment .hpj-action {
  justify-self: start;
  min-height: 34px;
  padding-inline: 12px;
}

.hpj-ledger-summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 0 0 16px;
}

.hpj-ledger-summary div {
  background: #fff;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 16px;
}

.hpj-ledger-summary span {
  color: #52645e;
  font-weight: 750;
}

.hpj-ledger-summary strong {
  color: #17201d;
  font-size: 1.35rem;
  font-weight: 850;
}

.hpj-ledger-table {
  background: #fff;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  overflow: hidden;
}

.hpj-ledger-table__head,
.hpj-ledger-table__row {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1.25fr 2.2fr .8fr;
  padding: 11px 12px;
}

.hpj-ledger-table--owner .hpj-ledger-table__head,
.hpj-ledger-table--owner .hpj-ledger-table__row {
  grid-template-columns: 1fr 1fr 1.2fr 2.2fr .8fr;
}

.hpj-ledger-table__head {
  background: #eef8f4;
  color: #33413c;
  font-size: .9rem;
  font-weight: 850;
}

.hpj-ledger-table__row {
  align-items: center;
  border-top: 1px solid #edf2ef;
}

.hpj-ledger-table__row span {
  color: #52645e;
}

.hpj-amount--positive {
  color: #1d6d45;
}

.hpj-amount--negative {
  color: #9a3d2c;
}

@media (max-width: 720px) {
  .hpj-admin-jobs-filter {
    grid-template-columns: 1fr;
  }

  .hpj-admin-job-summary,
  .hpj-admin-job-layout,
  .hpj-admin-job-doc {
    grid-template-columns: 1fr;
  }

  .hpj-admin-jobs__head,
  .hpj-admin-job-executions__head {
    display: none;
  }

  .hpj-admin-jobs__row,
  .hpj-admin-job-executions__row {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .hpj-admin-jobs > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .hpj-job-actions,
  .hpj-job-actions form,
  .hpj-job-actions button {
    width: 100%;
  }

  .hpj-job-facts {
    grid-template-columns: 1fr;
  }

  .hpj-page-head,
  .hpj-list-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hpj-form-grid {
    grid-template-columns: 1fr;
  }

  .hpj-section-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hpj-price-row {
    grid-template-columns: 1fr;
  }

  .hpj-branding-assets {
    grid-template-columns: 1fr;
  }

  .hpj-table,
  .hpj-table__head,
  .hpj-table__row {
    display: block;
  }

  .hpj-table__head {
    display: none;
  }

  .hpj-table__row {
    border-top: 1px solid #dfe8e4;
    padding: 12px;
  }

  .hpj-table__row > * {
    margin: 0 0 8px;
  }

  .hpj-price-block {
    grid-template-columns: 1fr;
  }

  .hpj-inline-add,
  .hpj-inline-add--extras {
    grid-template-columns: 1fr;
  }

  .hpj-checkout-layout {
    grid-template-columns: 1fr;
  }

  .hpj-ledger-table,
  .hpj-ledger-table__head,
  .hpj-ledger-table__row,
  .hpj-ledger-table--owner .hpj-ledger-table__head,
  .hpj-ledger-table--owner .hpj-ledger-table__row,
  .hpj-bookings-table,
  .hpj-bookings-table__head,
  .hpj-bookings-table__row {
    display: block;
  }

  .hpj-ledger-table__head,
  .hpj-bookings-table__head {
    display: none;
  }

  .hpj-ledger-table__row > *,
  .hpj-bookings-table__row > * {
    display: block;
    margin: 0 0 6px;
  }

  .hpj-admin-payments,
  .hpj-admin-payments__head,
  .hpj-admin-payments__row {
    display: block;
  }

  .hpj-admin-payments__head {
    display: none;
  }

  .hpj-admin-payments__row > * {
    display: block;
    margin: 0 0 8px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Checkout */
.hpj-checkout-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(360px, .92fr) minmax(520px, 1.08fr);
  margin-bottom: 36px;
}

.hpj-checkout-order,
.hpj-checkout-payment {
  align-content: start;
}

.hpj-checkout-order {
  position: sticky;
  top: 18px;
}

.hpj-checkout-section-head {
  align-items: start;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 4px;
}

.hpj-checkout-section-head span {
  color: #52645e;
  display: block;
  font-size: .82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hpj-checkout-section-head h2 {
  margin: 2px 0 0;
}

.hpj-checkout-section-head > strong {
  color: #006b50;
  font-size: 1.35rem;
  white-space: nowrap;
}

.hpj-checkout-provider {
  margin: 4px 0 10px;
}

.hpj-checkout-layout .hpj-order-item,
.hpj-checkout-layout .hpj-order-total {
  border: 1px solid #edf2ef;
  padding: 14px;
}

.hpj-checkout-layout .hpj-order-total {
  border-color: #cde7dd;
}

.hpj-full-payment-panel {
  display: grid;
  gap: 12px;
}

.hpj-full-payment-panel[hidden],
.hpj-split-payment[hidden] {
  display: none !important;
}

.hpj-checkout-payment .hpj-payment-choice {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hpj-checkout-pending-payment {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.hpj-checkout-pending-payment a {
  align-items: center;
  background: #007f5f;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 850;
  min-height: 38px;
  padding: 0 12px;
  text-decoration: none;
  white-space: nowrap;
}

.hpj-checkout-payment .hpj-payment-choice .hpj-status {
  grid-column: 1 / -1;
  margin: 0;
}

.hpj-checkout-payment .hpj-choice-card {
  align-items: flex-start;
  border: 2px solid #d7e0dd;
  min-height: 92px;
  padding: 16px;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.hpj-checkout-payment .hpj-choice-card input {
  accent-color: #007f5f;
  margin-top: 3px;
}

.hpj-checkout-payment .hpj-choice-card:has(input:checked) {
  background: #eef8f4;
  border-color: #007f5f;
  box-shadow: 0 0 0 3px rgba(0, 127, 95, .12);
}

.hpj-checkout-payment .hpj-split-controls {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.hpj-checkout-payment .hpj-check-option {
  align-items: center;
  background: #f8fbfa;
  border: 1px solid #d7e0dd;
  border-radius: 8px;
  display: flex;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
}

.hpj-checkout-payment .hpj-split-warning {
  background: #fff9ec;
}

.hpj-checkout-payment .hpj-split-row {
  background: #fff;
  border: 1px solid #d7e0dd;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  padding: 14px;
}

.hpj-checkout-payment .hpj-split-row--organizer {
  background: #eef8f4;
  border-color: #bddfd3;
}

.hpj-split-row__main {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.hpj-split-row__main strong {
  font-weight: 900;
}

.hpj-split-row__main span {
  color: #52645e;
  display: block;
  margin-top: 2px;
}

.hpj-split-row__main b {
  color: #006b50;
  font-size: 1.08rem;
  white-space: nowrap;
}

.hpj-split-row__badge {
  align-self: start;
  background: #007f5f;
  border-radius: 999px;
  color: #fff !important;
  display: inline-flex !important;
  font-size: .78rem;
  font-weight: 850;
  justify-self: start;
  margin: 0 !important;
  padding: 4px 9px;
}

.hpj-split-row__fields {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(150px, .9fr) minmax(170px, 1.1fr) minmax(150px, 1fr) minmax(110px, .6fr);
}

.hpj-split-row__fields label {
  color: #33413c;
  display: grid;
  font-size: .86rem;
  font-weight: 750;
  gap: 4px;
}

.hpj-split-row__fields input {
  background: #fff;
  border: 1px solid #cfdad5;
  border-radius: 8px;
  min-height: 40px;
  padding: 0 10px;
  width: 100%;
}

.hpj-split-row input[data-hpj-split-amount][disabled] {
  background: #eef3f1;
  color: #64736d;
  cursor: not-allowed;
  opacity: 1;
}

.hpj-modal-list {
  margin: 10px 0 0;
  padding-left: 20px;
}

.hpj-modal-list li {
  margin-bottom: 4px;
}

.hpj-checkout-payment .hpj-split-summary {
  background: #f8fbfa;
}

.hpj-form-section .hpj-payment-option {
  justify-content: space-between;
}

.hpj-form-section .hpj-card-payment {
  background: #fff;
  gap: 12px;
  padding: 14px;
}

.hpj-form-section .hpj-card-payment label {
  color: #33413c;
  display: grid;
  font-weight: 750;
  gap: 5px;
}

.hpj-form-section .hpj-card-payment input,
.hpj-form-section .hpj-card-payment select {
  border: 1px solid #cfdad5;
  border-radius: 8px;
  min-height: 42px;
  padding: 0 12px;
  width: 100%;
}

.hpj-form-section .hpj-card-payment input:focus,
.hpj-form-section .hpj-card-payment select:focus,
.hpj-split-row input:focus {
  border-color: #007f5f;
  box-shadow: 0 0 0 3px rgba(0, 127, 95, .14);
  outline: none;
}

.hpj-form-section .hpj-card-payment .hpj-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hpj-form-section .hpj-split-row > label {
  color: #33413c;
  display: grid;
  font-size: .86rem;
  font-weight: 750;
  gap: 4px;
}

.hpj-form-section .hpj-split-row > label input {
  background: #fff;
  border: 1px solid #cfdad5;
  border-radius: 8px;
  min-height: 40px;
  padding: 0 10px;
  width: 100%;
}

.hpj-form-section .hpj-split-row:not(:has(.hpj-split-row__fields)):not(.hpj-split-row--organizer) {
  grid-template-columns: minmax(120px, .9fr) minmax(140px, 1.1fr) minmax(130px, 1fr) minmax(100px, .65fr) auto;
}

.hpj-form-section .hpj-split-row:not(:has(.hpj-split-row__fields)):not(.hpj-split-row--organizer) .hpj-icon-action {
  align-self: end;
}

.hpj-checkout-payment .hpj-payment-option {
  justify-content: space-between;
}

.hpj-checkout-payment .hpj-card-payment {
  background: #fff;
  gap: 12px;
  padding: 14px;
}

.hpj-checkout-payment .hpj-card-payment label {
  color: #33413c;
  display: grid;
  font-weight: 750;
  gap: 5px;
}

.hpj-checkout-payment .hpj-card-payment input,
.hpj-checkout-payment .hpj-card-payment select {
  border: 1px solid #cfdad5;
  border-radius: 8px;
  min-height: 42px;
  padding: 0 12px;
  width: 100%;
}

.hpj-checkout-payment .hpj-card-payment input:focus,
.hpj-checkout-payment .hpj-card-payment select:focus,
.hpj-split-row__fields input:focus {
  border-color: #007f5f;
  box-shadow: 0 0 0 3px rgba(0, 127, 95, .14);
  outline: none;
}

.hpj-checkout-payment .hpj-card-payment .hpj-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hpj-checkout-payment .hpj-split-row > label {
  color: #33413c;
  display: grid;
  font-size: .86rem;
  font-weight: 750;
  gap: 4px;
}

.hpj-checkout-payment .hpj-split-row > label input {
  background: #fff;
  border: 1px solid #cfdad5;
  border-radius: 8px;
  min-height: 40px;
  padding: 0 10px;
  width: 100%;
}

.hpj-checkout-payment .hpj-split-row:not(:has(.hpj-split-row__fields)):not(.hpj-split-row--organizer) {
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
}

.hpj-checkout-payment .hpj-split-row:not(:has(.hpj-split-row__fields)):not(.hpj-split-row--organizer) .hpj-icon-action {
  align-self: end;
}

@media (max-width: 1100px) {
  .hpj-checkout-layout {
    grid-template-columns: 1fr;
  }

  .hpj-checkout-order {
    position: static;
  }

  .hpj-split-row__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hpj-checkout-payment .hpj-split-row:not(:has(.hpj-split-row__fields)):not(.hpj-split-row--organizer) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hpj-form-section .hpj-split-row:not(:has(.hpj-split-row__fields)):not(.hpj-split-row--organizer) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hpj-checkout-payment .hpj-payment-choice {
    grid-template-columns: 1fr;
  }

  .hpj-split-row__fields {
    grid-template-columns: 1fr;
  }

  .hpj-checkout-payment .hpj-split-row:not(:has(.hpj-split-row__fields)):not(.hpj-split-row--organizer),
  .hpj-checkout-payment .hpj-card-payment .hpj-form-grid {
    grid-template-columns: 1fr;
  }

  .hpj-split-row__main {
    align-items: flex-start;
  }

  .hpj-checkout-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
