:root {
  --tw-ring-color: $dark
;
}

[type='text']:focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus {
  border-color: #A11922;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  --tw-ring-color: $brand;
}

#content {
  padding: 0;
  margin: 0;
  background-color: #1d0406;
  color: #f8e0db;
  height: 100%;
}

#content #title {
  height: 5rem;
  background-color: #490b0f;
  width: 80%;
  min-width: 800px;
  max-width: 1024px;
  text-align: center;
  font-size: 36px;
  margin: auto;
  padding: 1rem;
}

#content .radio {
  width: 100%;
}

#content .radio p {
  font-weight: bold;
  font-size: 28px;
  width: 100%;
  text-align: center;
  margin: 0;
}

#content .radio .choices {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-content: stretch;
  align-items: center;
}

#content .radio .choices .choice {
  min-width: 7rem;
  margin: 0;
  font-size: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: stretch;
  align-items: center;
}

#content .radio .choices .choice input {
  --tw-ring-color: $dark-brand;
}

#content .radio .choices .choice [type='radio']:checked {
  background-color: #490b0f;
}

#content .radio .choices .choice label {
  padding-left: 0.5rem;
}

#content form {
  background-color: #490b0f;
  margin: auto;
  width: 80%;
  min-width: 800px;
  max-width: 1024px;
}

#content form .btn {
  border-radius: 2px;
  font-size: 20px;
  font-weight: bold;
  margin: 0.5rem;
  padding: 0.5rem;
}

#content form .label-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: stretch;
}

#content form .label-row .icon {
  padding-left: 0.5rem;
}

#content form .label-row:nth-child(1) {
  order: 0;
  flex: 0 1 auto;
  align-self: auto;
}

#content form .label-row:nth-child(2) {
  order: 0;
  flex: 0 1 auto;
  align-self: auto;
}

#content form #step-title {
  order: 0;
  flex: 0 1 auto;
  align-self: auto;
  height: 4rem;
  width: 100%;
  background-color: #6f6f6f;
  padding: 0.5rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-content: stretch;
  align-items: center;
}

#content form #step-title h2 {
  color: white;
  font-size: 32px;
  text-align: center;
  flex: 1 1 auto;
}

#content form #step-title .icon {
  color: #919191;
  min-height: 4rem;
  min-width: 4rem;
  display: grid;
  place-items: center;
}

#content form #step-title .spacer {
  min-width: 4rem;
}

#content form section {
  width: 100%;
  order: 0;
  flex: 1 1 auto;
  align-self: auto;
  padding: 1rem;
  background-color: #f8e0db;
  color: #490b0f;
  overflow-y: auto;
  height: calc(var(--vh, 100vh) - 80px - 5rem - 4rem - 4rem);
}

#content form .step-footer {
  width: 100%;
  height: 4rem;
  padding: 0 0.5rem 0 0.5rem;
  background-color: #490b0f;
  order: 0;
  flex: 0 1 auto;
  align-self: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-content: stretch;
  align-items: center;
}

#content form .step-footer #next {
  background-color: #b9832c;
  font-size: 20px;
  margin: 0.5rem;
  padding: 0.5rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: stretch;
  align-items: center;
}

#content form .step-footer #next i {
  display: grid;
  place-items: center;
}

#content form .step-footer #next.disabled {
  background-color: #6f6f6f;
  color: #AAAAAA;
}

#content form .step-footer #submit-payment {
  background-color: #b9832c;
  font-size: 20px;
  margin: 0.5rem;
  padding: 0.5rem;
}

#content form .step-footer #admin-link {
  background-color: #b9832c;
}

#content form .step-footer #admin-link a:hover {
  color: white;
}

#content form .step-footer #debug {
  background-color: #AA520B;
}

#content form .step-footer #pay-irl {
  background-color: #AA520B;
}

#content form .step-footer #total {
  padding: 0.75rem;
  border-radius: 4px;
  background-color: #f8e0db;
  color: #490b0f;
}

#content form .step-footer #total .money {
  font-weight: bold;
}

#content form .step-footer #cancel {
  background-color: #932424;
  border: 2px solid #AAAAAA;
}

#content form .step-footer #cancel:hover {
  color: white;
}

#content form .step-footer #cancel.disabled {
  background-color: #490b0f;
  color: #490b0f;
  border: none;
}

#content form .step-footer #cancel.disabled:hover {
  color: #490b0f;
}

#content #error {
  order: 0;
  width: 80%;
  min-width: 800px;
  max-width: 1024px;
  margin: auto;
  background-color: black;
  color: #932424;
  padding: 1rem;
}

#content #error h2 {
  font-size: 32px;
}

