    .trail-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* Evita que columnas se deformen por contenido largo */
}

    .trail-table th, .trail-table td {
        padding: 12px 10px;
        border-bottom: 1px solid #e0e0e0;
        text-align: left;
        font-size: 16px;
        vertical-align: middle;
    }

    .trail-table th {
        background-color: #f5f5f5;
        font-weight: bold;
    }

    .status-btn {
        padding: 6px 14px;
        border: none;
        border-radius: 4px;
        font-size: 14px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        margin-right: 8px;
    }

    .status-btn.open {
        background-color: #28a745;
        color: white;
    }

    .status-btn.open:hover {
        background-color: #218838;
    }

    .status-btn.close {
        background-color: #dc3545;
        color: white;
    }

    .status-btn.close:hover {
        background-color: #c82333;
    }

    .status-msg {
        display: inline-block;
        font-size: 13px;
        color: #28a745;
        opacity: 0;
        transition: opacity 0.8s ease;
    }

    .status-msg.visible {
        opacity: 1;
    }

   @media (max-width: 600px) {
  .trail-table th, .trail-table td {
    font-size: 14px;
    padding: 8px;
    word-wrap: break-word;
  }

  .status-btn {
    font-size: 13px;
    padding: 5px 10px;
  }

  .trail-table td {
    white-space: normal;
  }
}