/**
 * PrestaHU
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Commercial License
 * you can't distribute, modify or sell this code
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file
 * If you need help please contact info@presta.hu
 *
 * @author    PrestaHU <info@presta.hu>
 * @copyright PrestaHU
 * @license   commercial
 */
/* pshu-gate: allow-file front-fixed-palette — neutral light skin of the customer pages, defined once as custom properties on the root class; the accent falls back to the theme colour */

.pshuorderchange{--pshuoc-bg:#fff;--pshuoc-text:#1f2937;--pshuoc-muted:#5b6472;--pshuoc-line:#d5dae1;--pshuoc-accent:var(--bs-primary,#1d4ed8);--pshuoc-alert-bg:#fef3f2;--pshuoc-alert-line:#fecdca;--pshuoc-ok-bg:#dcfce7;--pshuoc-bad-bg:#fee4e2;--pshuoc-accent-text:#fff;--pshuoc-danger:#b42318;--pshuoc-ok:#166534;--pshuoc-soft:#f3f5f8;--pshuoc-radius:10px;color:var(--pshuoc-text);box-sizing:border-box;max-width:100%}
.pshuorderchange *,.pshuorderchange *::before,.pshuorderchange *::after{box-sizing:border-box}
.pshuorderchange-card{background:var(--pshuoc-bg);border:1px solid var(--pshuoc-line);border-radius:var(--pshuoc-radius);padding:20px;margin:0 0 16px;max-width:100%}
.pshuorderchange-block{margin:16px 0}
.pshuorderchange-h{font-size:1.15rem;font-weight:600;margin:0 0 12px;padding:0}
.pshuorderchange-muted{display:block;color:var(--pshuoc-muted);font-size:.9rem}
.pshuorderchange-window{display:inline-block;background:var(--pshuoc-soft);border-radius:999px;padding:6px 14px;margin:0 0 12px;font-weight:600}
.pshuorderchange-window.is-closed{color:var(--pshuoc-muted)}
.pshuorderchange-window [data-pshuorderchange-sr]{position:static}
.pshuorderchange-alert,.pshuorderchange-note{border-radius:8px;padding:12px 14px;margin:0 0 16px}
.pshuorderchange-alert{background:var(--pshuoc-alert-bg);border:1px solid var(--pshuoc-alert-line);color:var(--pshuoc-danger)}
.pshuorderchange-note{background:var(--pshuoc-soft);border:1px solid var(--pshuoc-line)}
.pshuorderchange-money{font-weight:600;background:var(--pshuoc-soft);border-radius:8px;padding:12px 14px}
.pshuorderchange-rows,.pshuorderchange-lines{list-style:none;margin:0;padding:0}
.pshuorderchange-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding:12px 0;border-top:1px solid var(--pshuoc-line)}
.pshuorderchange-row:first-child{border-top:0}
.pshuorderchange-row__main{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 220px;overflow-wrap:anywhere}
.pshuorderchange-line{padding:14px 0;border-top:1px solid var(--pshuoc-line)}
.pshuorderchange-line:first-child{border-top:0}
.pshuorderchange-line__head{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;margin-bottom:10px;overflow-wrap:anywhere}
.pshuorderchange-line__controls{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}
.pshuorderchange-line.is-removed .pshuorderchange-line__head strong{text-decoration:line-through}
.pshuorderchange-form,.pshuorderchange-fieldset{margin:0;padding:0;border:0;min-width:0}
.pshuorderchange-fieldset{margin-bottom:18px}
.pshuorderchange-field{display:flex;flex-direction:column;gap:4px;margin:0 0 12px;min-width:0}
.pshuorderchange-field>span{font-weight:600;font-size:.92rem}
.pshuorderchange-field input,.pshuorderchange-field select,.pshuorderchange-field textarea{width:100%;min-height:44px;padding:8px 12px;border:1px solid var(--pshuoc-line);border-radius:8px;background:var(--pshuoc-bg);color:var(--pshuoc-text);font:inherit;max-width:100%}
.pshuorderchange-field textarea{min-height:96px;resize:vertical}
.pshuorderchange-field [aria-invalid=true]{border-color:var(--pshuoc-danger)}
.pshuorderchange-field-error{color:var(--pshuoc-danger);font-size:.88rem}
.pshuorderchange-line__controls .pshuorderchange-field{margin:0;flex:0 1 160px}
.pshuorderchange-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.pshuorderchange-field--wide{grid-column:1/-1}
.pshuorderchange-check,.pshuorderchange-option{display:flex;gap:10px;align-items:flex-start;min-height:44px;padding:8px 0;cursor:pointer}
.pshuorderchange-check input,.pshuorderchange-option input{width:22px;height:22px;margin:2px 0 0;flex:0 0 auto}
.pshuorderchange-option{border:1px solid var(--pshuoc-line);border-radius:8px;padding:10px 12px;margin:0 0 8px}
.pshuorderchange-saved,.pshuorderchange-new{margin:0 0 12px 0}
.pshuorderchange-saved[hidden],.pshuorderchange-new[hidden]{display:none}
.pshuorderchange-summary-list{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:8px 16px;margin:0 0 16px}
.pshuorderchange-summary-list dt{font-weight:600}
.pshuorderchange-summary-list dd{margin:0;overflow-wrap:anywhere}
.pshuorderchange-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.pshuorderchange-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:10px 20px;border:1px solid var(--pshuoc-accent);border-radius:8px;background:var(--pshuoc-accent);color:var(--pshuoc-accent-text);font:inherit;font-weight:600;text-decoration:none;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,opacity .15s ease}
.pshuorderchange-button:hover{opacity:.9;color:var(--pshuoc-accent-text);text-decoration:none}
.pshuorderchange-button--secondary{background:var(--pshuoc-bg);color:var(--pshuoc-accent)}
.pshuorderchange-button--secondary:hover{background:var(--pshuoc-soft);color:var(--pshuoc-accent);opacity:1}
.pshuorderchange-button[disabled],.pshuorderchange-button[aria-disabled=true]{opacity:.5;cursor:not-allowed;pointer-events:none}
.pshuorderchange-link{color:var(--pshuoc-accent);text-decoration:underline}
.pshuorderchange-badge{display:inline-block;padding:4px 10px;border-radius:999px;background:var(--pshuoc-soft);font-size:.85rem;font-weight:600;white-space:nowrap}
.pshuorderchange-badge--applied{background:var(--pshuoc-ok-bg);color:var(--pshuoc-ok)}
.pshuorderchange-badge--declined,.pshuorderchange-badge--failed{background:var(--pshuoc-bad-bg);color:var(--pshuoc-danger)}
.pshuorderchange-empty{color:var(--pshuoc-muted);margin:0}
.pshuorderchange-check-icon{width:28px;height:28px;vertical-align:middle;fill:none;stroke:var(--pshuoc-ok);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.pshuorderchange-check-icon path{stroke-dasharray:1;stroke-dashoffset:0;transition:stroke-dashoffset .4s ease}
.pshuorderchange a:focus-visible,.pshuorderchange button:focus-visible,.pshuorderchange input:focus-visible,.pshuorderchange select:focus-visible,.pshuorderchange textarea:focus-visible,.pshuorderchange-alert:focus-visible{outline:3px solid var(--pshuoc-accent);outline-offset:2px}
@media (max-width:575px){
.pshuorderchange-card{padding:16px}
.pshuorderchange-grid{grid-template-columns:minmax(0,1fr)}
.pshuorderchange-summary-list{grid-template-columns:minmax(0,1fr)}
.pshuorderchange-actions .pshuorderchange-button{flex:1 1 100%}
.pshuorderchange-line__controls .pshuorderchange-field{flex:1 1 100%}
}
@media (prefers-reduced-motion:reduce){.pshuorderchange *{transition:none!important;animation:none!important}}
