/* WhatsApp setup — 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}

/* ============ page frame ============ */

.crdts-dash .ws-page{display:grid;gap:22px}

/* ============ platform-not-ready card ============ */

.crdts-dash .ws-unavailable p{max-width:520px}
.crdts-dash .ws-alert-ico{width:52px;height:52px;border-radius:14px;background:#fff0ed;
  border:1px solid #f0d5cb;color:#c94742;display:grid;place-items:center;margin:0 auto 16px}
.crdts-dash .ws-alert-ico svg{width:24px;height:24px}

/* ============ error banner ============ */

.crdts-dash .ws-error{display:flex;align-items:flex-start;gap:14px;border:1px solid #f0d5cb;
  background:#fff4f1;border-radius:11px;padding:15px 18px}
.crdts-dash .ws-error-ico{width:36px;height:36px;border-radius:9px;background:#fff0ed;color:#c94742;
  display:grid;place-items:center;flex-shrink:0}
.crdts-dash .ws-error-ico svg{width:18px;height:18px}
.crdts-dash .ws-error-body{min-width:0;flex:1}
.crdts-dash .ws-error-body b{display:block;font-size:13px;font-weight:600;color:#a63c38;line-height:1.85}
.crdts-dash .ws-error-body small{display:block;font-size:11.5px;color:#8d7a77;line-height:1.85;margin-top:4px}

/* ============ linked account card ============ */

.crdts-dash .ws-account{display:flex;align-items:flex-start;gap:15px;border:1px solid #efefe7;
  border-radius:10px;background:#fcfcfa;padding:16px 18px;margin-bottom:18px}
.crdts-dash .ws-avatar{position:relative;width:54px;height:54px;border-radius:50%;background:#fff6d8;
  border:1px solid #f0e3bd;color:#b48314;display:grid;place-items:center;flex-shrink:0;overflow:hidden}
.crdts-dash .ws-avatar>svg{width:26px;height:26px}
.crdts-dash .ws-avatar>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.crdts-dash .ws-account-body{min-width:0;flex:1}
.crdts-dash .ws-account-top{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.crdts-dash .ws-account-top>b{font-size:14.5px;color:#171714;font-weight:700}
.crdts-dash .kind-chip.ws-session{display:inline-flex;align-items:center;gap:5px}
.crdts-dash .ws-session svg{width:11px;height:11px}
.crdts-dash .ws-meta{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:10px}
.crdts-dash .ws-meta>span{display:inline-flex;align-items:center;gap:7px;font-size:11.5px;color:#8c8c81}
.crdts-dash .ws-meta svg{width:13px;height:13px;color:#b4b4a7}

/* ============ action row ============ */

.crdts-dash .ws-acts{display:flex;align-items:center;gap:10px;flex-wrap:wrap}

/* ============ QR block ============ */

.crdts-dash .ws-qr-wrap{display:flex;flex-direction:column;align-items:center;gap:20px}
.crdts-dash .ws-qr{position:relative;background:#fff;border:1px solid var(--line);border-radius:14px;
  padding:18px;box-shadow:0 8px 26px #1717140f}
.crdts-dash .ws-qr img{display:block;width:230px;height:230px}
.crdts-dash .ws-scan{position:absolute;inset-inline:0;bottom:-14px;margin-inline:auto;width:fit-content;
  display:inline-flex;align-items:center;gap:7px;background:#171714;color:#fff;border-radius:20px;
  padding:6px 14px;font-size:11px;white-space:nowrap;box-shadow:0 6px 18px #17171426}
.crdts-dash .ws-scan svg{width:12px;height:12px}
.crdts-dash .ws-note{max-width:430px;text-align:center;font-size:11.5px;color:#a1a194;
  line-height:1.9;margin:0}

/* ============ countdown + preparing states ============ */

.crdts-dash .kind-chip.ws-count{font-size:11px;color:#8a6d00;background:#fff6d8;padding:5px 10px}
.crdts-dash .ws-loading{padding:36px 24px 40px}
.crdts-dash .ws-loading .empty-icon{background:#fff9e4;border-color:#f2e7bd;color:#c9a227}
.crdts-dash .ws-loading p{margin:0}

/* ============ spinner ============ */

.crdts-dash .ws-spin{color:var(--orange);animation:wsSpin 1s linear infinite}
.crdts-dash .ws-scan .ws-spin{color:#ffe133}
@keyframes wsSpin{from{transform:rotate(0)}to{transform:rotate(360deg)}}

@media(max-width:1200px){
  .crdts-dash .ws-qr img{width:206px;height:206px}
}
@media(max-width:980px){
  .crdts-dash .ws-page{gap:18px}
}
@media(max-width:680px){
  .crdts-dash .ws-page{gap:16px}
  .crdts-dash .ws-account{flex-wrap:wrap}
  .crdts-dash .ws-error{flex-wrap:wrap}
  .crdts-dash .ws-meta{gap:8px 16px}
  .crdts-dash .ws-qr{padding:14px}
  .crdts-dash .ws-qr img{width:190px;height:190px}
}

