/* Search Section */
.search-section {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: #f3f3f3;
  color: #333;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

.search-section h2 {
  margin-bottom: 0.75rem;
}

.search-help {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: #666;
  line-height: 1.5;
}

.form-control {
  margin-bottom: 1rem;
}

.form-control label {
  display: block;
  margin-bottom: 0.5rem;
}

.form-control input {
  width: calc(100% - 2rem);
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.submit-btn,
.reset-btn {
  padding: 0.5rem 1rem;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
}

.submit-btn {
  background: #5372F0;
  color: #fff;
  margin-right: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 110px;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.submit-btn:hover:not(:disabled) {
  background: #3f5bdb;
}

.submit-btn:disabled {
  opacity: 0.75;
  cursor: wait;
}

.btn-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #fff;
  border-radius: 50%;
}

.submit-btn.loading .btn-spinner {
  display: inline-block;
  animation: wt-spin 0.7s linear infinite;
}

@keyframes wt-spin {
  to { transform: rotate(360deg); }
}

.reset-btn {
  background: #db3c81;
  color: #fff;
}

/* Status message shown after a search */
.search-status {
  margin-top: 1rem;
  min-height: 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.search-status.info {
  color: #5372F0;
}

.search-status.success {
  color: #1b7f4c;
}

.search-status.notfound {
  color: #b7791f;
}

.search-status.error {
  color: #c0392b;
}
