/* Friendly rounded controls for the public Eastel checkout. */
.shop-phone,
.shop-custom {
  border-radius: 18px !important;
  min-height: 50px !important;
  padding-inline: 16px !important;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.shop-phone:focus-within,
.shop-custom:focus-within {
  border-color: #8b35e8 !important;
  box-shadow: 0 0 0 4px rgba(139, 53, 232, 0.12) !important;
}

.shop-phone input,
.shop-custom input {
  min-height: 44px;
  font-size: 16px !important;
}

.shop-amounts {
  gap: 10px !important;
}

.shop-amounts button {
  min-height: 50px;
  border-radius: 16px !important;
  transition: transform 120ms ease, border-color 160ms ease,
    box-shadow 160ms ease, background 160ms ease;
}

.shop-amounts button:hover:not(:disabled) {
  border-color: #b88ae9;
  box-shadow: 0 5px 14px rgba(79, 30, 120, 0.08);
}

.shop-amounts button:focus-visible {
  outline: 3px solid rgba(139, 53, 232, 0.25);
  outline-offset: 2px;
}

.shop-amounts button:active:not(:disabled) {
  transform: scale(0.98);
}

@media (max-width: 520px) {
  .shop-phone,
  .shop-custom {
    border-radius: 16px !important;
  }

  .shop-amounts button {
    border-radius: 15px !important;
  }
}

/* Clear payment timing and receipt feedback. */
.shop-countdown {
  margin: 12px 0 2px !important;
  padding: 10px 14px;
  border-radius: 14px;
  background: #f5efff;
  color: #5b218f;
  text-align: center;
}
.shop-countdown strong { font-variant-numeric: tabular-nums; font-size: 1.08em; }
.shop-receipt-confirmed {
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  background: #f0fdf4;
  color: #166534;
  font-weight: 650;
  line-height: 1.45;
}
#worker-status-badge { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 640px) {
  .shop-nav-right { display: flex !important; align-items: center; gap: 8px; }
  .shop-nav-right > span { display: none; }
  #worker-status-badge { padding: 5px 8px !important; font-size: 10px !important; }
}

/* Keep focus on the rounded outer control; remove the browser's square inner outline. */
.shop-phone input,
.shop-phone input:focus,
.shop-phone input:focus-visible,
.shop-custom input,
.shop-custom input:focus,
.shop-custom input:focus-visible {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* A compact custom RM entry row. */
.shop-custom {
  min-height: 46px !important;
  height: 46px !important;
  padding: 4px 12px !important;
  box-sizing: border-box !important;
}
.shop-custom input {
  min-height: 34px !important;
  height: 34px !important;
  font-size: 15px !important;
}
.shop-custom > span:last-child {
  font-size: 11px !important;
}

/* Header support shortcut removed by owner request. */
.shop-nav-right > a {
  display: none !important;
}

/* The entire custom amount row focuses the amount input. */
.shop-custom,
.shop-custom > span {
  cursor: text !important;
}

/* Large, reliable receipt picker for touch devices. */
.shop-upload .shop-file-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin: 14px 0 8px;
  padding: 12px 16px;
  border: 1px solid #cfc4ec;
  border-radius: 12px;
  background: #f7f3ff;
  color: #4d3477;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.shop-upload .shop-file-picker:active { background: #eee6ff; }
.shop-upload .shop-file-picker[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.shop-upload input[type="file"][hidden] { display: none !important; }
