/* ===========================
   CLIENTE.CSS
   Carga: Solo vista cliente
=========================== */

.table-container {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #333;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: #2a2a2a;
}

thead th {
  padding: 16px;
  text-align: left;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #333;
}

tbody tr {
  border-bottom: 1px solid #2a2a2a;
  transition: background 0.2s ease;
}

tbody tr:hover {
  background: #222;
}

tbody tr:last-child {
  border-bottom: none;
}

tbody td {
  padding: 16px;
  color: #ccc;
  font-size: 14px;
}

.cliente-id {
  font-weight: 600;
  color: #3b82f6;
}

.cliente-nombre {
  font-weight: 500;
  color: #fff;
}

.action-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-edit,
.btn-delete {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  font-size: 13px;
}

.btn-edit {
  background: #3b82f6;
  color: white;
}

.btn-edit:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.btn-delete {
  background: #dc2626;
  color: white;
}

.btn-delete:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .table-container {
    overflow-x: auto;
  }

  table {
    min-width: 600px;
  }

  .action-buttons {
    flex-direction: column;
  }

  .action-buttons button {
    width: 100%;
    justify-content: center;
  }
}