.nexus-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.05);
}

.table-card { overflow: visible; }

.nexus-table thead th{
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: #E5E7EB;          
  color: #000;               
  padding: 12px 14px;
  border-bottom: 1px solid #c0c0c0;
  white-space: nowrap;
}

.nexus-table thead th:first-child{
  border-top-left-radius: 12px;
}

.nexus-table thead th:last-child{
  border-top-right-radius: 12px;
}

.nexus-table tbody td{
  padding: 12px 14px;
  border-bottom: 1px solid #eef2f7;
  vertical-align: top;
  color: #111827;
}

.nexus-table tbody tr:nth-child(even){
  background: #fcfcfd;
}

.nexus-table tbody tr:hover{
  background: var(--nexus-orange-soft);
}

.nexus-table tbody tr:last-child td{
  border-bottom: 0;
}

.nexus-table .col-actions{
  width: 56px;
  text-align: right;
  white-space: nowrap;
}

.table-stack{
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #374151;
  font-size: 13px;
}
.table-stack i{
  color: #6b7280;
  margin-right: 6px;
}

.table-empty{
  text-align: center;
  color: #6b7280;
  padding: 16px;
}

@media (max-width: 900px){
  .nexus-table{
    border-radius: 12px;
  }

  .nexus-table thead{
    display: none;
  }

  .nexus-table,
  .nexus-table tbody,
  .nexus-table tr,
  .nexus-table td{
    display: block;
    width: 100%;
  }

  .nexus-table tr{
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 12px;
  }

  .nexus-table tbody td{
    border: 0;
    padding: 8px 0;
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }

  .nexus-table tbody td::before{
    content: attr(data-label);
    min-width: 120px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #9ca3af;
  }

  .nexus-table .col-actions{
    width: 100%;
    text-align: left;
  }
}
