/*
 * Styling for the shared template switcher. Deliberately neutral so it reads
 * clearly on top of all four template designs. Fixed to the top-right corner.
 */
.tpl-switcher {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(17, 24, 39, 0.92);
  color: #fff;
  border-radius: 9999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  font-size: 13px;
  line-height: 1;
}

.tpl-switcher__label {
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 11px;
  opacity: 0.85;
  white-space: nowrap;
}

.tpl-switcher__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff;
  color: #111827;
  border: 0;
  border-radius: 9999px;
  padding: 6px 30px 6px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  /* simple chevron, inline so there is no external asset dependency */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' fill='none' stroke='%23111827' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.tpl-switcher__select:focus {
  outline: 2px solid #fff;
  outline-offset: 1px;
}

@media (max-width: 520px) {
  .tpl-switcher__label {
    display: none;
  }
  .tpl-switcher {
    top: 10px;
    right: 10px;
    padding: 6px 8px;
  }
}

/* Print: hide the switcher */
@media print {
  .tpl-switcher {
    display: none;
  }
}
