/* PMX_POS_EXISTING_SURFACE_GUARD_V1
   Purpose: prevent disabled POS prototype pages from looking production-ready
   when backend Activity Guard blocks /api/v1/pos.
*/

.pmx-pos-guard-v1 {
  position: sticky;
  top: 0;
  z-index: 999999;
  margin: 0;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(245, 158, 11, .96), rgba(234, 88, 12, .96));
  color: #fff;
  font-family: inherit;
  font-weight: 800;
  line-height: 1.6;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .18);
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.pmx-pos-guard-v1 small {
  display: block;
  font-weight: 600;
  opacity: .92;
  margin-top: 4px;
}

.pmx-pos-guard-v1 a {
  color: #fff;
  text-decoration: underline;
  font-weight: 900;
}

body[data-pmx-pos-disabled-v1="1"] .pos-charge-btn,
body[data-pmx-pos-disabled-v1="1"] .pos-send-kitchen,
body[data-pmx-pos-disabled-v1="1"] button[onclick*="confirmPay"],
body[data-pmx-pos-disabled-v1="1"] button[onclick*="showPayModal"],
body[data-pmx-pos-disabled-v1="1"] button[onclick*="sendToKitchen"] {
  opacity: .45 !important;
  pointer-events: none !important;
  filter: grayscale(.6);
}

@media (max-width: 720px) {
  .pmx-pos-guard-v1 {
    font-size: 13px;
    padding: 10px 12px;
  }
}
