.client-search-section {
  min-height: 420px;
  padding: 52px 0 64px;
  background: #fff;
}

.client-search-container {
  max-width: 800px;
}

.client-search-container h1 {
  margin: 0 0 30px;
  color: #111;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 400;
  text-align: center;
}

#client-search-form .form-label {
  margin-bottom: 8px;
  color: #343a40;
  font-size: 1.05rem;
}

#certificate-number {
  min-height: 46px;
  font-size: 1rem;
}

.client-search-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.client-search-actions .btn {
  min-width: 112px;
  min-height: 46px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
}

#search-button {
  background: #222;
  border-color: #0d6efd;
}

#search-button:hover,
#search-button:focus-visible {
  background: #111;
}

.client-search-message {
  min-height: 1.5rem;
  margin: 18px 0 0;
  text-align: center;
}

.client-search-message:empty {
  display: none;
}

.client-search-message.is-error {
  color: #b02a37;
}

.client-search-message.is-success {
  color: #146c43;
}

.search-results {
  margin-top: 26px;
}

.search-results h2 {
  margin: 0 0 12px;
  color: #212529;
  font-size: 1.4rem;
  font-weight: 400;
}

.search-results .table {
  margin-bottom: 0;
  color: #212529;
}

.search-results th {
  width: 170px;
  font-weight: 700;
}

.search-results td {
  overflow-wrap: anywhere;
}

@media (max-width: 575px) {
  .client-search-section {
    min-height: 390px;
    padding: 38px 0 48px;
  }

  .search-results th {
    width: 115px;
  }
}
