/* Subscription checkout — dashboard design, scoped under .crdts-dash.
   Page-private classes; the shared shell stays in dashboard.scoped.css. */

.crdts-dash h1,.crdts-dash h2,.crdts-dash h3,.crdts-dash h4,.crdts-dash p,.crdts-dash span,.crdts-dash a,.crdts-dash b,.crdts-dash strong,.crdts-dash small,.crdts-dash em,.crdts-dash i,.crdts-dash li,.crdts-dash ul,.crdts-dash ol,.crdts-dash button,.crdts-dash label,.crdts-dash input,.crdts-dash textarea,.crdts-dash select,.crdts-dash summary,.crdts-dash option:not(.material-symbols-outlined):not([class*="material-symbols"]):not(.material-symbols-rounded):not([class*="material-symbols-rounded"]){font-family:inherit}
.crdts-dash .material-symbols-outlined,.crdts-dash [class*="material-symbols"]{
  font-family:'Material Symbols Outlined'!important;font-weight:400;font-style:normal;
  line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;
  white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:'liga';
  -webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased}

/* the page is a single narrow column, like the dialog flow it replaced */

.crdts-dash .page .sq-wrap{max-width:780px;margin-inline:auto;display:grid;gap:20px}

.crdts-dash .sq-top{display:flex;align-items:center;gap:12px}

/* the three stand-alone screens: loading, sent, plan missing */

.crdts-dash .pf-body.sq-loading{display:flex;flex-direction:column;align-items:center;gap:13px;padding:46px 20px}
.crdts-dash .sq-loading p{margin:0;font-size:12.5px;color:#a1a194}

.crdts-dash .pf-body.sq-done{display:flex;flex-direction:column;align-items:center;text-align:center;gap:13px;padding:38px 24px}
.crdts-dash .sq-done-ico{width:64px;height:64px;border-radius:50%;background:#f2f8f2;border:1px solid #dbe9db;
  color:#648166;display:grid;place-items:center}
.crdts-dash .sq-done-ico svg{width:30px;height:30px}
.crdts-dash .sq-done b{font-size:18px;font-weight:700;color:#171714}
.crdts-dash .sq-done p{margin:0;max-width:430px;font-size:12.5px;color:#8c8c81;line-height:1.9}

/* plan summary — the cream card the shadcn version tinted with primary/5 */

.crdts-dash .panel.sq-summary{background:#fff9e4;border-color:#f0dfa8}
.crdts-dash .sq-plan-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.crdts-dash .sq-plan-name{display:block;font-size:17px;font-weight:700;line-height:1.6;color:#171714}
.crdts-dash .sq-summary p{margin:6px 0 0;font-size:12px;color:#8c8c81;line-height:1.8}
.crdts-dash .sq-popular{flex-shrink:0;display:inline-flex;align-items:center;gap:5px;background:#fff;
  border:1px solid #f0dfa8;color:#8a6d00;border-radius:20px;padding:5px 11px;font-size:10.5px}
.crdts-dash .sq-popular svg{width:13px;height:13px;color:#c9a227}

/* the billing-cycle toggle — the same two-button switch the image field uses */

.crdts-dash .sq-cycle{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin-top:18px}
.crdts-dash .sq-cycle-label{font-size:12.5px;color:#6c6c5e}
.crdts-dash .sq-cycle .sq-cycle-btns{margin-bottom:0}
.crdts-dash .sq-cycle .sq-cycle-btns button{flex:0 0 auto;padding:9px 16px;font-size:12px}

.crdts-dash .sq-amount{display:flex;align-items:baseline;margin-top:18px}
.crdts-dash .sq-amount b{font-size:32px;font-weight:700;line-height:1.3;letter-spacing:-.6px;color:#171714}
.crdts-dash .sq-amount span{font-size:14px;color:#8c8c81;margin-inline-end:6px}

/* the method picker — a row per method with the radio drawn in the design */

.crdts-dash .sq-methods{display:grid;gap:9px}
.crdts-dash .sq-method{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:10px;
  border:1px solid #e5e5db;background:#fff;cursor:pointer;transition:border-color .15s,background .15s}
.crdts-dash .sq-method:hover{border-color:#e0c266}
.crdts-dash .sq-method.on{border-color:#f0c266;background:#fff9e4}
.crdts-dash .sq-method input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.crdts-dash .sq-method:has(input:focus-visible){border-color:var(--orange);box-shadow:0 0 0 3px #f7a66855}
.crdts-dash .sq-method-box{width:19px;height:19px;border-radius:50%;border:1px solid #dddccf;background:#fff;
  display:grid;place-items:center;flex-shrink:0}
.crdts-dash .sq-method-box:after{content:'';display:block;width:9px;height:9px;border-radius:50%;background:transparent}
.crdts-dash .sq-method.on .sq-method-box{border-color:var(--orange)}
.crdts-dash .sq-method.on .sq-method-box:after{background:var(--orange)}
.crdts-dash .sq-method-ico{width:40px;height:40px;border-radius:9px;background:#f8f7ef;overflow:hidden;flex-shrink:0}
.crdts-dash .sq-method-ico img{width:100%;height:100%;object-fit:cover}
.crdts-dash .sq-method-body{flex:1;min-width:0}
.crdts-dash .sq-method-body b{display:block;font-size:13px;font-weight:700;line-height:1.7;color:#171714}
.crdts-dash .sq-method-body small{display:flex;align-items:center;gap:5px;margin-top:2px;font-size:11px;color:#a1a194}
.crdts-dash .sq-method-body small svg{width:12px;height:12px}
.crdts-dash .sq-none{margin:0;padding:20px 12px;text-align:center;font-size:12.5px;color:#a1a194}

/* the chosen method, repeated at the top of the payment-details panel */

.crdts-dash .sq-chosen{display:grid;gap:12px;padding:14px 15px;border-radius:10px;
  border:1px solid #f0dfa8;background:#fff9e4}
.crdts-dash .sq-chosen-top{display:flex;align-items:center;gap:11px}
.crdts-dash .sq-chosen-top b{font-size:13.5px;font-weight:700;color:#171714}
.crdts-dash .sq-chosen-phone{display:flex;align-items:center;justify-content:flex-start;gap:9px;direction:ltr;
  background:#fff;border:1px solid #f0dfa8;border-radius:8px;padding:11px 13px}
.crdts-dash .sq-chosen-phone svg{width:16px;height:16px;color:var(--orange)}
.crdts-dash .sq-chosen-phone span{font-size:17px;font-weight:700;color:var(--orange);
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.crdts-dash .sq-chosen-due{font-size:11.5px;color:#8c8c81}
.crdts-dash .sq-chosen-due b{font-size:13.5px;font-weight:700;color:#171714}

/* the uploaded receipt and its remove button */

.crdts-dash .sq-receipt{position:relative;margin-bottom:12px;border:1px solid #efefe7;border-radius:10px;
  overflow:hidden;background:#fafaf6}
.crdts-dash .sq-receipt img{display:block;width:100%;height:176px;object-fit:contain}
.crdts-dash .sq-receipt button{position:absolute;top:9px;inset-inline-end:9px;border:0;border-radius:20px;
  background:#171714;color:#fff;padding:4px 11px;font-size:10.5px;cursor:pointer}

/* the submit row sits on its own, full width */

.crdts-dash .sq-submit button{width:100%}

@media(max-width:680px){
  .crdts-dash .sq-amount b{font-size:27px}
  .crdts-dash .sq-cycle .sq-cycle-btns{width:100%}
  .crdts-dash .sq-cycle .sq-cycle-btns button{flex:1}
}
