/* Delivery Zones screen */
.smbz-card, .smbz-rv { padding: 16px; border: 1px solid #e4e7eb; border-radius: 14px; background: #fff; }
.smbz-rv { margin-bottom: 16px; border-color: #000C14; }
.smbz-rv:focus { outline: none; }
.smbz-rv h2 { margin: 0 0 8px; font: 800 18px/1.2 Archivo, Inter, sans-serif; color: #000C14; }
.smbz-rv h3 { margin: 14px 0 8px; font: 800 14px/1.3 Inter, sans-serif; color: #000C14; }
.smbz-ch { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.5; }
.smbz-cl { max-height: 300px; overflow: auto; }
.smbz-via { display: flex; flex-wrap: wrap; gap: 14px; margin: 12px 0; padding: 0; border: 0; font-size: 13.5px; }
.smbz-via legend { padding: 0; margin-bottom: 6px; font-weight: 700; }
.smbz-f { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.smbz-f input, .smbz-f textarea { display: block; width: 100%; margin-top: 3px; padding: 8px 10px; border: 1px solid #dde1e6; border-radius: 8px; font: 400 14px/1.4 Inter, sans-serif; }
.smbz-act { display: flex; gap: 8px; }
.smbz-ok { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: #e6f6ee; color: #0c5b35; font-size: 14px; }
.smbz-top, .smbz-bar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-bottom: 12px; font-size: 12.5px; color: #5f6b76; }
.smbz-top input { display: block; width: 130px; margin-top: 3px; padding: 7px 9px; border: 1px solid #dde1e6; border-radius: 8px; color: #000C14; font-size: 13.5px; }
.smbz-res { padding-bottom: 8px; color: #000C14; font-size: 13px; }
.smbz-bar { align-items: center; }
.smbz-bar input[type=search] { flex: 1 1 260px; max-width: 360px; padding: 8px 10px; border: 1px solid #dde1e6; border-radius: 8px; font-size: 13.5px; }
.smbz-bar label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.smbw .smbz-b { padding: 8px 14px; border: 1px solid #dde1e6 !important; border-radius: 9px; background: #fff !important; color: #000C14 !important; font: 700 13px/1 Inter, sans-serif; text-transform: none; cursor: pointer; }
.smbw .smbz-b.pri { border-color: #F8002F !important; background: #F8002F !important; color: #fff !important; }
.smbw .smbz-b:disabled { opacity: .45; cursor: default; }
.smbz-bar .pri { margin-left: auto; }
.smbz-tw { overflow-x: auto; }
.smbz-t { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.35; }
.smbz-t th { padding: 0; background: #000C14; color: #fff; text-align: left; white-space: nowrap; }
.smbz-rv .smbz-t th { padding: 7px 8px; }
.smbw .smbz-t th button { display: block; width: 100%; padding: 9px 8px; border: 0 !important; background: none !important; color: #fff !important; font: 700 11.5px/1.2 Inter, sans-serif; text-align: left; text-transform: uppercase; white-space: normal; cursor: pointer; }
.smbz-t td { padding: 7px 8px; border-bottom: 1px solid #eef0f2; vertical-align: middle; }
.smbz-t td.c { text-align: center; }
.smbz-m { color: #5f6b76; }
.smbw .smbz-txt { display: block; width: 100%; padding: 2px 4px; margin: -2px -4px; border: 1px solid transparent !important; border-radius: 6px; background: none !important; color: inherit !important; font: inherit; text-align: left; text-transform: none; cursor: text; }
.smbw .smbz-txt:hover { border-color: #dde1e6 !important; }
.smbz-in { width: 100%; min-width: 150px; padding: 5px 7px; border: 1px solid #000C14; border-radius: 6px; font: inherit; }
.smbz-l { display: inline-block; margin: 1px 3px 1px 0; padding: 3px 7px; border-radius: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }
.smbz-l.yes { background: #000C14; color: #fff; }
.smbz-l.maybe { background: #fff3d1; color: #6b4a00; box-shadow: inset 0 0 0 1px #eda100; }
.smbz-l.na { background: #eef0f2; color: #5f6b76; }
.smbw .smbz-sc { display: block; padding: 3px 7px; border: 1px solid #dde1e6 !important; border-radius: 7px; background: #fff !important; color: #000C14 !important; font: 600 12.5px/1.35 Inter, sans-serif; text-align: left; text-transform: none; white-space: nowrap; cursor: pointer; }
.smbz-sc span { display: block; }
.smbz-bands > td { background: #f5f6f8; }
.smbz-bw { display: flex; flex-wrap: wrap; gap: 24px; }
.smbz-bw table { margin-top: 4px; font-size: 13px; }
.smbz-bw td { padding: 2px 16px 2px 0; border: 0; }
.smbz-bw p { flex-basis: 100%; margin: 0; color: #5f6b76; font-size: 12.5px; }
.smbz-am { position: relative; min-width: 110px; }
.smbz-am summary { cursor: pointer; }
.smbz-am > div { position: absolute; z-index: 5; right: 0; min-width: 170px; padding: 8px; border: 1px solid #dde1e6; border-radius: 9px; background: #fff; box-shadow: 0 8px 22px rgba(0,12,20,.16); }
.smbz-am label { display: flex; align-items: center; gap: 6px; padding: 3px 0; white-space: nowrap; }
.smbw .smbz-x { width: 26px; height: 26px; padding: 0; border: 1px solid #dde1e6 !important; border-radius: 7px; background: #fff !important; color: #000C14 !important; font-size: 15px; line-height: 1; cursor: pointer; }
.smbz-pg { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 10px; color: #5f6b76; font-size: 13px; }
.smbz-pg span:first-child { margin-right: auto; }
.smbw .smbz-pg button { padding: 7px 11px; border: 1px solid #dde1e6 !important; border-radius: 8px; background: #fff !important; color: #000C14 !important; font: 600 13px/1 Inter, sans-serif; text-transform: none; cursor: pointer; }
.smbw .smbz-pg button:disabled { opacity: .4; }

/* Direct Delivery Map */
.smbz-map { position: relative; container-type: inline-size; overflow: hidden; border-radius: 20px; background: #000C14; color: #fff; font-family: Inter, Arial, sans-serif; }
.smbz-mh { box-sizing: content-box; width: fit-content; max-width: calc(100% - 56px); padding: 28px 28px 14px; }
.smbz-mh h2 { margin: 0; color: #fff; font: 900 clamp(28px, 4.4vw, 48px)/1.04 Archivo, Inter, sans-serif; text-transform: uppercase; }
.smbz-mh p { width: 0; min-width: 100%; margin: 8px 0 0; color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.35; }
.smbz-mc { position: relative; min-height: 240px; }
.smbz-mc svg { display: block; width: 100%; height: auto; max-height: 86vh; }
.smbz-mc text { fill: #fff; font-family: Inter, Arial, sans-serif; font-weight: 700; paint-order: stroke; stroke: #000C14; stroke-opacity: .75; stroke-width: .35em; pointer-events: none; }
.smbz-lab, .smbz-base { pointer-events: none; }
.smbz-cells path { transition: opacity .2s; }
.smbz-pill { fill: #000C14; fill-opacity: .9; }
.smbz-base .pulse { transform-box: fill-box; transform-origin: center; animation: smbz-p 2.4s ease-out infinite; }
@keyframes smbz-p { from { transform: scale(.7); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .smbz-base .pulse { animation: none; } .smbz-cells path { transition: none; } }
.smbz-tip { position: absolute; z-index: 3; padding: 6px 10px; border-radius: 8px; background: #fff; color: #000C14; font-size: 13px; line-height: 1.3; pointer-events: none; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.smbz-tip b { display: block; }
.smbz-ml { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 16px 28px; }
.smbz-ml button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: none; color: #fff; font: 700 14px/1 Inter, Arial, sans-serif; text-transform: none; cursor: pointer; }
.smbz-ml button:hover, .smbz-ml button[aria-pressed=true] { border-color: #fff; background: rgba(255,255,255,.14); color: #fff; }
.smbz-ml i { width: 13px; height: 13px; border-radius: 50%; }
.smbz-two { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.75); font-size: 13.5px; }
.smbz-two i { width: 16px; height: 13px; border-radius: 3px; background: repeating-linear-gradient(45deg, #F8002F 0 3px, #18C29C 3px 6px); }
.smbz-mf { position: absolute; top: 24px; right: 24px; z-index: 4; box-sizing: border-box; width: 310px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(0,12,20,.9); }
.smbz-mf form { display: flex; align-items: end; gap: 8px; }
.smbz-mf label { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 700; }
.smbz-mf input { display: block; box-sizing: border-box; width: 100%; margin-top: 5px; padding: 10px 12px; border: 0; border-radius: 9px; background: #fff; color: #000C14; font-size: 15px; }
.smbz-mf button { padding: 11px 18px; border: 0; border-radius: 9px; background: #F8002F; color: #fff; font: 800 14px/1 Inter, Arial, sans-serif; cursor: pointer; }
.smbz-mf p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.4; }
.smbz-mf p:empty { display: none; }
.smbz-mf button.smbz-clr { display: block; margin-top: 10px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.45); background: none; font-size: 13px; }
.smbz-mf button.smbz-clr:hover { background: rgba(255,255,255,.12); }
.smbz-mf button.smbz-clr[hidden] { display: none; }
.smbz-mf p a, .smbz-mf p a:hover { color: #fff; font-weight: 800; text-decoration: underline; }
.smbz-cells path, .smbz-coast { vector-effect: non-scaling-stroke; }
.smbz-cells path.smbz-on { stroke: #fff; stroke-opacity: 1; stroke-width: 2.5; }
.smbz-rz { position: absolute; left: 16px; bottom: 16px; z-index: 3; padding: 9px 14px; border: 0; border-radius: 9px; background: #fff; color: #000C14; font: 800 13.5px/1 Inter, Arial, sans-serif; text-transform: none; cursor: pointer; }
.smbz-rz:hover { background: #fff; color: #F8002F; }
.smbz-rz[hidden] { display: none; }
@container (max-width: 860px) { .smbz-mf { position: static; width: auto; margin: 0 28px 14px; } }
.smbz-err { padding: 28px; }
@media (max-width: 600px) { .smbz-mh { padding: 20px 18px 10px; } .smbz-ml { padding: 12px 18px; } .smbz-map { border-radius: 14px; } }

/* Keep all the columns on screen */
.smbz-t td, .smbw .smbz-txt { white-space: normal; overflow-wrap: anywhere; }
.smbz-t { table-layout: fixed; min-width: 980px; }
.smbz-t th:nth-child(1) { width: 80px; }
.smbz-t th:nth-child(2) { width: 112px; }
.smbz-t th:nth-child(4) { width: 130px; }
.smbz-t th:nth-child(5) { width: 118px; }
.smbz-t th:nth-child(6) { width: 110px; }
.smbz-t th:nth-child(7) { width: 130px; }
.smbz-t th:nth-child(8) { width: 38px; }
.smbz-rv .smbz-t { table-layout: auto; min-width: 0; }
.smbz-rv .smbz-t th:nth-child(n) { width: auto; }
.smbz-bw table { table-layout: auto; min-width: 0; width: auto; }

/* Sliding scale editor */
.smbz-sc em { display: inline-block; margin-top: 2px; padding: 1px 6px; border-radius: 5px; background: #fff3d1; color: #6b4a00; font-size: 11px; font-style: normal; font-weight: 700; }
.smbz-sl { display: block; margin-bottom: 6px; color: #5f6b76; font-size: 12.5px; }
.smbz-sl input { display: block; width: 200px; margin-top: 2px; padding: 6px 8px; border: 1px solid #dde1e6; border-radius: 7px; color: #000C14; font-size: 13.5px; }
.smbz-fee { width: 76px; margin-left: 2px; padding: 4px 6px; border: 1px solid #dde1e6; border-radius: 6px; font-size: 13px; }
.smbw .smbz-lk { margin-top: 6px; padding: 0; border: 0 !important; background: none !important; color: #c00025 !important; font: 600 12.5px/1.3 Inter, sans-serif; text-decoration: underline; text-transform: none; cursor: pointer; }
.smbz-bw .smbz-act { flex-basis: 100%; flex-wrap: wrap; }

/* GM only (General Manager and administrators): what they can change is blue */
.smbz-gmn { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; padding: 10px 14px; border: 1px solid rgba(47,111,219,.5); border-radius: 12px; background: linear-gradient(180deg, rgba(47,111,219,.16), rgba(47,111,219,.06)), #fff; color: #123d8a; font-size: 13.5px; }
.smbz-gmn svg { width: 16px; height: 16px; flex: none; fill: currentColor; }
.smbz-gm .smbz-top input:not([data-test]):not(:disabled), .smbz-gm .smbz-body select, .smbz-gm .smbz-in { border-color: #2f6fdb !important; background-color: #eaf1fd !important; color: #123d8a !important; }
.smbz-gm .smbz-b, .smbz-gm .smbz-body button { border-color: #2f6fdb !important; color: #1a4fae !important; }
.smbz-gm .smbz-b { background: #eaf1fd !important; }
.smbz-gm .smbz-b.pri { background: #2f6fdb !important; color: #fff !important; }
.smbz-gm .smbz-b:disabled { opacity: .55; }
