/* ================================================
   IAB Tech Lab Agents Registry - Home Page Styles
   Matches Tools Portal React Design Exactly
   ================================================ */

.agents-registry-home {
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Card - EXACT from Tools Portal */
.heroCard {
  border: 1px solid var(--border-dark);
  border-left-width: 5px;
  border-left-color: #c82333;
  margin-bottom: 2rem;
  background: var(--bg-white);
  border-radius: 0.25rem;
}

.heroCard .card-body {
  padding: 1.5rem;
}

.heroCard .card-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.heroCard .card-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-medium);
  margin-bottom: 0;
}

/* Stat Cards - EXACT from Tools Portal */
.statCard {
  border-left: 4px solid #c82333;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  background: var(--bg-white);
  border-radius: 0.25rem;
  border: 1px solid var(--border-light);
}

.statCard:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.statCard.verified {
  border-left-color: #10b981;
}

.statCard.pending {
  border-left-color: #f59e0b;
}

.statCard.total {
  border-left-color: #c82333;
}

.statCard .card-body {
  padding: 1rem;
}

.statCard .stat-value {
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-dark);
  line-height: 1.2;
}

.statCard .stat-label {
  color: var(--text-medium);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* Page Cards - EXACT from Tools Portal */
.pageCard {
  height: 100%;
  border: 1px solid var(--border-light);
  transition: all 0.2s;
  background: var(--bg-white);
  border-radius: 0.25rem;
  display: flex;
  flex-direction: column;
}

.pageCard:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #c82333;
}

.pageCard .card-body {
  flex: 1;
  padding: 1.25rem;
}

.pageCard .card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.pageCard .card-text {
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 0;
}

.pageCard .card-footer {
  background: transparent;
  border-top: 1px solid var(--border-light);
  padding: 0.75rem 1.25rem;
}

.pageCard .card-footer .btn {
  width: 100%;
}

/* dhHeight class for consistent card heights */
.dhHeight {
  min-height: 220px;
}

/* Info Banner - EXACT from Tools Portal */
.info-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #93c5fd;
  border-radius: 8px;
  padding: 1.25rem;
}

.info-banner h5 {
  color: #1e40af;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.info-banner p {
  color: #1e3a8a;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Feature Cards Grid */
.feature-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .feature-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .heroCard .card-title {
    font-size: 1.5rem;
  }
  
  .heroCard .card-text {
    font-size: 1rem;
  }
  
  .statCard .stat-value {
    font-size: 1.5rem;
  }
}
