#pos-paynow-workspace { display: grid; gap: 20px; min-width: 0; color: var(--ink, #10372e); }
.pos-paynow-head, .pos-paynow-dialog header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.pos-paynow-head h1 { margin: 2px 0 8px; font-size: 28px; }
.pos-paynow-head p, .pos-paynow-store p { margin: 5px 0; line-height: 1.5; }
.pos-paynow-eyebrow { color: #0b7058; font-size: 11px; font-weight: 800; letter-spacing: .09em; margin: 0 0 6px; }
#pos-paynow-workspace button, .pos-paynow-dialog button { min-height: 42px; padding: 9px 15px; border: 1px solid #a7bbb2; border-radius: 8px; background: #fff; color: #134538; font: inherit; font-weight: 700; cursor: pointer; }
#pos-paynow-workspace button:disabled, .pos-paynow-dialog button:disabled { opacity: .5; cursor: not-allowed; }
.pos-paynow-summary { display: flex; flex-wrap: wrap; gap: 12px; }
.pos-paynow-summary span { background: #edf4ef; padding: 12px 18px; border-radius: 10px; color: #38584c; }
.pos-paynow-summary strong { font-size: 22px; margin-right: 5px; color: #10372e; }
.pos-paynow-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, .4fr); gap: 16px; }
.pos-paynow-toolbar label, .pos-paynow-dialog label:not(.pos-paynow-checkbox) { display: grid; gap: 7px; font-size: 13px; font-weight: 700; min-width: 0; }
.pos-paynow-toolbar input, .pos-paynow-toolbar select, .pos-paynow-dialog input:not([type="checkbox"]), .pos-paynow-dialog select { box-sizing: border-box; min-width: 0; width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #a7bbb2; border-radius: 8px; background: white; color: #10372e; font: inherit; font-weight: 400; }
.pos-paynow-dialog input[readonly] { background: #eef3ef; }
.pos-paynow-stores { display: grid; gap: 12px; }
.pos-paynow-store { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: 24px; background: #fff; border: 1px solid #c4d3cb; padding: 20px; border-radius: 12px; }
.pos-paynow-store h2 { margin: 6px 0; font-size: 18px; overflow-wrap: anywhere; }
.pos-paynow-store p, .pos-paynow-store small, .pos-paynow-store li { color: #53685e; overflow-wrap: anywhere; }
.pos-paynow-store ul { padding-left: 18px; font-size: 12px; margin: 8px 0 0; }
.pos-paynow-type { font-size: 11px; font-weight: 700; color: #637b6d; text-transform: uppercase; }
.pos-paynow-status { display: inline-flex; border-radius: 99px; padding: 5px 10px; font-size: 12px; font-weight: 800; background: #edf0ed; color: #536159; }
.pos-paynow-status.ready { background: #dff2e6; color: #11643f; }
.pos-paynow-status.attention { background: #fff0cc; color: #815800; }
.pos-paynow-error { padding: 12px; background: #fff0ec; color: #a53121; border-radius: 8px; overflow-wrap: anywhere; }
.pos-paynow-error[hidden], .pos-paynow-dialog [hidden] { display: none !important; }
.pos-paynow-dialog { box-sizing: border-box; width: min(700px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); padding: 0; border: 1px solid #b8cbbf; border-radius: 16px; color: #10372e; background: #fcfdfa; }
.pos-paynow-dialog::backdrop { background: #061d17a6; }
.pos-paynow-dialog form { display: flex; flex-direction: column; max-height: calc(100dvh - 32px); }
.pos-paynow-dialog header { padding: 22px; border-bottom: 1px solid #d4dfd8; flex-shrink: 0; }
.pos-paynow-dialog h2 { margin: 0; font-size: 22px; overflow-wrap: anywhere; }
.pos-paynow-dialog-body { overflow-y: auto; padding: 22px; line-height: 1.5; }
.pos-paynow-dialog footer { display: flex; gap: 12px; justify-content: flex-end; padding: 16px 22px; border-top: 1px solid #d4dfd8; background: #fcfdfa; flex-shrink: 0; }
.pos-paynow-dialog button.pos-paynow-primary { background: #0d6c51; color: white; border-color: #0d6c51; }
.pos-paynow-store-identity { display: grid; gap: 4px; background: #eef4ef; border-radius: 10px; padding: 12px; margin-top: 0; }
.pos-paynow-store-identity span, .pos-paynow-help { color: #5b7063; font-size: 12px; }
.pos-paynow-setup-section { border: 1px solid #c4d3cb; border-radius: 12px; padding: 16px; margin-top: 18px; }
.pos-paynow-setup-section h3 { margin: 0 0 16px; font-size: 16px; }
.pos-paynow-checkbox { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0; line-height: 1.45; font-size: 14px; }
.pos-paynow-checkbox input { flex: 0 0 auto; width: 21px; height: 21px; margin: 1px 0 0; accent-color: #0d6c51; }
[data-pos-paynow-approval] { display: grid; gap: 16px; margin-top: 18px; }
.pos-paynow-requirements { font-size: 12px; background: #fff7e3; padding: 12px; margin-top: 14px; border-radius: 8px; }
.pos-paynow-requirements ul { margin-bottom: 0; padding-left: 18px; }
.pos-paynow-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pos-paynow-full { grid-column: 1/-1; }
.pos-paynow-dialog :focus-visible, #pos-paynow-workspace :focus-visible { outline: 3px solid #eba930; outline-offset: 3px; }
@media(max-width: 760px) { .pos-paynow-store { grid-template-columns: 1fr; gap: 14px; padding: 16px; } .pos-paynow-store > button { justify-self: start; } }
@media(max-width: 480px) { .pos-paynow-toolbar, .pos-paynow-form-grid { grid-template-columns: 1fr; } .pos-paynow-head { flex-wrap: wrap; } .pos-paynow-head h1 { font-size: 25px; } .pos-paynow-dialog header, .pos-paynow-dialog-body { padding: 16px; } .pos-paynow-dialog footer { flex-direction: column-reverse; padding: 12px 16px; } .pos-paynow-dialog footer button { width: 100%; } .pos-paynow-dialog h2 { font-size: 20px; } .pos-paynow-summary { gap: 7px; } .pos-paynow-summary span { padding: 10px; font-size: 12px; } }
