/* SSL checker page */
.checker-textarea {
  min-height: 140px;
  max-height: 500px;
  resize: vertical;
  overflow-y: hidden;
  line-height: 1.6;
}

.results {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform 0.1s ease;
}

.result-card:hover { box-shadow: var(--shadow-md); }

.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.domain {
  font-weight: 600;
  font-size: 16px;
  word-break: break-all;
}

.remove-btn {
  appearance: none;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  padding: 4px 8px;
  margin: -4px 0;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}

.remove-btn:hover {
  background: var(--red-bg);
  color: var(--red-fg);
}

.remove-btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.cached-tag {
  display: inline-block;
  margin-left: 8px;
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 500;
}

.error-msg {
  color: var(--red-fg);
  font-size: 13px;
  margin-top: 8px;
}

.form-error {
  display: none;
  color: var(--red-fg);
  font-size: 13px;
  margin-top: 8px;
  padding: 8px 12px;
  background: var(--red-bg);
  border: 1px solid var(--red-border);
  border-radius: var(--radius-sm);
}

.form-error.show { display: block; }
