.pay4all-for-mypos-wizard { max-width: 880px; }
.pay4all-for-mypos-wizard-title { margin-bottom: 12px; }
.pay4all-for-mypos-wizard-steps { display: flex; gap: 8px; margin: 18px 0 28px; padding: 0; list-style: none; align-items: stretch; }
.pay4all-for-mypos-wizard-steps li { flex: 1; display: flex; }
/* height: 100% + box-sizing on the anchor makes every tile stretch to the
   tallest one — so 1-line and 2-line labels align to identical outer sizes. */
.pay4all-for-mypos-wizard-steps a { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: #fff; border: 1px solid #dcdcde; border-radius: 6px; text-decoration: none; color: #1d2327; font-weight: 500; height: 100%; width: 100%; box-sizing: border-box; min-height: 62px; }
.pay4all-for-mypos-wizard-steps .pay4all-for-mypos-step-label { line-height: 1.25; }
.pay4all-for-mypos-wizard-steps li.is-active a { border-color: #2271b1; background: #f0f6fc; box-shadow: inset 0 0 0 1px #2271b1; }
.pay4all-for-mypos-wizard-steps li.is-done a { color: #2271b1; }
/* flex: none prevents the flex parent from shrinking or stretching the pill —
   the width/height stay exactly 28×28 even when the label wraps to two lines. */
.pay4all-for-mypos-step-num { display: inline-flex; flex: none; width: 28px; height: 28px; min-width: 28px; min-height: 28px; border-radius: 50%; background: #f0f0f1; color: #1d2327; align-items: center; justify-content: center; font-weight: 700; align-self: center; line-height: 1; }
.pay4all-for-mypos-wizard-steps li.is-active .pay4all-for-mypos-step-num { background: #2271b1; color: #fff; }
.pay4all-for-mypos-wizard-steps li.is-done .pay4all-for-mypos-step-num { background: #00a32a; color: #fff; }
.pay4all-for-mypos-wizard-steps li.is-final .pay4all-for-mypos-step-num { background: #e9eef4; color: #2271b1; }
.pay4all-for-mypos-wizard-steps li.is-final.is-active .pay4all-for-mypos-step-num { background: #2271b1; color: #fff; }
.pay4all-for-mypos-wizard-steps li.is-final.is-active a { border-color: #2271b1; background: #f0f6fc; box-shadow: inset 0 0 0 1px #2271b1; }
.pay4all-for-mypos-wizard-steps li.is-final .pay4all-for-mypos-step-num svg { display: block; }
.pay4all-for-mypos-wizard-card { background: #fff; border: 1px solid #dcdcde; border-radius: 8px; padding: 24px 28px; margin-bottom: 18px; box-shadow: 0 1px 2px rgba(0,0,0,0.03); }
.pay4all-for-mypos-wizard-card h2 { margin: 0 0 14px; font-size: 16px; color: var(--wp-admin-theme-color, #2271b1); border-bottom: 1px solid #f0f0f1; padding-bottom: 10px; }
.pay4all-for-mypos-card-intro { margin: -6px 0 14px; color: #50575e; }
.pay4all-for-mypos-field-row { margin-bottom: 16px; }
.pay4all-for-mypos-field-row > label:not(.pay4all-for-mypos-checkbox) { display: block; font-weight: 600; margin-bottom: 6px; color: #1d2327; }
.pay4all-for-mypos-field-row input[type=text], .pay4all-for-mypos-field-row input[type=password], .pay4all-for-mypos-field-row input[type=number], .pay4all-for-mypos-field-row input[type=email], .pay4all-for-mypos-field-row input[type=file], .pay4all-for-mypos-field-row select { width: 100%; max-width: 480px; }
.pay4all-for-mypos-field-row .description { margin: 6px 0 0; color: #646970; font-size: 13px; }
.pay4all-for-mypos-field-row.pay4all-for-mypos-inline { display: flex; gap: 16px; }
.pay4all-for-mypos-field-row.pay4all-for-mypos-inline > div { flex: 1; }
.pay4all-for-mypos-checkbox { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.pay4all-for-mypos-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.pay4all-for-mypos-status { padding: 10px 14px; border-radius: 6px; margin: 0 0 14px; }
.pay4all-for-mypos-status-ok { background: #edfaef; border: 1px solid #b8e2bf; color: #16591f; }
.pay4all-for-mypos-status-warn { background: #fcf9e8; border: 1px solid #f0e3a8; color: #6b5b00; }
.pay4all-for-mypos-status-error { background: #fbeaea; border: 1px solid #f1bcbc; color: #8a1f11; }
/* Test-connection line - plain background, single row */
.pay4all-for-mypos-test-line { margin: 0 0 14px; padding: 0; color: #1d2327; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pay4all-for-mypos-test-line-empty { color: #50575e; }
.pay4all-for-mypos-test-icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.pay4all-for-mypos-test-icon-ok { background: #d7f0db; color: #1c6b27; }
.pay4all-for-mypos-test-icon-ko { background: #f5d2cf; color: #8a1f11; }
.pay4all-for-mypos-test-time { color: #646970; font-size: 12px; }
.pay4all-for-mypos-summary { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 0; }
.pay4all-for-mypos-summary dt { font-weight: 600; color: #50575e; }
.pay4all-for-mypos-summary dd { margin: 0; }
.pay4all-for-mypos-pill { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.pay4all-for-mypos-pill-ok { background: #d7f0db; color: #1c6b27; }
.pay4all-for-mypos-pill-error { background: #f5d2cf; color: #8a1f11; }
.button.button-hero { padding: 10px 22px !important; height: auto !important; font-size: 15px !important; }
/* Modern file upload */
.pay4all-for-mypos-upload-zone { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pay4all-for-mypos-upload-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.pay4all-for-mypos-upload-button { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; background: linear-gradient(180deg, #ffffff, #f4f6f8); border: 1.5px dashed #c3c4c7; border-radius: 8px; cursor: pointer; color: #1d2327; font-weight: 600; transition: all .18s ease; line-height: 1; }
.pay4all-for-mypos-upload-button:hover, .pay4all-for-mypos-upload-input:focus + .pay4all-for-mypos-upload-button { background: #f0f6fc; border-color: #2271b1; border-style: solid; color: #2271b1; transform: translateY(-1px); box-shadow: 0 4px 10px -4px rgba(34, 113, 177, .35); }
.pay4all-for-mypos-upload-button svg { transition: transform .18s ease; }
.pay4all-for-mypos-upload-button:hover svg { transform: translateY(-2px); }
.pay4all-for-mypos-upload-filename { color: #646970; font-style: italic; font-size: 13px; }
.pay4all-for-mypos-upload-filename.has-file { color: #1d2327; font-style: normal; font-weight: 500; }
.pay4all-for-mypos-upload-filename.has-file::before { content: "✓ "; color: #00a32a; font-weight: 700; }
/* Intro step */
.pay4all-for-mypos-checklist { counter-reset: pay4all-for-mypos-step; list-style: none; margin: 0; padding: 0; }
.pay4all-for-mypos-checklist > li { position: relative; padding: 14px 16px 14px 60px; background: #fafbfc; border: 1px solid #eef0f2; border-radius: 8px; margin-bottom: 12px; counter-increment: pay4all-for-mypos-step; }
.pay4all-for-mypos-checklist > li::before { content: counter(pay4all-for-mypos-step); position: absolute; left: 14px; top: 14px; width: 32px; height: 32px; background: #2271b1; color: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.pay4all-for-mypos-checklist > li strong { display: block; font-size: 14px; color: #1d2327; margin-bottom: 4px; }
.pay4all-for-mypos-checklist > li .description { margin: 0; color: #50575e; font-size: 13px; }
.pay4all-for-mypos-needs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
.pay4all-for-mypos-needs > li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; background: #fafbfc; border: 1px solid #eef0f2; border-radius: 8px; }
.pay4all-for-mypos-need-icon { flex-shrink: 0; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: #eaf3fb; color: #2271b1; border-radius: 8px; }
.pay4all-for-mypos-need-icon svg { display: block; }
.pay4all-for-mypos-needs > li strong { display: block; color: #1d2327; margin-bottom: 2px; }
.pay4all-for-mypos-needs > li .description { margin: 0; color: #50575e; font-size: 13px; }
/* Callouts inside checklist */
.pay4all-for-mypos-callout { margin: 8px 0 0; padding: 10px 12px; background: #fff8e1; border: 1px solid #f5e4a5; border-radius: 6px; color: #6b5800; font-size: 13px; line-height: 1.5; }
.pay4all-for-mypos-callout.pay4all-for-mypos-callout-optional { background: #eaf3fb; border-color: #c2dcef; color: #1d4d7a; }
.pay4all-for-mypos-callout-label { display: inline-block; padding: 2px 8px; border-radius: 10px; background: rgba(0, 0, 0, 0.08); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; margin-right: 6px; vertical-align: 1px; }
.pay4all-for-mypos-callout-optional .pay4all-for-mypos-callout-label { background: rgba(34, 113, 177, 0.18); }
/* Tutorial link */
.pay4all-for-mypos-tutorial-link { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 18px; background: linear-gradient(135deg, #ebf4fd 0%, #f4f9fe 100%); border: 1px solid #c2dcef; border-radius: 8px; text-decoration: none; color: #1d4d7a; transition: all .18s ease; }
.pay4all-for-mypos-tutorial-link:hover { border-color: #2271b1; background: linear-gradient(135deg, #d9eafa 0%, #ebf4fd 100%); transform: translateY(-1px); box-shadow: 0 6px 14px -6px rgba(34, 113, 177, .35); color: #1d4d7a; }
.pay4all-for-mypos-tutorial-icon { flex-shrink: 0; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; background: #2271b1; color: #fff; border-radius: 8px; }
.pay4all-for-mypos-tutorial-text { flex: 1; display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.pay4all-for-mypos-tutorial-text strong { color: #1d2327; font-size: 14px; }
.pay4all-for-mypos-tutorial-text span { color: #50575e; font-size: 13px; }
.pay4all-for-mypos-tutorial-arrow { font-size: 22px; line-height: 1; color: #2271b1; transition: transform .18s ease; }
.pay4all-for-mypos-tutorial-link:hover .pay4all-for-mypos-tutorial-arrow { transform: translateX(4px); }
/* Accordion (advanced settings) */
.pay4all-for-mypos-accordion { background: #fafbfc; border: 1px solid #eef0f2; border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.pay4all-for-mypos-accordion[open] { border-color: #c2dcef; background: #fff; }
.pay4all-for-mypos-accordion > summary { list-style: none; cursor: pointer; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-weight: 600; color: #1d2327; user-select: none; }
.pay4all-for-mypos-accordion > summary::-webkit-details-marker, .pay4all-for-mypos-accordion > summary::marker { display: none; content: ''; }
.pay4all-for-mypos-accordion > summary:hover { background: rgba(34, 113, 177, .05); }
.pay4all-for-mypos-accordion-title { flex: 1; font-size: 14px; }
.pay4all-for-mypos-accordion-chevron { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(34, 113, 177, .12); color: #2271b1; transition: transform .2s ease; }
.pay4all-for-mypos-accordion[open] .pay4all-for-mypos-accordion-chevron { transform: rotate(180deg); }
.pay4all-for-mypos-accordion-body { padding: 4px 18px 18px; border-top: 1px solid #eef0f2; }
.pay4all-for-mypos-advanced .pay4all-for-mypos-card-intro { margin: -6px 0 14px; }

/* Overlay spinner (was inline at ConfigPage step 5). */
@keyframes pay4all-for-mypos-spin { to { transform: rotate(360deg); } }