.errors span {
  color: #932424;
}

.field.error label {
  color: #932424;
}

.message {
  width: 100%;
  text-align: center;
  padding-left: 1rem;
}

.message .btn {
  background-color: #490b0f;
  color: #f8e0db;
}

.message .btn.disabled {
  background-color: #777777;
}

#choose-pricing .event-type .errors {
  text-align: center;
}

#choose-pricing #pricing-models {
  width: 100%;
  list-style: none;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: stretch;
  align-items: center;
}

#choose-pricing #pricing-models li {
  text-align: center;
  margin: 0 0 1rem 0;
  padding: 1rem;
  width: 20rem;
  min-height: 6rem;
  background-color: #AA520B;
  color: #f8e0db;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: stretch;
  align-items: center;
}

#choose-pricing #pricing-models li .check {
  min-width: 2rem;
  min-height: 2rem;
  border-radius: 1rem;
  border: 6px solid #A11922;
  background-color: #f8e0db;
  order: 0;
  flex: 0 1 auto;
  align-self: auto;
}

#choose-pricing #pricing-models li .check.checked {
  border: 6px solid #A11922;
  background-color: #b9832c;
}

#choose-pricing #pricing-models li .description {
  order: 0;
  flex: 1 1 auto;
  align-self: auto;
}

#choose-pricing #pricing-models li.sel {
  background-color: #490b0f;
}

#choose-pricing .multi {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-content: stretch;
  align-items: center;
}

#choose-pricing .multi label {
  padding: 1rem;
  font-weight: bold;
}

#choose-pricing .multi select {
  padding: 0.5rem;
  border-color: #F1C2B9;
  min-width: 3rem;
  background-color: #f8e0db;
}

#choose-booking-events #booking-events {
  width: 100%;
  list-style: none;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: stretch;
  align-items: center;
}

#choose-booking-events #booking-events li {
  text-align: center;
  margin: 0 0 1rem 0;
  padding: 1rem;
  width: 20rem;
  min-height: 6rem;
  background-color: #AA520B;
  color: #f8e0db;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: stretch;
  align-items: center;
}

#choose-booking-events #booking-events li .check {
  min-width: 2rem;
  min-height: 2rem;
  border-radius: 1rem;
  border: 6px solid #A11922;
  background-color: #d0d0d0;
  order: 0;
  flex: 0 1 auto;
  align-self: auto;
}

#choose-booking-events #booking-events li .check.checked {
  border: 6px solid #A11922;
  background-color: white;
}

#choose-booking-events #booking-events li .times {
  order: 0;
  flex: 1 1 auto;
  align-self: auto;
}

#choose-booking-events #booking-events li.sel {
  background-color: #490b0f;
  font-weight: bold;
}

#choose-booking-events .multi {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-content: stretch;
  align-items: center;
}

#choose-booking-events .multi label {
  padding: 1rem;
  font-weight: bold;
}

#choose-booking-events .multi select {
  padding: 0.5rem;
  border-color: #F1C2B9;
  min-width: 3rem;
  background-color: #f8e0db;
}

#user-info .event-type .errors {
  text-align: center;
}

#user-info #welcome {
  width: 100%;
  text-align: center;
  font-size: 20px;
}

#pay-amount .event-type .errors {
  text-align: center;
}

#pay-amount .horz-split {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: stretch;
  align-items: flex-start;
}

#pay-amount .horz-split #price {
  width: 50%;
  order: 0;
  flex: 1 1 auto;
  align-self: auto;
}

#pay-amount .horz-split #price #price-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: stretch;
  align-items: center;
}

#pay-amount .horz-split #price #price-container #defined-price {
  font-size: 32px;
  font-weight: bold;
}

#pay-amount .horz-split #price #price-container #pay-irl {
  color: #fefaf9;
  background-color: #AA520B;
  margin: 2rem;
}

#pay-amount .horz-split #price #price-container #pay-irl.sel {
  background-color: #A11922;
}

#pay-amount .horz-split #price #price-container .btn {
  border-radius: 2px;
  font-size: 20px;
  font-weight: bold;
  margin: 0.5rem;
  padding: 0.5rem;
}

#pay-amount .horz-split #price .space-between {
  justify-content: space-between;
}

#pay-amount .horz-split #price .start {
  justify-content: flex-start;
}

#pay-amount .horz-split #tip {
  width: 50%;
  order: 0;
  flex: 1 1 auto;
  align-self: auto;
}

#pay-amount .horz-split #tip.full {
  width: 100%;
}

#pay-amount .horz-split.dont-split {
  display: block;
}

