/* ======================================
   CATTLEMANIA ASSIGN FOOD CSS
====================================== */

/* ======================================
   BASE
====================================== */

body.assign-food-page {
  background: #0b132b;

  color: white;

  font-family: "Segoe UI", Tahoma, sans-serif;

  min-height: 100vh;
}

/* ======================================
   MAIN CONTENT
====================================== */

.main-content {
  padding: 25px;
}

/* ======================================
   WIDGET SYSTEM
====================================== */

.widget {
  width: 100%;

  background: #111827;

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 14px;

  overflow: hidden;

  margin-bottom: 20px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.widget-header {
  background: #0f172a;

  padding: 18px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.widget-header h1,
.widget-header h2,
.widget-header h3 {
  color: white;

  margin: 0;
}

.widget-body {
  padding: 22px;
}

.widget-subtitle {
  color: #94a3b8;
}

/* ======================================
   GRID
====================================== */

.widget-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 20px;
}

/* ======================================
   CARDS
====================================== */

.card {
  background: #0b132b;

  padding: 20px;

  border-radius: 12px;

  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card label {
  display: block;

  color: #38bdf8;

  font-weight: 800;

  margin-bottom: 10px;
}

/* ======================================
   INPUTS
====================================== */

.card select {
  width: 100%;

  padding: 13px;

  background: #020617;

  color: white;

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 10px;

  margin-bottom: 15px;
}

.card select:focus {
  outline: none;

  border-color: #38bdf8;
}

/* ======================================
   BUTTON SYSTEM
====================================== */

.widget-button {
  display: flex;

  justify-content: center;

  align-items: center;

  width: 100%;

  padding: 14px;

  background: #dc2626;

  color: white;

  border: none;

  border-radius: 10px;

  font-weight: 800;

  cursor: pointer;

  transition: none;

  box-shadow: none;
}

.widget-button:hover {
  background: #dc2626;

  color: white;

  transform: none;

  box-shadow: none;
}

/* ======================================
   TEXT
====================================== */

.widget-body p {
  color: #cbd5e1;

  margin-bottom: 10px;

  line-height: 1.5;
}

/* ======================================
   ALERTS
====================================== */

.alert {
  background: #1f2937;

  color: #cbd5e1;

  padding: 15px;

  border-radius: 10px;

  text-align: center;

  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ======================================
   FEED STATUS COLORS
====================================== */

.feed-good {
  color: #22c55e;

  font-weight: 800;
}

.feed-warning {
  color: #facc15;

  font-weight: 800;
}

/* ======================================
   MOBILE
====================================== */

@media (max-width: 900px) {
  .main-content {
    padding: 15px;
  }

  .widget-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .main-content {
    padding: 10px;
  }

  .widget-body {
    padding: 15px;
  }

  .widget-header {
    padding: 15px;
  }
}
