/* Quote and offer pages - M & P Cash For Junk Cars */
:root {
  --navy: #233d62; --navy-deep: #182c48; --coral: #fe6347; --cta: #d63a1c; --cta-dark: #b42f15;
  --ink: #1f2a3c; --muted: #58627a; --line: #d7dbe5; --soft: #f6f7fa; --blush: #fff1ed;
  --bad: #b3261e; --ok: #1d7a4f; --radius: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.mpt { margin: 0; font-family: 'Poppins', Arial, sans-serif; color: var(--ink); font-size: 16px; line-height: 1.5;
  background: linear-gradient(180deg, #ffe7e1 0, #fff6f3 260px, #fafbfd 520px); min-height: 100vh; display: flex; flex-direction: column; }
body.mpt-noscroll { overflow: hidden; }
a { color: var(--navy); }
button { font-family: inherit; }
.mpt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.mpt-top { background: rgba(255, 255, 255, .92); border-bottom: 1px solid #f1d9d2; }
.mpt-top-in { max-width: 1100px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mpt-logo img { display: block; height: 52px; width: auto; }
.mpt-call { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--cta);
  color: var(--cta-dark); font-weight: 700; text-decoration: none; white-space: nowrap; }
.mpt-call:hover, .mpt-call:focus { background: var(--cta); color: #fff; }
.mpt-call-ic { width: 14px; height: 14px; border-radius: 3px 3px 6px 6px; border: 2px solid currentColor; border-top-width: 4px; }
.mpt-call[hidden] { display: none; }
.mpt-bar { height: 5px; background: #f3dcd5; }
.mpt-bar span { display: block; height: 100%; width: 4%; background: linear-gradient(90deg, var(--coral), var(--cta)); border-radius: 0 3px 3px 0; transition: width .3s ease; }

/* layout */
.mpt-main { flex: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: 28px 16px 56px; }
.mpt-card { max-width: 640px; margin: 0 auto; background: #fff; border-radius: 18px; box-shadow: 0 14px 44px rgba(35, 61, 98, .12); padding: 30px 36px 34px; }
.mpt-stage.mpt-in-fwd > * { animation: mpt-from-right .22s ease-out; }
.mpt-stage.mpt-in-back > * { animation: mpt-from-left .22s ease-out; }
@keyframes mpt-from-right { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes mpt-from-left { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

.mpt-back { background: none; border: 0; padding: 8px 0; min-height: 44px; color: var(--navy); font-weight: 600; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.mpt-back::before { content: ''; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.mpt-back:hover { text-decoration: underline; }
.mpt-car { margin: 2px 0 6px; font-size: 14px; font-weight: 600; color: var(--muted); text-transform: none; letter-spacing: .2px; }
.mpt-h { font-size: 26px; line-height: 1.25; font-weight: 700; color: var(--navy); margin: 0 0 8px; outline: none; }
.mpt-help { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.mpt-note { margin: 14px 0 0; padding: 10px 14px; background: var(--soft); border-left: 4px solid var(--navy); border-radius: 6px; font-size: 15px; }
.mpt-flag { margin: 0 0 16px; padding: 12px 14px; background: #fff4e5; border: 1px solid #f2c27d; border-radius: 10px; font-size: 15px; }
.mpt-err { color: var(--bad); font-weight: 600; margin: 0; font-size: 15px; }
.mpt-err:not(:empty) { margin: 14px 0 0; }

/* answer options */
.mpt-opts { display: grid; gap: 10px; margin-top: 8px; }
.mpt-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 58px; padding: 14px 16px; text-align: left;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); font-size: 16px; font-weight: 500; color: var(--ink); cursor: pointer;
  transition: border-color .15s, background .15s; }
.mpt-opt i { flex: 0 0 22px; height: 22px; border-radius: 50%; border: 2px solid #b5bccb; position: relative; }
.mpt-opt:hover { border-color: var(--navy); }
.mpt-opt:focus-visible, .mpt-go:focus-visible, .mpt-slot:focus-visible, .mpt-day:focus-visible, .mpt-linkbtn:focus-visible, .mpt-back:focus-visible, .mpt-x:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.mpt-opt.is-on { border-color: var(--cta); background: var(--blush); font-weight: 600; }
.mpt-opt.is-on i { border-color: var(--cta); background: var(--cta); }
.mpt-opt.is-on i::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mpt-opt[aria-disabled="true"] { opacity: .5; cursor: not-allowed; background: var(--soft); border-style: dashed; }
.mpt-tapped .mpt-opt.is-on { animation: mpt-pop .26s ease-out; }
@keyframes mpt-pop { 50% { transform: scale(1.015); } }

.mpt-areas { border: 0; margin: 18px 0 0; padding: 0; }
.mpt-areas legend { font-weight: 700; color: var(--navy); margin-bottom: 10px; font-size: 16px; }
.mpt-areas legend span { font-weight: 500; color: var(--muted); font-size: 14px; }
.mpt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mpt-corner { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 15px; font-weight: 500; }
.mpt-corner input { width: 20px; height: 20px; accent-color: var(--cta); margin: 0; flex: 0 0 auto; }
.mpt-corner:has(input:checked) { border-color: var(--cta); background: var(--blush); }

/* buttons */
.mpt-go { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; margin-top: 22px; padding: 12px 18px; border: 0; border-radius: var(--radius);
  background: var(--cta); color: #fff; font-size: 18px; font-weight: 700; cursor: pointer; text-decoration: none; transition: background .15s; }
.mpt-go:hover { background: var(--cta-dark); color: #fff; }
.mpt-go[disabled] { opacity: .85; cursor: progress; }
.mpt-go[hidden] { display: none; }
.mpt-go--line { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.mpt-go--line:hover { background: var(--navy); color: #fff; }
.mpt-go--big { font-size: 19px; min-height: 58px; }
.mpt-go + .mpt-go { margin-top: 12px; }
.mpt-linkbtn { background: none; border: 0; padding: 10px 0; min-height: 44px; color: var(--navy); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mpt-dot { width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: mpt-turn .8s linear infinite; }

/* fields */
.mpt-f { margin-bottom: 14px; position: relative; }
.mpt-f label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 5px; color: var(--ink); }
.mpt-in { width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: 500 16px 'Poppins', Arial, sans-serif; color: var(--ink); }
.mpt-in:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(35, 61, 98, .18); }
.mpt-in:disabled { background: var(--soft); color: var(--muted); }
.mpt-short { max-width: 240px; }
.mpt-vin { text-transform: uppercase; letter-spacing: 1px; }
.mpt-f.is-bad .mpt-in { border-color: var(--bad); }
.mpt-ferr { margin: 4px 0 0; color: var(--bad); font-size: 14px; font-weight: 600; }
.mpt-ferr:empty { display: none; }
.mpt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.mpt-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; cursor: pointer; }
.mpt-check input { width: 20px; height: 20px; accent-color: var(--cta); }
.mpt-found { margin: 8px 0 0; padding: 10px 14px; background: #e9f6ef; color: var(--ok); border-radius: 10px; font-weight: 500; }
.mpt-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--soft); border-radius: 12px; margin: 14px 0 18px; }
.mpt-tabs button { min-height: 46px; border: 0; border-radius: 9px; background: transparent; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; }
.mpt-tabs button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(31, 42, 60, .12); }

/* picklists */
.mp-pick-box { position: relative; }
.mp-pick-box .mpt-in { padding-right: 44px; }
.mp-pick.is-off .mpt-in { background: var(--soft); color: #8a91a3; }
.mp-pick-arrow { position: absolute; right: 0; top: 0; width: 44px; height: 50px; border: 0; background: transparent; cursor: pointer; }
.mp-pick-arrow::after { content: ''; position: absolute; left: 16px; top: 19px; width: 9px; height: 9px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); }
.mp-pick-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); max-height: 260px; overflow-y: auto; margin: 0; padding: 4px; list-style: none; background: #fff;
  border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 28px rgba(31, 42, 60, .18); z-index: 30; }
.mp-pick-list li { padding: 10px 12px; border-radius: 7px; font-size: 15px; cursor: pointer; }
.mp-pick-list li:hover, .mp-pick-list li.is-cursor { background: var(--blush); }
.mp-pick-list li[aria-selected="true"] { font-weight: 700; color: var(--navy); }
.mp-pick-list .mpt-none, .mp-pick-list .mp-pick-none { color: var(--muted); cursor: default; background: none; }

/* loading */
.mpt-wait { text-align: center; }
.mpt-spin { width: 46px; height: 46px; margin: 6px auto 16px; border-radius: 50%; border: 4px solid #f3dcd5; border-top-color: var(--cta); animation: mpt-turn .9s linear infinite; }
@keyframes mpt-turn { to { transform: rotate(360deg); } }
.mpt-ticks { list-style: none; padding: 0; margin: 18px auto 0; max-width: 340px; text-align: left; }
.mpt-ticks li { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--muted); }
.mpt-ticks li::before { content: ''; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c8cdd9; flex: 0 0 auto; }
.mpt-ticks li.is-done { color: var(--ink); font-weight: 600; }
.mpt-ticks li.is-done::before { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='%23fff' stroke-width='2.4' fill='none'/%3E%3C/svg%3E") center/16px no-repeat; }
.mpt-slow { margin-top: 14px; color: var(--muted); }

/* offer page */
.mpt-deal { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.mpt-deal-main { background: #fff; border-radius: 18px; box-shadow: 0 14px 44px rgba(35, 61, 98, .12); padding: 26px 36px 34px; }
.mpt-amt { color: var(--cta); white-space: nowrap; }
.mpt-sub { margin: 0 0 10px; color: var(--muted); }
.mpt-speed { margin: 0 0 6px; color: var(--ok); font-weight: 600; font-size: 15px; }
.mpt-speed[hidden] { display: none; }
.mpt-sec { border-top: 1px solid #eceef3; padding-top: 20px; margin-top: 20px; }
.mpt-sec h2 { font-size: 19px; color: var(--navy); margin: 0 0 14px; font-weight: 700; }
.mpt-opt-tag { font-size: 13px; font-weight: 600; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 2px 10px; margin-left: 6px; vertical-align: middle; }
.mpt-legal { font-size: 14px; color: var(--muted); margin: 6px 0 0; line-height: 1.55; }
.mpt-fine { font-size: 14px; color: var(--muted); margin: 10px 0 0; text-align: center; }
.mpt-fine .mpt-linkbtn { font-size: 14px; padding: 0; min-height: 0; }
.mpt-who { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--soft); border-radius: 12px; }
.mpt-who p { margin: 0; font-size: 15px; word-break: break-word; }
.mpt-tag { font-size: 13px; font-weight: 600; color: var(--ok); white-space: nowrap; }
.mpt-finish { border-top: 1px solid #eceef3; margin-top: 22px; padding-top: 4px; }
.mpt-rail { position: sticky; top: 20px; background: var(--navy); color: #fff; border-radius: 18px; padding: 24px 24px 22px; box-shadow: 0 14px 44px rgba(35, 61, 98, .2); }
.mpt-rail-k { margin: 0; font-size: 14px; font-weight: 600; opacity: .85; text-transform: uppercase; letter-spacing: .8px; }
.mpt-rail-amt { margin: 2px 0 0; font-size: 40px; line-height: 1.1; font-weight: 700; color: #fff; }
.mpt-rail-car { margin: 4px 0 0; font-weight: 500; opacity: .9; }
.mpt-speed--rail { color: #9fe3bf; margin-top: 10px; }
.mpt-rail h2 { font-size: 17px; margin: 22px 0 10px; color: #fff; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 18px; }
.mpt-how { margin: 0; padding: 0; list-style: none; counter-reset: how; }
.mpt-how li { counter-increment: how; position: relative; padding: 0 0 14px 40px; font-size: 15px; line-height: 1.45; }
.mpt-how li::before { content: counter(how); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--coral); color: var(--navy-deep); font-weight: 700; text-align: center; line-height: 28px; font-size: 14px; }

/* pickup */
.mpt-slot { display: block; width: 100%; min-height: 50px; margin: 0 0 8px; padding: 10px 14px; text-align: left; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }
.mpt-slot.is-on { border-color: var(--cta); background: var(--blush); }
.mpt-slot--lead { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; }
.mpt-slot-k { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; }
.mpt-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 4px 0 12px; }
.mpt-day { display: flex; flex-direction: column; align-items: center; min-height: 64px; padding: 6px 2px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-size: 12px; color: var(--muted); }
.mpt-day strong { font-size: 18px; color: var(--ink); line-height: 1.2; }
.mpt-day.is-wkend { background: #f7f7f9; }
.mpt-day.is-on { border-color: var(--cta); background: var(--blush); }
.mpt-wins { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mpt-wins .mpt-slot { margin: 0; text-align: center; }
.mpt-picked { margin: 12px 0 0; padding: 10px 14px; background: #e9f6ef; border-radius: 10px; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.mpt-picked .mpt-linkbtn { padding: 0; min-height: 32px; }

/* end screens */
.mpt-end { text-align: center; }
.mpt-end p { color: var(--muted); }
.mpt-okmark { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='%23fff' stroke-width='2.2' fill='none'/%3E%3C/svg%3E") center/38px no-repeat; }
.mpt-recap { text-align: left; margin: 20px 0 0; padding: 4px 18px; background: var(--soft); border-radius: 12px; }
.mpt-recap div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e5e8ef; }
.mpt-recap div:last-child { border-bottom: 0; }
.mpt-recap dt { color: var(--muted); font-size: 14px; }
.mpt-recap dd { margin: 0; font-weight: 600; text-align: right; }

/* dialogs */
.mpt-scrim { position: fixed; inset: 0; background: rgba(18, 28, 46, .55); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 100; animation: mpt-fade .18s ease-out; }
@keyframes mpt-fade { from { opacity: 0; } }
.mpt-sheet { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 18px; padding: 26px 26px 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.mpt-sheet h2 { margin: 0 40px 12px 0; font-size: 21px; color: var(--navy); }
.mpt-sheet h3 { font-size: 15px; margin: 14px 0 4px; color: var(--navy); }
.mpt-sheet ul { margin: 0; padding-left: 20px; }
.mpt-sheet-body p { margin: 0 0 10px; }
.mpt-sheet-acts .mpt-go { margin-top: 16px; }
.mpt-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--soft); cursor: pointer; }
.mpt-x::before, .mpt-x::after { content: ''; position: absolute; left: 14px; top: 21px; width: 16px; height: 2px; background: var(--ink); transform: rotate(45deg); }
.mpt-x::after { transform: rotate(-45deg); }
.mpt-example code { font-size: 16px; letter-spacing: 1px; background: var(--soft); padding: 2px 6px; border-radius: 4px; }
.mpt-newamt { font-size: 40px; font-weight: 700; color: var(--cta); margin: 4px 0 0 !important; line-height: 1.1; }
.mpt-oldamt { font-size: 14px; color: #6b7387; }

/* footer */
.mpt-foot { background: #262a5c; color: #fff; }
.mpt-foot-in { max-width: 1100px; margin: 0 auto; padding: 20px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.mpt-foot p { margin: 0; }
.mpt-foot a { color: #fff; }

@media (max-width: 991px) {
  .mpt-deal { grid-template-columns: 1fr; }
  .mpt-rail { position: static; }
}
@media (max-width: 767px) {
  .mpt-main { padding: 12px 16px 40px; }
  .mpt-logo img { height: 42px; }
  .mpt-call { padding: 8px 12px; font-size: 15px; }
  .mpt-card, .mpt-deal-main { background: transparent; box-shadow: none; padding: 0; border-radius: 0; }
  .mpt-h { font-size: 23px; }
  .mpt-row { grid-template-columns: 1fr; }
  .mpt-days { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .mpt-day { flex: 0 0 64px; scroll-snap-align: start; }
  .mpt-scrim { align-items: flex-end; padding: 0; }
  .mpt-sheet { border-radius: 18px 18px 0 0; max-width: none; max-height: 88vh; }
  .mpt-rail-amt { font-size: 34px; }
  .mpt-foot-in { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