#pay-amount .horz-split.dont-split #tip {
  margin: auto;
}

#pay-amount .chooser {
  width: 100%;
}

#pay-amount .chooser .choice {
  display: grid;
  place-items: center;
}

#pay-amount .chooser .choice div {
  margin-bottom: 0.5rem;
  padding: 1rem;
  border-radius: 4px;
  background-color: #a0676a;
  color: #f8e0db;
}

#pay-amount .chooser.grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.5em 0.5em;
}

#pay .errors {
  text-align: center;
  font-size: 32px;
}

#confirm {
  display: grid;
  place-items: center;
}

#confirm div {
  padding: 1.5rem;
  border-radius: 6px;
  font-size: 32px;
  font-weight: bold;
  max-width: 20rem;
  text-align: center;
}

#confirm #payment-msg {
  background-color: #517b69;
  color: #f8e0db;
}

#confirm .errors {
  background-color: #932424;
  color: #f8e0db;
}

#detail {
  height: calc(var(--vh, 100vh) - 80px - 5rem);
  background-color: #fefaf9;
  color: #490b0f;
  width: 80%;
  margin: auto;
  overflow-y: auto;
  min-width: 800px;
  max-width: 1024px;
  padding: 0;
  font-size: large;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: stretch;
  align-items: center;
}

#detail .top {
  width: 100%;
  order: 0;
  flex: 1 1 auto;
  align-self: auto;
  overflow-y: auto;
}

#detail .top .confirm-msg {
  padding: 0 2rem;
  text-align: center;
  font-size: 32px;
  font-weight: bold;
}

#detail .top .confirm-sent {
  padding: 0 2rem;
  text-align: center;
  font-size: 20px;
  font-weight: lighter;
}

#detail .top .confirm-error {
  color: #A11922;
  padding: 0 2rem;
  text-align: center;
  font-size: 24px;
}

#detail .top .owed {
  color: #AA520B;
  padding: 0 2rem;
  text-align: center;
  font-size: 24px;
}

#detail .top .pricing-model {
  padding: 0 2rem;
  width: 100%;
  text-align: center;
}

#detail .top .pricing-model .description {
  font-size: 28px;
}

#detail .top #payments {
  width: 100%;
  text-align: center;
}

#detail .top #payments h4 {
  font-weight: bold;
  font-size: 28px;
}

#detail .top #payments ul {
  margin: auto;
  max-width: 25rem;
}

#detail .top #payments ul li {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: stretch;
  align-items: center;
  padding: 0.5rem;
  font-size: 24px;
}

#detail .top #payments ul .not-recemt {
  justify-content: space-between;
}

#detail .top #payments ul .recent {
  justify-content: center;
}

#detail .top .booking-events {
  width: 100%;
  padding: 0 2rem;
}

#detail .top .booking-events ul {
  margin: auto;
  width: 90%;
}

#detail .top .booking-events ul li {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-content: stretch;
  align-items: flex-start;
  padding: 1rem;
  font-size: 24px;
}

#detail .top .booking-events ul li .times {
  min-width: 40%;
}

#detail .top .booking-events ul li .address a {
  text-decoration: underline;
}

#detail .top .booking-events ul li .chat a {
  margin: auto;
}

#detail .top .booking-events ul li .zoom {
  border: 4px solid #2d8cff;
  background: white;
  border-radius: 6px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: stretch;
  align-items: center;
}

#detail .top .booking-events ul li .zoom a {
  font-size: 18px;
  color: #2d8cff;
  font-weight: bold;
}

#detail .top .booking-events ul li.online {
  align-items: center;
}

#detail .top .preliminary {
  width: 100%;
  text-align: center;
  font-size: 24px;
}

#detail .top .preliminary a {
  font-weight: bold;
  text-decoration: underline;
}

#detail .detail-footer {
  width: 100%;
  height: 4rem;
  order: 0;
  flex: 0 1 auto;
  align-self: auto;
  padding: 0 0.5rem 0 0.5rem;
  background-color: #490b0f;
  order: 0;
  flex: 0 1 auto;
  align-self: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-content: stretch;
  align-items: center;
}

#detail .detail-footer .btn {
  border-radius: 2px;
  font-size: 20px;
  font-weight: bold;
  margin: 0.5rem;
  padding: 0.5rem;
}

#detail .detail-footer #debug {
  background-color: #b9832c;
}

#detail .detail-footer #done {
  background-color: #f8e0db;
  color: #3e3230;
}

#detail .detail-footer #done:hover {
  color: black;
}

#denied {
  height: calc(var(--vh, 100vh) - 80px);
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: stretch;
  align-items: center;
}

