.wdm-rental-amendments form{display:grid;gap:14px;margin:16px 0}
.wdm-rental-amendments label{display:grid;gap:6px;min-width:0}
.wdm-rental-amendments input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.wdm-rental-amendments select,.wdm-rental-amendments textarea{box-sizing:border-box;width:100%;max-width:100%;padding:9px;border:1px solid #c8cbd2;border-radius:6px;background:#fff;color:#20232a}
.wdm-rental-amendments label:has(input[type=checkbox]){display:block;line-height:1.6}
.wdm-rental-amendments fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;border:1px solid #ddd;border-radius:8px}
.wdm-rental-amendments button{justify-self:start;max-width:100%;white-space:normal}
.wdm-rental-amendments article{overflow-wrap:anywhere}
@media(max-width:650px){.wdm-rental-amendments fieldset{grid-template-columns:1fr}}
.wdm-rental-amendments h4{margin:8px 0 0;font-size:15px}
.wdm-amend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.wdm-rental-amendments .wdm-amend-check{display:block;align-self:end;line-height:1.5}
.wdm-amend-quote{padding:12px 14px;border-radius:8px;background:#f2f7ff;border:1px solid #c9dcf7}
.wdm-amend-quote p{margin:4px 0}
.wdm-amend-alert{padding:12px 14px;border-radius:8px;background:#fff7e6;border:1px solid #f0c36d}
.wdm-amend-alert ul{margin:6px 0 0 18px}
.wdm-amend-muted{color:#5f6673;font-size:13px}
.wdm-amend-sign{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.wdm-amend-sign form{margin:0}
.wdm-rental-amendments details{border:1px solid #ddd;border-radius:8px;padding:10px 14px}
.wdm-rental-amendments summary{cursor:pointer;font-weight:600}
@media(max-width:650px){.wdm-amend-grid{grid-template-columns:1fr}}
.wdm-amend-item{padding:14px 16px;border:1px solid #e3e5ea;border-radius:12px;margin:0 0 12px;background:#fff}
.wdm-amend-item.is-pending,.wdm-amend-item.is-signed{border-color:#f0c36d;background:#fffaf0}
.wdm-amend-item h4{margin:0 0 6px}
.wdm-amend-history{margin-top:16px}
.wdm-amend-history .wdm-amend-item{opacity:.9}
.wdm-amend-form{gap:16px}
.wdm-amend-now{margin:0;padding:10px 12px;border-radius:10px;background:#f6f7f9;color:#3d434e;font-size:14px}
.wdm-amend-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.wdm-rental-amendments .wdm-amend-mode{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border:1.5px solid #dfe2e8;border-radius:12px;background:#fff;cursor:pointer;line-height:1.35}
.wdm-amend-mode input{margin-top:3px;accent-color:#e30613}
.wdm-amend-mode strong{display:block;font-size:15px;color:#17171b}
.wdm-amend-mode small{display:block;margin-top:3px;color:#5f6673;font-size:12.5px}
.wdm-rental-amendments .wdm-amend-mode:has(input:checked){border-color:#e30613;background:#fff5f5}
.wdm-amend-when{display:grid;grid-template-columns:minmax(0,260px) 1fr;gap:12px;align-items:end}
.wdm-amend-chips{display:flex;flex-wrap:wrap;gap:8px}
.wdm-rental-amendments .wdm-amend-chip{padding:8px 12px;border:1px solid #d5d9e0;border-radius:99px;background:#fff;font-size:13px;font-weight:600;cursor:pointer}
.wdm-rental-amendments .wdm-amend-chip.is-active,.wdm-rental-amendments .wdm-amend-chip:hover{border-color:#e30613;color:#b8000a;background:#fff5f5}
.wdm-amend-vehicle{display:grid;gap:10px}
.wdm-amend-label{margin:0;font-weight:600;font-size:14px}
.wdm-amend-cars{display:grid;gap:8px;max-height:320px;overflow:auto;padding:2px}
.wdm-rental-amendments .wdm-amend-car{display:flex;align-items:center;gap:12px;padding:11px 14px;border:1.5px solid #e3e5ea;border-radius:12px;background:#fff;cursor:pointer}
.wdm-amend-car input{accent-color:#e30613}
.wdm-rental-amendments .wdm-amend-car:has(input:checked){border-color:#e30613;background:#fff5f5}
.wdm-amend-car-name{flex:1;min-width:0}
.wdm-amend-car-name strong{display:block;font-size:14.5px}
.wdm-amend-car-name small{color:#5f6673;font-size:12.5px}
.wdm-amend-tag{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:99px;background:#e8f5ec;color:#1d6b34;font-size:11px;font-weight:700}
.wdm-amend-car-price{font-style:normal;font-weight:700;white-space:nowrap;color:#17171b}
.wdm-amend-car-price.is-free{color:#1d6b34}
.wdm-amend-price{padding:14px 16px;border-radius:12px;background:#f4f7fc;border:1px solid #d9e3f3}
.wdm-amend-row{display:flex;justify-content:space-between;gap:12px;padding:4px 0;font-size:14px}
.wdm-amend-row span{color:#3d434e}
.wdm-amend-row.is-total{margin-top:6px;padding-top:10px;border-top:1px solid #cfd9ea;font-size:16px}
.wdm-amend-form.is-loading .wdm-amend-live,.wdm-amend-form.is-loading [data-amend-cars]{opacity:.55;transition:opacity .15s}
.wdm-amend-total{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.wdm-amend-total input{max-width:200px}
.wdm-amend-foot{display:grid;gap:12px;padding-top:12px;border-top:1px solid #eceef2}
.wdm-amend-foot label:first-child{max-width:260px}
[data-amend-form] [hidden]{display:none!important}
@media(max-width:700px){.wdm-amend-modes,.wdm-amend-when{grid-template-columns:1fr}}
.wdm-rental-amendments input[type=radio]{flex:none;width:18px;height:18px;margin:2px 0 0}
.wdm-amend-row strong{white-space:nowrap;text-align:right}.wdm-amend-row span{min-width:0}
.wdm-amend-item{padding:16px 18px}
.wdm-amend-item-head{display:flex;justify-content:space-between;gap:10px;align-items:center}
.wdm-amend-item-head h4{margin:0}
.wdm-amend-state{padding:3px 10px;border-radius:99px;background:#f1f2f4;font-size:12px;font-weight:700;white-space:nowrap}
.wdm-amend-item.is-pending .wdm-amend-state{background:#fff4dc;color:#8a5a00}.wdm-amend-item.is-signed .wdm-amend-state{background:#e6f0ff;color:#1d4fb8}.wdm-amend-item.is-applied .wdm-amend-state{background:#e8f5ec;color:#1d6b34}
.wdm-amend-what{margin:8px 0;color:#3d434e}
.wdm-amend-steps{display:flex;gap:6px;margin:12px 0;padding:0;list-style:none;counter-reset:s}
.wdm-amend-steps li{flex:1;min-width:0;padding:8px 6px 0;border-top:4px solid #e3e5ea;color:#8a8f99;font-size:12.5px;font-weight:600;counter-increment:s}
.wdm-amend-steps li::before{content:counter(s) ". "}
.wdm-amend-steps li.is-done{border-color:#1d6b34;color:#1d6b34}.wdm-amend-steps li.is-done::before{content:"✓ "}
.wdm-amend-steps li.is-current{border-color:#e30613;color:#17171b}
.wdm-amend-next{display:grid;gap:10px;margin-top:10px}
.wdm-amend-waiting{margin:0;padding:10px 12px;border-radius:10px;background:#fff8e6;color:#7a5200;font-weight:600}
.wdm-amend-waiting::before{content:"";display:inline-block;width:9px;height:9px;margin-right:8px;border-radius:50%;background:#e0a100;animation:wdm-pulse 1.4s infinite}
.wdm-amend-waiting.is-signed{background:#e8f5ec;color:#1d6b34}.wdm-amend-waiting.is-signed::before{display:none}
@keyframes wdm-pulse{50%{opacity:.25}}
.wdm-amend-ways{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.wdm-amend-way{display:grid;gap:8px;align-content:start;padding:12px;border:1px solid #e3e5ea;border-radius:12px;background:#fff}
.wdm-amend-way strong{font-size:14px}.wdm-amend-way small{color:#5f6673;font-size:12.5px}
.wdm-amend-way form{margin:0;gap:8px}
.wdm-amend-ok{margin:8px 0;color:#1d6b34;font-weight:700}
.wdm-rental-amendments .wdm-amend-cancel{margin-top:10px;color:#b8000a}
@media(max-width:760px){.wdm-amend-ways{grid-template-columns:1fr}.wdm-amend-steps{flex-wrap:wrap}}
.wdm-amend-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;border-radius:14px;border:1.5px solid #f0c36d;background:#fffaf0}
.wdm-amend-banner.is-signed{border-color:#9db8f0;background:#f3f7ff}
.wdm-amend-banner strong{display:block;font-size:15px}.wdm-amend-banner span{display:block;color:#5f6673;font-size:13px}
.wdm-booking-action-grid .wdm-amend-banner{grid-column:1/-1}
.wdm-amend-done{margin:10px 0 0;padding:10px 12px;border-radius:10px;background:#e8f5ec;color:#1d6b34;font-weight:700}
