body.pedidos-public {
  margin: 0;
  background: #f7f2ee;
}

.poc-saas-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 18px 0;
}

.poc-saas-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.poc-saas-brand strong {
  font-size: 22px;
  color: #111;
}

.poc-saas-brand span {
  color: #666;
  font-size: 14px;
}

.poc-payment-return {
  max-width: 1180px;
  margin: 16px auto 0;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff;
  border-left: 5px solid var(--poc-accent, #880000);
  box-shadow: 0 12px 34px rgba(0,0,0,.08);
}

.poc-payment-return.is-approved {
  border-left-color: #148d45;
}

.poc-payment-return.is-error {
  border-left-color: #b3261e;
}

.poc-payment-pos-note {
  margin: -4px 0 4px;
  padding: 11px 12px;
  border: 1px solid rgba(136,0,0,.16);
  border-radius: 14px;
  background: #fff7f1;
  color: #6c2d13;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.poc-payment-pos-note.is-hidden {
  display: none;
}

.poc-modal__dialog--location {
  width: min(680px, calc(100vw - 20px));
}

.poc-location-head {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.poc-location-head h3 {
  margin: 0;
  color: var(--poc-heading);
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.poc-location-head p {
  margin: 0;
  color: var(--poc-muted);
  line-height: 1.55;
}

#poc-location-map {
  color: #7a6d64;
  font-size: 13px;
  font-weight: 700;
  box-sizing: border-box;
}

#poc-location-map.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
}

.poc-saas-panel {
  min-height: 100vh;
  background: #090b10;
  color: #f4f6fb;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.poc-saas-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
}

.poc-saas-sidebar {
  background: #0f1219;
  border-right: 1px solid rgba(255,255,255,.08);
  padding: 22px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.poc-saas-sidebar a,
.poc-saas-sidebar button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  padding: 11px 12px;
  color: rgba(255,255,255,.82);
  background: transparent;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

.poc-saas-sidebar a:hover,
.poc-saas-sidebar a.is-active,
.poc-saas-sidebar button:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.poc-saas-main {
  padding: 28px;
}

.poc-saas-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.poc-saas-head h1 {
  margin: 0;
  font-size: 30px;
}

.poc-saas-head p {
  margin: 6px 0 0;
  color: rgba(255,255,255,.62);
}

.poc-saas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.poc-saas-card,
.poc-saas-table,
.poc-saas-form {
  background: #151922;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 18px 46px rgba(0,0,0,.24);
}

.poc-saas-card strong {
  display: block;
  color: rgba(255,255,255,.62);
  font-size: 13px;
}

.poc-saas-card span {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  font-weight: 800;
}

.poc-saas-table {
  width: 100%;
  border-collapse: collapse;
}

.poc-saas-table th,
.poc-saas-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align: left;
  vertical-align: top;
}

.poc-saas-table th {
  color: rgba(255,255,255,.62);
  font-size: 12px;
  text-transform: uppercase;
}

.poc-saas-form label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 700;
}

.poc-saas-form input,
.poc-saas-form select,
.poc-saas-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: #0d1118;
  color: #fff;
  padding: 10px 12px;
  font: inherit;
}

.poc-saas-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.poc-saas-check {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.03);
}

.poc-saas-check input {
  width: auto !important;
}

.poc-saas-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.poc-saas-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--poc-admin-brand, #880000);
  color: #fff;
  padding: 9px 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.poc-saas-btn.secondary {
  background: #252c39;
}

.poc-saas-btn.danger {
  background: #7f1d1d;
}

.poc-saas-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.poc-saas-status.is-active {
  background: rgba(34,197,94,.12);
  color: #bbf7d0;
}

.poc-saas-status.is-paused {
  background: rgba(245,158,11,.14);
  color: #fde68a;
}

.poc-saas-help {
  margin: 8px 0 10px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.45;
}

.poc-zone-editor h2 {
  color: #fff;
}

.poc-zone-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(260px, .85fr);
  gap: 14px;
  align-items: start;
}

.poc-zone-map {
  height: 420px;
  min-height: 320px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  overflow: hidden;
  background: #0d1118;
}

.poc-zone-map--small {
  height: 300px;
  min-height: 260px;
}

.poc-zone-map.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: rgba(255,255,255,.68);
  text-align: center;
  box-sizing: border-box;
}

.poc-hours-day {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.025);
}

.poc-hours-day__enabled {
  margin: 0 !important;
}

.poc-hours-slots {
  display: grid;
  gap: 10px;
}

.poc-hours-slot {
  display: grid;
  grid-template-columns: 82px minmax(130px,1fr) minmax(130px,1fr) minmax(90px,.8fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(0,0,0,.12);
}

.poc-hours-slot strong {
  color: #fff;
  font-size: 13px;
}

.poc-hours-slot small {
  color: rgba(255,255,255,.54);
  line-height: 1.35;
}

.poc-hours-slot label {
  margin: 0;
}

@media (max-width: 900px) {
  .poc-zone-grid,
  .poc-hours-day,
  .poc-hours-slot {
    grid-template-columns: 1fr;
  }
}

.poc-saas-alert {
  background: #14351f;
  border: 1px solid rgba(74,222,128,.35);
  color: #d7ffe1;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.poc-saas-errors {
  background: #3a1515;
  border: 1px solid rgba(248,113,113,.35);
  color: #ffe2e2;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.poc-ticket {
  background: #fff;
  color: #111;
  width: 302px;
  padding: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.poc-ticket h1 {
  margin: 0 0 8px;
  font-size: 18px;
}

.poc-ticket hr {
  border: 0;
  border-top: 1px dashed #888;
  margin: 10px 0;
}

@media (max-width: 820px) {
  .poc-saas-shell {
    display: block;
  }

  .poc-saas-sidebar {
    height: auto;
    position: static;
  }

  .poc-saas-main {
    padding: 18px;
  }
}
