/* Domain selector — bulleted URL list in tuna style */
.domain-selector { padding: 4px 0 8px; }

.domain-selector-title {
  color: #0A77FF;
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.domain-list {
  list-style: disc;
  padding-left: 1.4em;
  margin: 0;
}

.domain-list li {
  padding: 2px 0 8px;
  line-height: 1.5;
  color: #495057;
}

.domain-list li:last-child { padding-bottom: 2px; }

.domain-list a {
  display: block;
  color: #0A77FF;
  text-decoration: none;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  word-break: break-all;
}

.domain-list a:hover { text-decoration: underline; }

/* Styles for the mirror list title and search bar */
.mirror-list-container h3 {
  color: #0A77FF;
  font-weight: 700;
}

.mirror-search .form-control {
  border-color: #0A77FF;
}

/* Styles for the loading spinner */
#mirror-loading .spinner-border {
  width: 3rem;
  height: 3rem;
}

/* Styles for the mirror table */
.mirror-table {
  border: none;
}

.mirror-table th:nth-of-type(1) { width: 40%; }
.mirror-table th:nth-of-type(2) { width: 20%; }
.mirror-table th:nth-of-type(3) { width: 20%; }
.mirror-table th:nth-of-type(4) { width: 20%; }

/* Styles for mirror links */
.mirror-link {
    color: #0A77FF;
}

@media (prefers-color-scheme: dark) {
    .mirror-list-container h3 { color: var(--primary-color); }
    .mirror-search .form-control { border-color: var(--primary-color); }
    .mirror-link { color: var(--primary-color); }
    .mirror-link:hover { color: var(--primary-hover); }

    .domain-selector-title { color: var(--primary-color); }
    .domain-list li { color: var(--text-secondary); }
    .domain-list a { color: var(--primary-color); }
    .domain-list a:hover { color: var(--primary-hover); }
}
