/* ===== TABLE STYLES ===== */
.full-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  background: #fff;
  box-shadow: 
    0 0 0 1px rgba(0,0,0,0.05),
    0 2px 4px rgba(0,0,0,0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.full-table th,
.full-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  vertical-align: top;
  transition: background-color 0.2s ease;
}

/* Table Header */
.full-table th {
  background-color: #f8fafc;
  color: #334155;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 10;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  backdrop-filter: blur(5px);
}

/* Table Cells */
.full-table td {
  background-color: #fff;
}

/* Zebra Striping */
.full-table tr:nth-child(even) td {
  background-color: #f9fafb;
}

/* Hover Effects */
.full-table tr:hover td {
  background-color: #f1f5f9;
}

/* Content Cells */
.text-content {
  max-width: 300px;
  max-height: 120px;
  overflow: auto;
  word-wrap: break-word;
  line-height: 1.5;
  padding: 0.5rem 0;
}

/* Custom Scrollbar */
.text-content::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.text-content::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.1);
  border-radius: 2px;
}

.text-content::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0,0,0,0.2);
}

/* Action Buttons */
.action-links {
  display: flex;
  gap: 0.5rem;
  white-space: nowrap;
}

.action-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s ease;
  min-width: 60px;
  text-align: center;
}

/* Highlight Animation */
@keyframes rowHighlight {
  0% { background-color: rgba(59, 130, 246, 0.1); }
  100% { background-color: transparent; }
}

.highlight-row {
  animation: rowHighlight 1.5s ease-out;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .text-content {
    max-width: 250px;
  }
}

@media (max-width: 992px) {
  .full-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    box-shadow: none;
    border-radius: 0;
  }
  
  .full-table th,
  .full-table td {
    min-width: 150px;
  }
  
  .text-content {
    max-width: 200px;
    max-height: 80px;
  }
  
  .action-links {
    flex-direction: column;
    gap: 0.3rem;
  }
}

/* Print Styles */
@media print {
  .full-table {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .full-table th {
    background-color: #f1f1f1 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  
  .text-content {
    max-height: none;
    overflow: visible;
  }
}