/* ------------------------------
   GLOBAL RESET & BASE
--------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f5f7fa;
  color: #1a1a1a;
  line-height: 1.5;
}

/* ------------------------------
   LAYOUT
--------------------------------*/
.results-section {
  margin: 2rem auto;
  max-width: 900px;
  padding: 0 1rem;
}

.results-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #0a3d62;
}

/* ------------------------------
   CARDS
--------------------------------*/
.result-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  border: 1px solid #e3e7ed;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: all 0.15s ease;
  text-decoration: none;
  color: inherit;
}

.result-card:hover {
  border-color: #b8c7d9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* ------------------------------
   GRID
--------------------------------*/
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

/* ------------------------------
   TEXT ELEMENTS
--------------------------------*/
.result-company-name,
.result-officer-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0a3d62;
  margin-bottom: 0.4rem;
}

.result-company-meta,
.result-officer-meta {
  font-size: 0.9rem;
  color: #555;
}

.text-muted {
  color: #777;
  font-size: 0.9rem;
}

.loading-text {
  text-align: center;
  padding: 2rem;
  font-size: 1rem;
  color: #555;
}

/* ------------------------------
   STATUS PILL
--------------------------------*/
.status-pill {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background: #e8f1ff;
  color: #0a3d62;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ------------------------------
   HEADER (Company Header)
--------------------------------*/
.company-header {
  background: linear-gradient(135deg, #0a3d62, #1e5799);
  color: white;
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  text-align: center;
  border-radius: 0 0 12px 12px;
}

.company-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.company-header .company-number {
  font-size: 0.95rem;
  opacity: 0.9;
}
