/* =========================================
   CATTLEMANIA CATTLE TAGS PAGE
   COMMAND CENTER THEME
   MASTER LAYOUT COMPATIBLE
========================================= */

/* =========================================
   PAGE WRAPPER
========================================= */

.cattle-tags-page {
  width: 100%;
}

/* =========================================
   COLUMN LAYOUT
========================================= */

.cattle-tags-columns {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 15px;

  width: 100%;
}

.cattle-tags-column {
  width: 100%;
}

/* =========================================
   WIDGET SYSTEM
========================================= */

.cattle-tags-page .widget {
  background: linear-gradient(145deg, #111827, #0f172a);

  border: 1px solid rgba(56, 189, 248, 0.15);

  border-radius: 14px;

  overflow: hidden;

  margin-bottom: 15px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.cattle-tags-page .widget-header {
  padding: 16px;

  background: linear-gradient(90deg, #0f172a, #172554);

  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.cattle-tags-page .widget-header h3 {
  color: white;

  font-size: 18px;

  font-weight: 800;
}

.cattle-tags-page .widget-body {
  padding: 20px;
}

/* =========================================
   TAG CARDS
========================================= */

.tag-card {
  background: #0b132b;

  padding: 20px;

  border-radius: 14px;

  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tag-card:hover {
  border-color: #38bdf8;
}

/* =========================================
   TAG ITEMS
========================================= */

.tag-item {
  background: #020617;

  padding: 14px;

  border-radius: 10px;

  margin-bottom: 10px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: 0.2s;
}

.tag-item:hover {
  border-color: #38bdf8;

  transform: translateX(3px);
}

.tag-name {
  color: white;

  font-weight: 800;

  font-size: 16px;
}

.tag-count {
  color: #94a3b8;

  font-size: 13px;
}

/* =========================================
   CATTLE TAG GRID
========================================= */

.cattle-tag-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 12px;
}

.tag-list-cattle {
  background: #0b132b;

  padding: 14px;

  border-radius: 10px;

  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tag-list-cattle:hover {
  border-color: #38bdf8;
}

/* =========================================
   BUTTONS
========================================= */

.tag-actions {
  display: flex;

  gap: 10px;

  margin-top: 15px;
}

.tag-button {
  padding: 10px 14px;

  border-radius: 10px;

  background: linear-gradient(90deg, #dc2626, #ef4444);

  color: white;

  border: none;

  cursor: pointer;

  font-weight: 800;
}

.tag-button:hover {
  transform: translateY(-2px);
}

.tag-button.blue {
  background: linear-gradient(90deg, #2563eb, #38bdf8);
}

/* =========================================
   EMPTY STATES
========================================= */

.empty-state {
  padding: 25px;

  text-align: center;

  color: #94a3b8;

  background: #0b132b;

  border-radius: 10px;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {
  .cattle-tags-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .cattle-tag-grid {
    grid-template-columns: 1fr;
  }

  .tag-actions {
    flex-direction: column;
  }
}
