.custom-orders-table {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border-collapse: collapse;
}

.custom-orders-table th, 
.custom-orders-table td {
  padding: 12px;
  text-align: left;
}

.custom-orders-table tr:nth-child(even) {
  background: #f9f9f9;
}

.custom-orders-table tr:nth-child(odd) {
  background: #fff;
}

.btn-visualizar,
.btn-rastrear {
  display: inline-block;
  padding: 6px 12px;
  margin-right: 5px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  color: #fff;
}

.btn-visualizar {
  background: #0073aa;
}

.btn-rastrear {
  background: #28a745;
}

@media (max-width: 768px) {
  .custom-orders-table,
  .custom-orders-table thead,
  .custom-orders-table tbody,
  .custom-orders-table th,
  .custom-orders-table td,
  .custom-orders-table tr {
    display: block;
    width: 100%;
  }

  .custom-orders-table tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
  }

  .custom-orders-table td {
    padding: 8px 0;
    text-align: right;
    position: relative;
  }

  .custom-orders-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    font-weight: bold;
    text-align: left;
  }
}

/* Responsividade da tabela de pedidos */
.melhor-envio-orders {
  width: 100%;
  border-collapse: collapse;
}

.melhor-envio-orders th,
.melhor-envio-orders td {
  padding: 10px;
  text-align: left;
}

/* Mobile: colunas em blocos */
@media (max-width: 768px) {
  .melhor-envio-orders,
  .melhor-envio-orders thead,
  .melhor-envio-orders tbody,
  .melhor-envio-orders th,
  .melhor-envio-orders td,
  .melhor-envio-orders tr {
    display: block;
    width: 100%;
  }

  .melhor-envio-orders tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
  }

  .melhor-envio-orders td {
    border: none;
    padding: 5px 0;
  }
}

