/* ===========================================================
📄 TCN SINGLE PAGE STYLES (Trip / Request only)
Table styles, white box layout, image gallery
=========================================================== */

/* White Box Layout */
.tcn-single {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.tcn-single p,
.tcn-single li {
  font-size: 15px;
  margin: 6px 0;
}

.tcn-single ul {
  margin: 10px 0 0;
  padding-left: 1.4rem;
}

/* Table Container */
.tcn-table-container {
  overflow-x: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  margin: 32px auto;
  max-width: 1000px;
}

.tcn-table-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a202c;
}

/* Table Core */
.tcn-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  font-size: 15px;
  color: #4b5563;
}

.tcn-table th,
.tcn-table td {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: middle;
}

.tcn-table thead th {
  font-weight: 600;
  background-color: #f9fafb;
  border-bottom: 2px solid #e5e7eb;
  color: #4b5563;
}

.tcn-table td.center,
.tcn-table th.center {
  text-align: center;
}

.tcn-table tbody tr:hover {
  background-color: #f7fafc;
}

/* Image Gallery (Optional) */
.tcn-gallery-featured {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}

.tcn-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.tcn-thumb {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border 0.2s ease;
}

.tcn-thumb.active {
  border-color: #3182ce;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .tcn-table {
    font-size: 14px;
  }

  .tcn-table th,
  .tcn-table td {
    padding: 10px;
  }

  .tcn-gallery-featured {
    aspect-ratio: auto;
    height: auto;
  }

  .tcn-thumb {
    width: 70px;
    height: 50px;
  }
}