/* =================================================
   CATTLEMANIA STARTER CATTLE SELECTION
================================================= */

/* =========================
   GLOBAL PAGE
========================= */

.starter-page {
  width: 100%;

  color: white;
}

/* =========================
   HEADER
========================= */

.starter-header {
  text-align: center;

  margin-bottom: 30px;
}

.starter-header h1 {
  color: white;

  font-size: 34px;

  font-weight: 900;
}

.starter-header p {
  color: #cbd5e1;

  font-size: 16px;
}

/* =========================
   PANEL STYLE
========================= */

.cm-panel {
  background: linear-gradient(145deg, #111827, #020617);

  border-radius: 20px;

  border: 1px solid rgba(148, 163, 184, 0.15);

  padding: 25px;

  margin-bottom: 25px;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

.cm-panel h2 {
  color: white;

  margin-bottom: 10px;

  font-size: 26px;
}

.cm-panel > p {
  color: #cbd5e1;

  margin-bottom: 20px;
}

/* =================================================
   BREED SELECTION
================================================= */

.breed-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}

/* =========================
   BREED CARD
========================= */

.breed-card {
  background: linear-gradient(145deg, #0f172a, #020617);

  border-radius: 18px;

  border: 1px solid #334155;

  padding: 18px;

  min-height: 330px;

  color: white;

  cursor: pointer;

  text-align: center;

  display: flex;

  flex-direction: column;

  justify-content: flex-start;

  transition: 0.25s;
}

.breed-card:hover {
  transform: translateY(-5px);

  border-color: #38bdf8;

  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.25);
}

.breed-card.selected {
  border: 3px solid #dc2626;

  box-shadow: 0 0 25px rgba(220, 38, 38, 0.5);
}

/* =========================
   BREED IMAGE
========================= */

.breed-card img {
  width: 100%;

  height: 150px;

  object-fit: contain;

  margin-bottom: 15px;
}

/* =========================
   BREED TEXT
========================= */

.breed-card h3 {
  color: #38bdf8;

  font-size: 20px;

  margin-bottom: 10px;
}

.breed-card p {
  color: #cbd5e1;

  font-size: 14px;

  line-height: 1.5;
}

/* =================================================
   FOUNDATION HERD
================================================= */

.starter-herd-list {
  width: 100%;
}

#selectedHerd {
  margin-top: 20px;
}

/* EMPTY STATE */

.empty-herd {
  background: #0f172a;

  border-radius: 15px;

  border: 2px dashed #475569;

  padding: 40px;

  text-align: center;

  color: #94a3b8;
}

/* =================================================
   SELECTED CATTLE ROWS
================================================= */

.herd-entry {
  display: grid;

  grid-template-columns: 70px 100px 1fr auto;

  align-items: center;

  gap: 20px;

  background: #111827;

  border-radius: 15px;

  padding: 15px;

  margin-bottom: 15px;

  border: 1px solid #334155;
}

.herd-cattle-image {
  width: 80px;

  height: 80px;

  object-fit: contain;
}

.herd-info h3 {
  color: white;

  margin-bottom: 8px;
}

.herd-info p {
  color: #cbd5e1;
}

.herd-entry button {
  background: #dc2626;

  color: white;

  border: none;

  padding: 10px 15px;

  border-radius: 10px;

  cursor: pointer;
}

/* =================================================
   HERD STATUS
================================================= */

.herd-status-panel {
  margin-top: 25px;

  background: #020617;

  border-radius: 16px;

  padding: 25px;

  border: 1px solid rgba(148, 163, 184, 0.2);
}

.herd-status-panel h3 {
  color: #38bdf8;

  margin-bottom: 20px;
}

.status-row {
  display: flex;

  justify-content: space-between;

  padding: 15px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  color: #cbd5e1;
}

.status-row strong {
  color: white;
}

.status-total {
  margin-top: 25px;

  text-align: center;

  color: white;

  font-size: 18px;
}

.status-total strong {
  display: block;

  font-size: 32px;

  color: #dc2626;
}

/* =================================================
   CONFIRM BUTTON
================================================= */

.starter-confirm {
  margin-top: 25px;

  text-align: center;
}

.starter-button {
  width: 100%;

  padding: 16px;

  border-radius: 12px;

  border: none;

  background: linear-gradient(135deg, #dc2626, #991b1b);

  color: white;

  font-size: 18px;

  font-weight: 900;

  cursor: pointer;
}

.starter-button:disabled {
  opacity: 0.5;

  cursor: not-allowed;
}

/* =================================================
   TABLET
================================================= */

@media (max-width: 1200px) {
  .breed-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =================================================
   MOBILE
================================================= */

@media (max-width: 850px) {
  .breed-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .herd-entry {
    grid-template-columns: 1fr;

    text-align: center;
  }
}

/* =================================================
   SMALL MOBILE
================================================= */

@media (max-width: 500px) {
  .breed-grid {
    grid-template-columns: 1fr;
  }

  .cm-panel {
    padding: 15px;
  }

  .starter-header h1 {
    font-size: 26px;
  }
}
/* ==========================================
   COMING SOON BREEDS
========================================== */

.coming-soon-breeds {
  margin-top: 30px;

  padding: 25px;

  background: linear-gradient(145deg, #111827, #020617);

  border-radius: 18px;

  border: 1px solid rgba(250, 204, 21, 0.25);

  text-align: center;
}

.coming-soon-breeds h2 {
  color: #facc15;

  font-size: 24px;

  margin-bottom: 10px;
}

.coming-soon-breeds p {
  color: #cbd5e1;

  margin-bottom: 25px;
}

.coming-breed-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 15px;
}

.coming-breed-card {
  padding: 20px;

  background: #0f172a;

  border-radius: 14px;

  border: 1px dashed #475569;

  opacity: 0.75;
}

.coming-breed-card h3 {
  color: white;

  margin: 10px 0;
}

.coming-breed-card span {
  color: #facc15;

  font-weight: 800;
}

/* MOBILE */

@media (max-width: 800px) {
  .coming-breed-grid {
    grid-template-columns: 1fr;
  }
}
