/* Administration > Platform server (Client\Apps\Admin\PlatformServerPage.razor) and the top bar's test server chip
   (MainLayout: an administrator whose Local apps go to the Linux test server). Tokens of app.css only (light and dark). */

/* The top bar: the name of the test server, in the warning colour, a link to the page */
.test-server-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border: 1px solid var(--warn, #b26a00);
  border-radius: 6px;
  color: var(--warn, #b26a00);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-decoration: none;
  white-space: nowrap;
}
.test-server-chip:hover { background: var(--warn-soft); }

/* Where this administrator's calls go now */
.ps-now {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 700;
}
.ps-now-test {
  border-color: var(--warn, #b26a00);
  color: var(--warn, #b26a00);
}

/* The two servers, side by side (one under the other on a phone) */
.ps-servers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin: 12px 0 18px;
}
.ps-server {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 0;
}
.ps-server-test { border-style: dashed; }
.ps-server-head { display: flex; align-items: center; gap: 8px; }
.ps-server-name { font-weight: 800; font-size: 1.05rem; }
.ps-chip {
  padding: 1px 7px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--faint);
  font-size: 0.7rem;
  font-weight: 700;
}
.ps-url { overflow-wrap: anywhere; }
.ps-check { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.ps-title { margin: 18px 0 4px; display: flex; align-items: center; gap: 6px; }
.ps-choice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 4px; }

@media (max-width: 600px) {
  .test-server-chip span { display: none; }
}
