/* Join tavi for phone shops (the box on /dealers): built on the Value my phone box (.vm), the same steps, ticks and buttons. */

.dj .vm-box { max-width: 520px; }
.dj .vm-head { justify-content: flex-start; }
.dj-h3 { margin: 16px 0 10px; font-size: 17px; }

/* a tick to say yes: the "Is anything broken?" rows, with a second line where it helps */
.dj .vm-check { min-height: 56px; margin-bottom: 8px; padding: 10px 16px; }
.dj .vm-check span { display: flex; flex-direction: column; white-space: normal; line-height: 1.3; }
.dj .vm-check small { font-size: 13px; color: var(--muted); }
.dj-same { margin-bottom: 16px; }

/* brands and models: square buttons; picked ones get a dark border and a coral tick in the corner */
/* The brand tiles, the models under them and their rows: in landing.css, shared with Value my phone. */
.dj [data-dj-step="buys"] .vm-go, .dj [data-dj-step="sells"] .vm-go, .dj [data-dj-step="trade"] .vm-go { margin-top: 20px; }

/* the business address, with Google's suggestions under it */
.dj-address { position: relative; }
.dj-places { position: absolute; z-index: 3; left: 0; right: 0; top: calc(100% - 8px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--r); box-shadow: 0 12px 32px rgba(17, 19, 24, .14); }
.dj-places[hidden] { display: none; }
.dj-places li { display: flex; flex-direction: column; padding: 10px 12px; border-radius: var(--r); cursor: pointer; line-height: 1.3; }
.dj-places li:hover { background: var(--soft); }
.dj-places b { font-size: 15px; font-weight: 600; }
.dj-places small { font-size: 13px; color: var(--muted); }
.dj-places li.dj-none { cursor: default; color: var(--muted); font-size: 14px; }
.dj-places li.dj-none:hover { background: none; }
.dj .vm-input.dj-picked { border-color: var(--green); }
.dj-hint { margin: -4px 0 12px; font-size: 13px; color: var(--muted); }

/* what is waiting for them */
.dj-done h2 { margin-bottom: 4px; }
.dj-list { margin-top: 20px; }
.dj-list[hidden] { display: none; }
.dj-list h3 { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dj-list ul { margin: 0; padding: 0; list-style: none; }
.dj-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dj-list li b { font-size: 16px; }
.dj-list li span { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-size: 14px; color: var(--text-2); }
.dj-list li em { font-style: normal; font-weight: 700; color: var(--ink); white-space: nowrap; }
.dj-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.dj-others { margin: 16px 0 0; font-size: 14px; color: var(--text-2); }
.dj-others[hidden] { display: none; }
.dj-launch { margin: 24px 0 8px; padding: 20px; background: var(--soft); border-radius: var(--r); }
.dj-launch h3 { margin: 0 0 8px; font-size: 17px; }
.dj-launch ol { margin: 0; padding: 0; list-style: none; }
.dj-launch li { padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 16px; font-weight: 500; }
.dj-launch li:last-child { border-bottom: 0; }
.dj-launch p { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

@media (max-width: 820px) {
  .dj .vm-box { padding-left: 20px; padding-right: 20px; }
  .dj .vm-head { margin-left: -20px; margin-right: -20px; }
  .dj-tick { font-size: 14px; }
}

/* Swap deals: their phones sit under your phone's name */
.dj-list li b small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); }
