.tcp-table { width: 100%; border-collapse: collapse; }
.tcp-table th, .tcp-table td { border-bottom: 1px solid #e5e5e5; padding: 10px; text-align: left; vertical-align: top; }
.tcp-table th { background: #f6f7f7; }

.tcp-checkout-btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  border: none;
  text-decoration: none;
  cursor: pointer;
}
.tcp-checkout-btn:disabled { opacity: 0.6; cursor: not-allowed; }
/* =====================================================
   THINKIT CONTENT PORTAL – PUBLIC STYLES
   ===================================================== */

/* Inventory table header */
.tcp-inventory-wrap table thead th {
  background-color: #0049DB;
  color: #ffffff;
  font-weight: 600;
  border-color: #0049DB;
}

/* Inventory row striping */
.tcp-inventory-wrap table tbody tr:nth-child(even) {
  background-color: #f4f6f8;
}
.tcp-inventory-wrap table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

/* Make inventory responsive (horizontal scroll on small screens) */
.tcp-inventory-wrap {
  width: 100%;
  overflow-x: auto;
}
.tcp-inventory-wrap table {
  min-width: 900px;
}

/* Global button styling */
.tcp-inventory-wrap .button,
.tcp-cart-wrap .button,
.tcp-portal-wrap .button,
.tcp-checkout-wrap .button {
  background-color: #0049DB;
  color: #ffffff;
  border: 2px solid #0049DB;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

/* Button hover effect */
.tcp-inventory-wrap .button:hover,
.tcp-cart-wrap .button:hover,
.tcp-portal-wrap .button:hover,
.tcp-checkout-wrap .button:hover {
  background-color: #ffffff;
  color: #0049DB;
  border-color: #0049DB;
}

/* Fix oversized Add to Cart buttons */
.tcp-add-to-cart {
  padding: 6px 12px !important;
  font-size: 13px !important;
  min-height: auto !important;
  height: auto !important;
  white-space: nowrap;
}

/* Disabled Add to Cart */
.tcp-add-to-cart[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Center table cells nicely */
.tcp-inventory-wrap th,
.tcp-inventory-wrap td {
  vertical-align: middle;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .tcp-inventory-wrap table {
    font-size: 13px;
  }

  .tcp-add-to-cart {
    padding: 5px 10px !important;
    font-size: 12px !important;
  }
}
/* Cart table header + striping matches inventory */
.tcp-cart-wrap table thead th {
  background-color: #0049DB;
  color: #ffffff;
  font-weight: 600;
  border-color: #0049DB;
}

.tcp-cart-wrap table tbody tr:nth-child(even) {
  background-color: #f4f6f8;
}
.tcp-cart-wrap table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

/* Make cart responsive too */
.tcp-cart-wrap {
  width: 100%;
  overflow-x: auto;
}
.tcp-cart-wrap table {
  min-width: 700px;
}
/* Cart table header + striping matches inventory */
.tcp-cart-wrap table thead th,
.tcp-orders-wrap table thead th,
.tcp-checkout-wrap table thead th {
  background-color: #0049DB;
  color: #ffffff;
  font-weight: 600;
  border-color: #0049DB;
}

.tcp-cart-wrap table tbody tr:nth-child(even),
.tcp-orders-wrap table tbody tr:nth-child(even) {
  background-color: #f4f6f8;
}
.tcp-cart-wrap table tbody tr:nth-child(odd),
.tcp-orders-wrap table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

.tcp-cart-wrap,
.tcp-orders-wrap {
  width: 100%;
  overflow-x: auto;
}
.tcp-cart-wrap table,
.tcp-orders-wrap table {
  min-width: 780px;
}
/* Responsive table wrapper */
.tcp-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Center column titles for orders tables */
.tcp-center-head thead th {
  text-align: center !important;
}

/* Make long URLs wrap on small screens */
.tcp-orders-wrap td,
.tcp-cart-wrap td,
.tcp-inventory-wrap td {
  word-break: break-word;
}

/* Improve card spacing on mobile */
@media (max-width: 640px) {
  .tcp-card {
    padding: 12px !important;
  }
  .tcp-orders-wrap h2,
  .tcp-cart-wrap h2,
  .tcp-inventory-wrap h2 {
    font-size: 26px;
  }
}

