/* ======================================
   CATTLEMANIA SEND CATTLE MARKET CSS
====================================== */

/* ======================================
   BASE
====================================== */

body.market-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.25);
}

.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 {
  margin: 0;

  color: white;
}

.widget-body {
  padding: 22px;
}

.widget-subtitle {
  color: #94a3b8;
}

/* ======================================
   TEXT
====================================== */

.widget-body p {
  color: #cbd5e1;

  margin-bottom: 10px;

  line-height: 1.5;
}

/* ======================================
   MARKET TABLE CONTAINER
====================================== */

.market-table-container {
  width: 100%;

  overflow-x: auto;

  background: #0f172a;

  border-radius: 12px;

  padding: 10px;
}

/* ======================================
   MARKET TABLE
====================================== */

table {
  width: 100%;

  border-collapse: separate;

  border-spacing: 0;

  background: #0b132b;

  border-radius: 12px;

  overflow: hidden;
}

thead th {
  background: #0f172a;

  color: #38bdf8;

  font-weight: 800;

  padding: 16px;

  text-align: center;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

tbody td {
  padding: 16px 12px;

  text-align: center;

  color: #cbd5e1;

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

tbody tr {
  transition: none;
}

tbody tr:hover {
  background: #111827;
}

tbody tr:last-child td {
  border-bottom: none;
}

/* ======================================
   CATTLE INFO CELLS
====================================== */

.cattle-name {
  color: white;

  font-weight: 800;
}

.cattle-detail {
  color: #94a3b8;

  font-size: 13px;
}

/* ======================================
   CHECKBOX
====================================== */

.checkbox {
  transform: scale(1.3);

  cursor: pointer;
}

/* ======================================
   BUTTON
====================================== */

.send-btn {
  width: 100%;

  margin-top: 20px;

  padding: 14px;

  background: #dc2626;

  color: white;

  border: none;

  border-radius: 10px;

  font-weight: 800;

  cursor: pointer;

  box-shadow: none;

  transition: none;
}

.send-btn:hover {
  background: #dc2626;

  color: white;

  transform: none;

  box-shadow: none;
}

/* ======================================
   ERRORS
====================================== */

.error {
  color: #fca5a5;

  background: #450a0a;

  padding: 12px;

  border-radius: 8px;

  margin-bottom: 10px;

  border: 1px solid rgba(248, 113, 113, 0.2);
}

/* ======================================
   MOBILE
====================================== */

@media (max-width: 900px) {
  .main-content {
    padding: 15px;
  }

  .market-table-container {
    overflow-x: auto;
  }

  table {
    min-width: 700px;
  }
}

@media (max-width: 600px) {
  .main-content {
    padding: 10px;
  }

  .widget-body {
    padding: 15px;
  }
}
