/* Embedded payment step (checkout-payment.js) in the Milo sticker language. */

.checkout-page .pay-panel {
  margin: 1.25rem 0 0;
  padding: 1.35rem 1.35rem 1.25rem;
  border: 3px solid #172033;
  border-radius: 22px;
  background: #fff;
  box-shadow: 8px 10px 0 #172033;
  color: #172033;
  text-align: left;
}

.checkout-page .pay-panel[hidden] { display: none; }

.checkout-page .pay-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 2px dashed rgba(23, 32, 51, 0.25);
}

.checkout-page .pay-panel__step {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a556b;
}

.checkout-page .pay-panel__title {
  margin: 0.2rem 0 0;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #172033;
}

.checkout-page .pay-panel__amount {
  padding: 0.3rem 0.8rem;
  border: 2.5px solid #172033;
  border-radius: 999px;
  background: #fbbf24;
  box-shadow: 3px 3px 0 #172033;
  font-size: 1.15rem;
  font-weight: 800;
  white-space: nowrap;
  transform: rotate(2deg);
}

.checkout-page .pay-panel__email {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #4a556b;
  overflow-wrap: anywhere;
}

.checkout-page .pay-panel__email b { color: #172033; }

.checkout-page .pay-panel .pay-panel__edit {
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #2563eb !important;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.checkout-page .pay-panel__element { min-height: 9rem; }

.checkout-page .pay-panel__loading {
  margin: 0;
  padding: 2.5rem 0;
  text-align: center;
  font-weight: 700;
  color: #4a556b;
}

.checkout-page .pay-panel .pay-panel__btn {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 1.1rem;
  min-height: 3.2rem;
  font-size: 1.05rem;
}

.checkout-page .pay-panel__trust {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #4a556b;
}

.checkout-page .pay-panel__lock {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23172033' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2' fill='%23fbbf24'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.checkout-page .pay-panel__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.checkout-page .pay-panel__facts li {
  padding: 0.2rem 0.6rem;
  border: 2px solid #172033;
  border-radius: 999px;
  background: #fff8ec;
  font-size: 0.75rem;
  font-weight: 700;
}

.checkout-page .pay-panel__facts li::before { content: none !important; }

@media (max-width: 520px) {
  .checkout-page .pay-panel { padding: 1.05rem 1rem 1rem; box-shadow: 5px 6px 0 #172033; }
  .checkout-page .pay-panel__title { font-size: 1.2rem; }
}
