.starter-page {
  width: 100%;
}

.starter-header {
  text-align: center;
  margin-bottom: 20px;
}

.starter-header h1 {
  color: white;
  font-size: 32px;
}

.breed-selection {
  margin-top: 20px;
}

.breed-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));

  gap: 15px;

  margin-top: 20px;
}

.breed-card {
  background: #111827;

  border: 1px solid #334155;

  border-radius: 14px;

  padding: 12px;

  color: white;

  cursor: pointer;

  transition: 0.25s;
}

.breed-card:hover {
  transform: translateY(-5px);

  border-color: #38bdf8;
}

.breed-card.selected {
  border: 2px solid #ef4444;

  box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
}

.breed-card img {
  width: 150px;

  height: 120px;

  object-fit: contain;

  display: block;

  margin: 0 auto 10px;

  border-radius: 10px;
}
.breed-card h3 {
  margin-top: 8px;

  font-size: 16px;
}

.breed-card p {
  font-size: 13px;

  line-height: 1.3;
}

.starter-preview {
  text-align: center;

  margin-top: 25px;
}

.starter-preview img {
  width: 220px;

  max-width: 100%;

  border-radius: 15px;
}

.starter-confirm {
  text-align: center;

  margin-top: 25px;
}

.starter-button {
  width: 100%;

  padding: 15px;

  border-radius: 12px;

  border: none;

  background: linear-gradient(90deg, #dc2626, #ef4444);

  color: white;

  font-size: 18px;

  font-weight: bold;

  cursor: pointer;
}

/* ==========================================
   FOUNDATION HERD BUILDER
========================================== */

.starter-herd-list {
  margin-top: 20px;
}

#selectedHerd {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.herd-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;

  background: #0f172a;

  border: 1px solid #334155;

  border-left: 5px solid #38bdf8;

  border-radius: 12px;

  padding: 15px;

  transition: 0.25s;
}

.herd-entry:hover {
  border-color: #38bdf8;

  transform: translateY(-2px);
}

.herd-entry h3 {
  margin: 0 0 8px 0;

  color: #f8fafc;

  font-size: 18px;
}

.herd-entry p {
  margin: 0;

  color: #cbd5e1;
}

.herd-entry strong {
  color: #38bdf8;
}

.herd-entry button {
  background: #dc2626;

  color: #fff;

  border: none;

  border-radius: 8px;

  padding: 8px 14px;

  cursor: pointer;

  font-weight: bold;
}

.herd-entry button:hover {
  background: #b91c1c;
}

.herd-count {
  margin-top: 20px;

  padding: 15px;

  text-align: center;

  border-radius: 10px;

  background: #111827;

  color: #fff;

  font-size: 18px;

  font-weight: bold;

  border: 1px solid #334155;
}

.empty-herd {
  padding: 35px;

  text-align: center;

  border: 2px dashed #475569;

  border-radius: 12px;

  color: #94a3b8;

  background: #0f172a;
}
/* ==========================================
   FOUNDATION HERD LEDGER
========================================== */

.herd-entry {
  display: grid;

  grid-template-columns: 80px 90px 1fr auto;

  align-items: center;

  gap: 15px;

  background: #111827;

  border: 1px solid #334155;

  border-radius: 14px;

  padding: 15px;

  margin-bottom: 15px;
}

.herd-number {
  color: white;

  font-weight: bold;

  font-size: 14px;
}

.herd-cattle-image {
  width: 80px;

  height: 80px;

  object-fit: contain;

  border-radius: 10px;
}

.herd-info h3 {
  color: white;

  margin: 0 0 8px;
}

.herd-info p {
  margin: 5px 0;

  color: #cbd5e1;
}

.herd-info strong {
  color: #38bdf8;
}

.herd-entry button {
  background: #dc2626;

  color: white;

  border: none;

  padding: 8px 14px;

  border-radius: 8px;

  cursor: pointer;
}
/* Foundation Herd Button Ready State */

.starter-button:disabled {
  opacity: 0.5;

  cursor: not-allowed;
}

.starter-button.ready {
  animation: pulseButton 1.5s infinite;
}

@keyframes pulseButton {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }

  100% {
    transform: scale(1);
  }
}
