/****************************************************************************************************/
/* Tables */
/****************************************************************************************************/
.cartlidgecup {
  background-color: #ffffff; /* bg-white */
  min-width: 100%;           /* min-w-full */
  table-layout: fixed;       /* table-fixed */
  border-collapse: collapse;
}

/* =========================
   Table header
========================= */
.cartlidgecup thead tr {
  color: #111827;            /* text-gray-900 */
  background-color: #f3f4f6; /* bg-gray-100 */
  border-bottom: 1px solid #d1d5db; /* border-gray-300 */
  text-transform: uppercase;
  letter-spacing: 0.05em;    /* tracking-wider */
  font-size: 0.875rem;       /* text-sm */
}

.cartlidgecup th {
  vertical-align: middle;    /* align-middle */
  font-weight: 600;          /* font-semibold */
}

.cartlidgecup th:first-child {
  width: 2.5rem;               /* w-8 */
}

.cartlidgecup th.text-left {
  text-align: left;
}

.cartlidgecup th.text-center {
  text-align: center;
}

.cartlidgecup th.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.cartlidgecup th.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* =========================
   Table body
========================= */
.cartlidgecup tbody {
  color: #111827;            /* text-gray-900 */
  line-height: 1.25;         /* leading-tight */
}

.cartlidgecup tbody tr {
  border-bottom: 1px solid #e5e7eb; /* border-gray-200 */
  position: relative;
  cursor: default;
  transition: background-color 150ms ease;
}

.cartlidgecup tbody tr:hover {
  background-color: #f9fafb; /* hover:bg-gray-50 */
}

/* Champion hover */
.cartlidgecup tbody tr.hover-emerald:hover {
  background-color: #ecfdf5; /* hover:bg-emerald-50 */
}

/* Relegation hover */
.cartlidgecup tbody tr.hover-red:hover {
  background-color: #fef2f2; /* hover:bg-red-50 */
}

/* =========================
   Table cells
========================= */
.cartlidgecup td {
  vertical-align: middle; /* align-middle */
}

.cartlidgecup td.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.cartlidgecup td.pl-2 {
  padding-left: 0.5rem;
}

.cartlidgecup td.pr-1 {
  padding-right: 0.25rem;
}

.cartlidgecup td.text-left {
  text-align: left;
}

.cartlidgecup td.text-center {
  text-align: center;
}

.cartlidgecup td.font-semibold {
  font-weight: 600;
}

/* =========================
   Rank column
========================= */
.cartlidgecup td.w-8 {
  width: 2rem;
  position: relative;
  z-index: 1;
}

/* =========================
   Left indicator bar
========================= */
.cartlidgecup td span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0.25rem; /* w-1 */
  z-index: 0;
}

.cartlidgecup .bg-emerald {
  background-color: #059669; /* emerald-600 */
}

.cartlidgecup .bg-gray {
  background-color: #d1d5db; /* gray-300 */
}

.cartlidgecup .bg-red {
  background-color: #f87171; /* red-400 */
}

/* =========================
   Text truncation
========================= */
.cartlidgecup .whitespace-nowrap {
  white-space: nowrap;
}

.cartlidgecup .overflow-hidden {
  overflow: hidden;
}

.cartlidgecup .text-ellipsis {
  text-overflow: ellipsis;
}

.cartlidgecup .max-w-48 {
  max-width: 12rem;
}

/* =========================
   Divider rows
========================= */
.cartlidgecup .divider-green {
  width: 100%;
  height: 2px;
  background-color: #4ade80; /* green-400 */
  margin: 0.25rem 0;
}

.cartlidgecup .divider-red {
  width: 100%;
  height: 2px;
  background-color: #f87171; /* red-400 */
  margin: 0.25rem 0;
}

/* =========================
   Relegation text
========================= */
.cartlidgecup .text-red {
  color: #ef4444; /* red-500 */
}