/* Main Admin Table Styles */
.twf-admin-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.twf-admin-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}

.twf-admin-table th {
  text-align: left;
  padding: 12px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #ddd;
}

.twf-admin-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.twf-admin-table tr:hover td {
  background-color: #f9f9f9;
}

/* Entry Links */
.twf-entry-link {
  color: #2271b1;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

.twf-entry-link:hover {
  color: #135e96;
  text-decoration: underline;
}

/* Detailed View Card */
.twf-detail-card {
  background: #fff;
  border: 1px solid #ccd0d4;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  border-radius: 3px;
  margin: 20px 0;
  max-width: 800px;
}

.twf-detail-header {
  padding: 20px 20px 0;
}

.twf-detail-subheader {
  padding: 0 20px 15px;
  color: #646970;
  font-size: 13px;
}

.twf-detail-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.twf-detail-table tr:last-child td {
  border-bottom: none;
}

.twf-detail-label {
  width: 30%;
  padding: 15px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
}

.twf-detail-value {
  padding: 15px;
  border-bottom: 1px solid #eee;
}

/* Back Link */
.twf-back-link {
  display: inline-block;
  margin: 15px 0px;
  text-decoration: none;
}

/* Responsive Adjustments */
@media screen and (max-width: 782px) {
  .twf-detail-label,
  .twf-detail-value {
    display: block;
    width: 100%;
    padding: 10px;
  }

  .twf-detail-label {
    padding-bottom: 0;
    font-weight: 700;
  }
}
