/* AS6UFP: preserve the two logo marks and move the event topic close to them. */
.public-amazon-registration .form-phone.full-bleed-background:not(.ticket-phone) .form-cover {
  position: relative;
  overflow: hidden;
  background-color: #111923 !important;
  background-image: var(--as6ufp-mobile-key-visual) !important;
  background-position: center -28px !important;
  background-repeat: no-repeat !important;
  background-size: 100% auto !important;
}

.public-amazon-registration .form-phone.full-bleed-background:not(.ticket-phone) .form-cover::before {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: 68px;
  pointer-events: none;
  background-color: #111923;
  background-image: var(--as6ufp-mobile-key-visual);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  content: "";
}

.public-ticket-claim-runtime.public-amazon-ticket-claim .public-ticket-claim-page {
  position: relative;
  isolation: isolate;
}

.public-ticket-claim-runtime.public-amazon-ticket-claim .public-ticket-claim-page::before,
.public-ticket-claim-runtime.public-amazon-ticket-claim .public-ticket-claim-page::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: -17px;
  left: 0;
  pointer-events: none;
  background-color: #111923;
  background-image: var(--as6ufp-mobile-key-visual);
  background-repeat: no-repeat;
  background-size: 100% auto;
  content: "";
}

.public-ticket-claim-runtime.public-amazon-ticket-claim .public-ticket-claim-page::before {
  height: var(--as6ufp-mobile-hero-height);
  background-position: center -28px;
}

.public-ticket-claim-runtime.public-amazon-ticket-claim .public-ticket-claim-page::after {
  height: 68px;
  background-position: center top;
}

/* Quota-enabled public checkbox: keep the name clear and align compact status at the far right. */
.venue-quota-option-label {
  position: relative;
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
}

main.public-form-runtime .form-field[data-type="checkbox"] .ant-checkbox-label {
  min-width: 0;
  flex: 1;
  align-self: stretch;
  overflow: visible !important;
}

main.public-form-runtime .form-field[data-type="checkbox"] .ant-checkbox-wrapper {
  overflow: visible !important;
}

.venue-quota-option-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.venue-quota-option-label-full {
  min-height: 24px;
  padding-right: 28px;
}

.venue-quota-option-label-remaining {
  min-height: 24px;
  padding-right: 38px;
}

.venue-quota-remaining {
  position: absolute;
  top: 50%;
  right: -17px;
  min-width: 34px;
  color: #8f6c5b;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
  transform: translateY(-50%);
}

.venue-quota-full-stamp {
  position: absolute;
  top: -5px;
  right: 0;
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  border: 1.3px solid currentColor;
  border-radius: 50%;
  color: #b36b5f;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  transform: rotate(-9deg);
  opacity: .78;
  pointer-events: none;
}

.venue-quota-full-stamp::after {
  position: absolute;
  inset: 2px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.venue-quota-full-stamp > span {
  position: relative;
  z-index: 1;
  display: block;
}

.public-amazon-registration .ant-checkbox-wrapper-disabled .venue-quota-full-stamp {
  color: #b0675d;
}
