/*
=================================================
 CATTLEMANIA VIEW CATTLE CSS
=================================================
*/

/* =================================
 MAIN PROFILE CARD
================================= */

.cattle-profile-card,
.card {
  background: linear-gradient(145deg, #0f172a, #020617);

  border-radius: 20px;

  padding: 25px;

  margin: 20px auto;

  max-width: 1000px;

  border: 1px solid rgba(56, 189, 248, 0.15);

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

/* =================================
 HEADER
================================= */

.cattle-header,
.top {
  display: flex;

  gap: 25px;

  flex-wrap: wrap;
}

/* =================================
 IMAGE
================================= */

.cattle-image,
.cow-img {
  flex: 1;

  min-width: 260px;

  display: flex;

  justify-content: center;

  align-items: center;
}

.cattle-image img,
.cow-img img {
  width: 100%;

  max-width: 350px;

  height: 350px;

  object-fit: contain;

  border-radius: 25px;

  background: #020617;

  padding: 15px;

  box-shadow: 0 0 35px rgba(56, 189, 248, 0.15);
}

/* =================================
 INFO
================================= */

.cattle-info,
.info {
  flex: 1;
}

.cattle-title,
.title {
  font-size: 32px;

  color: #38bdf8;

  margin-bottom: 15px;
}

.badge,
.cattle-badge {
  display: inline-block;

  padding: 6px 15px;

  border-radius: 20px;

  background: #16a34a;

  color: white;
}

/* =================================
 INFO BOXES
================================= */

.info-boxes {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 12px;

  margin-top: 15px;
}

.info-box {
  background: #111827;

  border-radius: 10px;

  padding: 12px;

  text-align: center;

  border-left: 3px solid #38bdf8;
}

.info-box b {
  color: white;
}

/* =================================
 NOTES
================================= */

.notes,
.note-form,
.panel {
  background: transparent;

  padding: 15px 5px;

  margin-top: 25px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.note-form textarea {
  width: 100%;

  min-height: 90px;

  background: #111827;

  color: white;

  border-radius: 10px;

  padding: 12px;

  border: none;
}

.note-form button {
  margin-top: 10px;

  background: linear-gradient(90deg, #2563eb, #38bdf8);

  color: white;

  border: none;

  padding: 12px 20px;

  border-radius: 10px;
}

/* =================================
 ACTIONS
================================= */

.actions {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 25px;
}

.actions a {
  background: #1e293b;

  color: white;

  padding: 10px 15px;

  border-radius: 8px;

  text-decoration: none;
}

.actions a:hover {
  background: #dc2626;
}

/* =================================
 STATS WIDGET 3x3
================================= */

.stats {
  margin-top: 30px;
}

.stats h3 {
  color: #38bdf8;

  margin-bottom: 20px;
}

.cattle-stats-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 15px;

  width: 100%;
}

.cattle-stats-grid .stat {
  background: linear-gradient(145deg, #111827, #020617);

  padding: 20px;

  border-radius: 15px;

  text-align: center;

  border-bottom: 3px solid #38bdf8;

  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);

  color: white;
}

.cattle-stats-grid .stat b {
  display: block;

  margin-top: 10px;

  font-size: 24px;

  color: white;
}

/* =================================
 TAG WIDGET
================================= */

.cattle-tag-card,
.tag-card,
.assign-tag {
  background: linear-gradient(145deg, #0f172a, #020617);

  border-radius: 18px;

  padding: 20px;

  margin-top: 25px;

  border-left: 5px solid #38bdf8;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.cattle-tag-card h3,
.tag-card h3,
.assign-tag h3 {
  color: #38bdf8;

  font-size: 22px;

  margin-bottom: 15px;
}

/* INPUT + SELECT */

.assign-tag input,
.tag-card input,
.assign-tag select,
.tag-card select {
  width: 100%;

  background: #111827;

  color: white;

  border: 1px solid rgba(56, 189, 248, 0.25);

  border-radius: 10px;

  padding: 12px;

  font-size: 16px;

  box-sizing: border-box;
}

.assign-tag input:focus,
.tag-card input:focus,
.assign-tag select:focus,
.tag-card select:focus {
  border-color: #38bdf8;

  outline: none;

  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.assign-tag option,
.tag-card option {
  background: #0f172a;

  color: white;
}

/* BUTTON */

.assign-tag button,
.tag-card button {
  width: 100%;

  margin-top: 15px;

  padding: 12px;

  border: none;

  border-radius: 10px;

  cursor: pointer;

  color: white;

  font-weight: bold;

  font-size: 16px;

  background: linear-gradient(90deg, #2563eb, #38bdf8);
}

.assign-tag button:hover,
.tag-card button:hover {
  background: linear-gradient(90deg, #dc2626, #ef4444);
}

/* CURRENT TAG */

.current-tag {
  margin-top: 15px;

  padding: 12px;

  border-radius: 10px;

  background: #111827;

  color: white;

  text-align: center;

  font-size: 18px;
}

/* =================================
 PREGNANCY
================================= */

.pregnancy-section {
  margin-top: 30px;

  background: linear-gradient(145deg, #172554, #020617);

  border-radius: 15px;

  padding: 20px;

  border-left: 5px solid #ec4899;
}

.pregnancy-section h3 {
  color: #f9a8d4;
}

/* =================================
 BLOODLINE
================================= */

.bloodline-panel {
  margin-top: 30px;

  background: #0f172a;

  border-radius: 15px;

  padding: 20px;

  border-left: 5px solid #22c55e;
}

.bloodline-panel h2 {
  color: #22c55e;
}

/* =================================
 PEDIGREE
================================= */

.family {
  background: linear-gradient(90deg, #2563eb, #38bdf8);

  padding: 15px;

  border-radius: 12px;

  text-align: center;

  font-size: 22px;

  margin-top: 30px;
}

/* =================================
 MOBILE
================================= */

@media (max-width: 768px) {
  .cattle-header,
  .top {
    flex-direction: column;
  }

  .info-boxes {
    grid-template-columns: 1fr;
  }

  .cow-img img {
    max-width: 300px;

    height: 300px;
  }

  .cattle-stats-grid {
    grid-template-columns: 1fr;
  }

  .actions a {
    width: 100%;

    text-align: center;
  }
}
/* =====================================
   CATTLE FEED WIDGET
===================================== */

.cattle-feed-card,
.feed-card,
.feed-panel {
  background: linear-gradient(145deg, #0f172a, #020617);

  border-radius: 18px;

  padding: 20px;

  margin-top: 25px;

  border-left: 5px solid #38bdf8;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* HEADER */

.cattle-feed-card h3,
.feed-card h3,
.feed-panel h3 {
  color: #38bdf8;

  font-size: 22px;

  margin-bottom: 15px;
}

/* FEED INFO */

.feed-info {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 15px;

  margin-top: 15px;
}

.feed-box {
  background: #111827;

  border-radius: 12px;

  padding: 15px;

  text-align: center;

  border-bottom: 3px solid #38bdf8;
}

.feed-box span {
  display: block;

  color: #94a3b8;

  font-size: 14px;

  margin-bottom: 8px;
}

.feed-box strong {
  color: white;

  font-size: 22px;
}

/* FEED SELECT */

.cattle-feed-card select,
.feed-card select,
.feed-panel select {
  width: 100%;

  background: #111827;

  color: white;

  border: 1px solid rgba(56, 189, 248, 0.25);

  border-radius: 10px;

  padding: 12px;

  font-size: 16px;

  margin-top: 10px;

  cursor: pointer;
}

.cattle-feed-card select:focus,
.feed-card select:focus,
.feed-panel select:focus {
  outline: none;

  border-color: #38bdf8;

  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.cattle-feed-card option,
.feed-card option,
.feed-panel option {
  background: #0f172a;

  color: white;
}

/* BUTTON */

.feed-panel button,
.feed-card button,
.cattle-feed-card button {
  width: 100%;

  margin-top: 15px;

  padding: 12px;

  border: none;

  border-radius: 10px;

  background: linear-gradient(90deg, #2563eb, #38bdf8);

  color: white;

  font-size: 16px;

  font-weight: bold;

  cursor: pointer;
}

.feed-panel button:hover,
.feed-card button:hover,
.cattle-feed-card button:hover {
  background: linear-gradient(90deg, #dc2626, #ef4444);
}

/* FEED HISTORY */

.feed-history {
  margin-top: 20px;
}

.feed-history-item {
  background: #111827;

  padding: 12px;

  border-radius: 10px;

  margin-top: 10px;

  border-left: 3px solid #22c55e;

  color: white;
}

/* MOBILE */

@media (max-width: 768px) {
  .feed-info {
    grid-template-columns: 1fr;
  }
}
.wishlist-toast {
  position: fixed;

  top: 20px;

  right: 20px;

  background: linear-gradient(135deg, #2563eb, #1d4ed8);

  color: white;

  padding: 16px 24px;

  border-radius: 14px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);

  font-weight: 600;

  z-index: 9999;

  animation: toastIn 0.3s ease;
}

@keyframes toastIn {
  from {
    opacity: 0;

    transform: translateY(-20px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}