#denied h1 {
  width: 100%;
  text-align: center;
  font-size: 48px;
  color: #b9832c;
}

#denied p {
  margin: auto;
  font-size: 32px;
  padding: 3rem;
  flex: 1 1 auto;
}

#denied .detail-footer {
  width: 100%;
  height: 4rem;
  order: 0;
  flex: 0 1 auto;
  align-self: auto;
  padding: 0 0.5rem 0 0.5rem;
  order: 0;
  flex: 0 1 auto;
  align-self: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-content: stretch;
  align-items: center;
}

#denied .detail-footer .btn {
  background-color: #b9832c;
  color: #fefaf9;
  border-radius: 2px;
  font-size: 20px;
  font-weight: bold;
  margin: 0.5rem;
  padding: 0.5rem;
}

#denied .detail-footer #logout {
  background-color: #AA520B;
}

#denied .detail-footer.auth {
  justify-content: space-between;
}

.modal {
  display: block;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  background-color: black;
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

.modal .wrapper {
  width: 100%;
  /* Full width */
  height: 100%;
  display: grid;
  /* Hidden by default */
  place-items: center;
}

.modal .wrapper .inside {
  width: 40%;
  min-width: 20rem;
  min-height: 10rem;
  border-radius: 6px;
  color: #490b0f;
  background-color: #fefaf9;
}

.modal .wrapper .inside .banner {
  padding: 0.5rem;
  width: 100%;
  border-bottom: 1px solid #AA520B;
}

.modal .wrapper .inside .banner h1 {
  margin: auto;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #AA520B;
}

.modal .wrapper .inside .banner h2 {
  font-size: 24px;
}

.modal .wrapper .inside .body {
  overflow-y: auto;
}

.modal .wrapper .inside .body .description {
  font-size: 20px;
  padding: 0.5rem;
}

.modal .wrapper .inside .btn-row {
  padding: 0.75rem 2rem 0.75rem 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-content: stretch;
  align-items: center;
}

.modal .wrapper .inside .btn-row .btn {
  padding: 0.5rem 0.75rem 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 20px;
}

.modal .wrapper .inside .btn-row .solid {
  background-color: #AA520B;
  color: #fefaf9;
}

.modal .wrapper .inside .btn-row .outline {
  border: 1px solid #311f14;
}

@media only screen and (max-width: 820px) {
  #content {
    padding: 0;
    margin: 0;
    background-color: #1d0406;
    color: #f8e0db;
    height: 100%;
  }
  #content #title {
    width: 100%;
    min-width: unset;
    max-width: unset;
    font-size: 28px;
  }
  #content #title .booking {
    display: none;
  }
  #content form {
    padding: 0.5rem;
    width: 100%;
    min-width: unset;
    max-width: unset;
  }
  #content form #id_phone {
    width: 100%;
  }
  #content form #step-title {
    width: 100%;
  }
  #content form #step-title .icon {
    min-width: 1.5rem;
    min-height: 1.5rem;
  }
  #content form #step-title h2 {
    font-size: 28px;
    text-align: center;
  }
  #content form #step-title .spacer {
    min-width: 1.5rem;
    min-height: 1.5rem;
  }
  #content form .step-footer #debug {
    margin: auto;
    overflow-y: auto;
  }
  #content form .step-footer #div_id_aid_tip {
    width: 100%;
  }
  #content form #pay-amount .horz-split {
    display: block;
  }
  #content form #pay-amount .horz-split #price {
    width: 100%;
    padding-bottom: 1.5rem;
  }
  #content form #pay-amount .horz-split #price #price-container {
    display: block;
    width: 100%;
  }
  #content form #pay-amount .horz-split #price #price-container #defined-price {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: stretch;
    align-items: center;
  }
  #content form #pay-amount .horz-split #price #price-container #pay-irl {
    margin: 0;
    width: 100%;
    text-align: center;
  }
  #content form #pay-amount .horz-split #tip {
    width: 100%;
  }
  #content #detail {
    width: 100%;
    min-width: unset;
    max-width: unset;
  }
  #content #detail .top .booking-events ul li {
    background: #b9832c;
    color: #fefaf9;
    display: block;
    border: 1px solid #490b0f;
    border-radius: 6px;
    margin-bottom: 1rem;
  }
  #content #detail .top .booking-events ul li .times {
    text-align: center;
    font-weight: bold;
  }
  #content #detail .top .booking-events ul li a {
    color: #f8e0db;
  }
  #content #detail .top .booking-events ul li a:hover {
    color: white;
  }
  #content #detail .top .preliminary {
    text-align: center;
  }
  #content #detail .top .preliminary a {
    display: block;
  }
}
