.new-badge {
    background-color: #4CAF50; /* Green */
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8em;
    margin-left: 5px;
}
/* Responsive table styles */
.ark-analysis-table-wrapper {
    overflow-x: auto;
}
.ark-analysis-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}
.ark-analysis-table th, .ark-analysis-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.ark-analysis-table th {
    background-color: #f2f2f2;
}

/* Zebra-striping */
.ark-analysis-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Hover effect */
.ark-analysis-table tbody tr:hover {
    background-color: #f1f1f1;
}

/* Action colors */
.action-buy {
    color: #28a745;
    font-weight: bold;
}
.action-sell {
    color: #dc3545;
    font-weight: bold;
}

/* Number alignment */
.number {
    text-align: right;
}

.positive-change {
    color: #28a745 !important;
}
.negative-change {
    color: #dc3545 !important;
}

/* Tab container styles */
.tab-container {
    margin-top: 20px;
}

.tab-nav {
    display: flex;
    border-bottom: 2px solid #ccc;
}

.tab-nav-item {
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid transparent;
    border-bottom: none;
    margin-right: 5px;
    background-color: #f1f1f1;
    border-radius: 5px 5px 0 0;
}

.tab-nav-item.active {
    background-color: #fff;
    border-color: #ccc;
    border-bottom: 2px solid #fff;
    position: relative;
    top: 1px;
}

.tab-pane {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
    border-top: none;
}

.tab-pane.active {
    display: block;
}

/* Text colors for trade actions */
.positive-action {
    color: #28a745; /* Green for Buy */
}

.negative-action {
    color: #dc3545; /* Red for Sell */
}

/* Zebra striping for analysis table */
.analysis-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.analysis-table tbody tr:hover {
    background-color: #f1f1f1;
}

/* Left align all table headers */
.analysis-table th {
    text-align: left !important;
}