/* "Use your songs in your DJ software": the first step, the picker and the steps (Pages/Shared/_DjSoftware.cshtml).
   Used on the Account page and on /dj-software, inside the .auth card. Every rule starts with .djs so it wins over ".auth p" and ".auth h2".
   Colors are tokens only, so night and day both follow. Accent colored text sits on the card (--panel) or the page (--bg), never on --panel2. */

.djs { display: flex; flex-direction: column; gap: 18px; margin-top: 34px; color: var(--text); min-width: 0; }
.djs [hidden] { display: none !important; }
.djs h2 { margin: 0; }
.djs .djs-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.djs .djs-intro { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); }

/* the two blocks: the first step, and the steps for the program that is picked */
.djs .djs-first, .djs .djs-panel { display: flex; flex-direction: column; gap: 14px; padding: 18px 16px; border: 1px solid var(--border2); border-radius: var(--r-lg, 12px); min-width: 0; }
.djs h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.1; letter-spacing: .03em; text-transform: uppercase; color: var(--text); overflow-wrap: anywhere; }
.djs .djs-blurb { margin: -6px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* numbered steps: the number sits in a ring, the words get the room */
.djs .djs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: djs; }
.djs .djs-steps li { position: relative; min-height: 30px; padding-left: 44px; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; counter-increment: djs; }
.djs .djs-steps li::before { content: counter(djs); position: absolute; left: 0; top: -1px; box-sizing: border-box; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font: 600 13px/1 var(--mono); }
.djs .djs-steps b { font-weight: 600; color: var(--text); }

/* the picker: shown only when JavaScript is there to switch it */
.djs .djs-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.djs .djs-tab { min-height: 48px; padding: 0 6px; border: 1px solid var(--border2); border-radius: var(--r, 7px); background: transparent; color: var(--text); font: 600 15px/1.2 var(--sans); cursor: pointer; -webkit-tap-highlight-color: transparent; overflow-wrap: anywhere; }
.djs .djs-tab:hover { border-color: var(--accent); }
.djs .djs-tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
@media (max-width: 420px) { .djs .djs-tab { font-size: 14px; } }
@media (max-width: 339px) { .djs .djs-tabs { grid-template-columns: 1fr; } }

.djs .djs-guide { display: inline-flex; align-items: center; width: fit-content; min-height: 44px; font-size: 15px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.djs .djs-guide::after { content: " \2192"; white-space: pre; }

/* the sync tip: closed until asked for */
.djs .djs-more { border: 1px solid var(--border2); border-radius: var(--r-lg, 12px); padding: 0 16px; }
.djs .djs-more summary { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 0; cursor: pointer; list-style: none; font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--text); }
.djs .djs-more summary::-webkit-details-marker { display: none; }
.djs .djs-more summary::after { content: "+"; margin-left: auto; flex: 0 0 auto; color: var(--accent); font: 600 20px/1 var(--mono); }
.djs .djs-more[open] summary::after { content: "\2212"; }
.djs .djs-more p { margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.djs .djs-more b { color: var(--text); font-weight: 600; }

.djs .djs-other { display: flex; flex-direction: column; gap: 8px; }
.djs .djs-other p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.djs .djs-other ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.djs .djs-other a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--border2); border-radius: var(--r, 7px); color: var(--accent); font-size: 15px; font-weight: 600; text-decoration: none; }
.djs .djs-other a:hover { border-color: var(--accent); }

@media (min-width: 520px) {
  .djs .djs-first, .djs .djs-panel { padding: 22px; }
  .djs .djs-more { padding: 0 22px; }
}
