.webhook-logs-table th[class*='cursor-pointer']:nth-child(1),
.webhook-logs-table td:nth-child(1) {
    width: 20%;
    white-space: nowrap;
}

.webhook-logs-table th[class*='cursor-pointer']:nth-child(2),
.webhook-logs-table td:nth-child(2) {
    width: 20%;
    white-space: normal;
    word-wrap: break-word;
}

.webhook-logs-table th[class*='cursor-pointer']:nth-child(3),
.webhook-logs-table td:nth-child(3) {
    width: 15%;
    white-space: nowrap;
}

.webhook-logs-table th[class*='cursor-pointer']:nth-child(4),
.webhook-logs-table td:nth-child(4) {
    width: 15%;
    white-space: nowrap;
}

.webhook-logs-table td:nth-child(5) {
    width: 30%;
    padding: 8px;
}

.webhook-logs-table td:nth-child(5) div {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.webhook-type-buy { 
    background-color: rgba(40, 167, 69, 0.1) !important;
    border-left: 4px solid rgba(40, 167, 69, 0.8);
}

.webhook-type-sell { 
    background-color: rgba(220, 53, 69, 0.1) !important;
    border-left: 4px solid rgba(220, 53, 69, 0.8);
}

.webhook-type-other { 
    background-color: rgba(108, 117, 125, 0.1) !important;
    border-left: 4px solid rgba(108, 117, 125, 0.8);
}

.w-200 {
    width: 200px;
}

.webhook-log-row:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.payload-collapsed {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}

.payload-expanded {
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
    padding: 8px;
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 4px;
}

.webhook-logs-table td pre {
    font-family: var(--bs-font-monospace);
    font-size: 0.875rem;
}

.cursor-pointer {
    cursor: pointer;
}

.portfolio-value {
    display: inline-block;
    margin-left: 10px;
    background-color: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
  }
  
  .portfolio-value .label {
    font-weight: 500;
    color: #555;
  }
  
  .portfolio-value .value {
    font-weight: 600;
    color: #28a745;
  }