/* Default Device Profile Template modal — expandable breakdown (prototype variant C).
   Scoped under .dpt-body to avoid colliding with the global theme. */

.dpt-body .dpt-sub { font-size: 12.5px; color: #a1a5b7; margin: 0 0 16px; }

.dpt-body .dpt-fld { margin-bottom: 18px; }
.dpt-body .dpt-fld label { display: block; font-size: 12px; font-weight: 700; color: #5e6278; margin-bottom: 6px; }
.dpt-body .dpt-fld input { width: 100%; border: 1.5px solid #e4e6ef; border-radius: 10px; padding: 11px 13px; font-size: 14px; color: #181c32; outline: none; }
.dpt-body .dpt-fld input:focus { border-color: #009ef7; }

/* accordion */
.dpt-body .dpt-acc { border: 1px solid #e4e6ef; border-radius: 12px; overflow: hidden; }
.dpt-body .dpt-acc + .dpt-acc { margin-top: 10px; }
.dpt-body .dpt-acc-hd { display: flex; align-items: center; gap: 12px; padding: 13px 15px; cursor: pointer; user-select: none; }
.dpt-body .dpt-acc-ic { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font-size: 15px; flex: none; }
.dpt-body .dpt-acc-t { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.dpt-body .dpt-acc-title { font-size: 13.5px; font-weight: 700; color: #181c32; }
.dpt-body .dpt-acc-sub { font-weight: 400; color: #a1a5b7; font-size: 11.5px; margin-top: 1px; }
.dpt-body .dpt-acc-cnt { margin-left: auto; font-size: 13px; font-weight: 800; color: #5e6278; }
.dpt-body .dpt-chev { color: #a1a5b7; transition: transform .2s; margin-left: 12px; font-size: 12px; }
.dpt-body .dpt-acc.dpt-open .dpt-chev { transform: rotate(90deg); }
.dpt-body .dpt-acc-bd { display: none; padding: 0 15px 13px 63px; }
.dpt-body .dpt-acc.dpt-open .dpt-acc-bd { display: block; }

/* breakdown rows */
.dpt-body .dpt-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #5e6278; padding: 6px 0; border-top: 1px dashed #e4e6ef; }
.dpt-body .dpt-row:first-child { border-top: 0; }
.dpt-body .dpt-row .dpt-muted { color: #a1a5b7; margin-left: auto; font-size: 11.5px; padding-left: 10px; }
.dpt-body .dpt-row b { color: #181c32; font-weight: 600; }
.dpt-body .dpt-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dpt-body .dpt-tok { font-family: ui-monospace, Menlo, monospace; font-size: 11px; background: #f3f4f7; padding: 1px 6px; border-radius: 5px; color: #7239ea; }
.dpt-body .dpt-row.dpt-empty { color: #a1a5b7; font-style: italic; }

/* colour helpers (soft fill for icon boxes; solid for dots) */
.dpt-body .dpt-blue { background: #eaf7ff; color: #009ef7; }
.dpt-body .dpt-teal { background: #e6fffb; color: #13c2c2; }
.dpt-body .dpt-purple { background: #f4f0ff; color: #7239ea; }
.dpt-body .dpt-amber { background: #fff8dd; color: #b58800; }
.dpt-body .dpt-dot.dpt-blue { background: #009ef7; }
.dpt-body .dpt-dot.dpt-teal { background: #13c2c2; }
.dpt-body .dpt-dot.dpt-purple { background: #7239ea; }

/* "becomes primary" chip */
.dpt-body .dpt-primary-chip { display: flex; align-items: center; gap: 9px; background: #e8fff3; border: 1px solid #b6f0d2; border-radius: 11px; padding: 10px 13px; font-size: 12.5px; color: #0b8a4f; font-weight: 600; margin-top: 16px; }
.dpt-body .dpt-primary-chip .fa-star { font-size: 14px; }
.dpt-body .dpt-primary-chip .dpt-pc-sub { display: block; font-weight: 400; color: #3aa776; margin-top: 1px; }

/* footer total, pushed to the left of the modal-footer buttons */
.dpt-foot-total { font-size: 12.5px; color: #a1a5b7; margin-right: auto; align-self: center; }
.dpt-foot-total b { color: #181c32; }

/* error line */
.dpt-body .dpt-error { color: #f1416c; font-size: 12.5px; display: block; margin-top: 14px; }
