/* add.css - Styles for spxadd.php (S&P 500 Advance/Decline Line) */

.add-stats-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.add-chart-container {
    height: 400px;
    margin-bottom: 2rem;
}

.add-chart-container-sm {
    height: 350px;
    margin-bottom: 2rem;
}

.add-chart-inner {
    width: 100%;
    height: 100%;
}

.add-columns {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
}

.add-column {
    flex: 1;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(229,231,235,0.1);
    border-radius: 8px;
    padding: 15px;
}

.add-column h3.text-green {
    color: #22c55e;
    margin: 0 0 10px 0;
}

.add-column h3.text-red {
    color: #ef4444;
    margin: 0 0 10px 0;
}

.add-scroll {
    max-height: 400px;
    overflow-y: auto;
}

.add-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.add-table thead tr {
    border-bottom: 1px solid rgba(229,231,235,0.2);
}

.add-table th {
    text-align: left;
    padding: 5px;
    color: #94a3b8;
}

.add-table th.text-right {
    text-align: right;
}

.add-table tbody tr {
    border-bottom: 1px solid rgba(229,231,235,0.1);
}

.add-table td {
    padding: 4px 5px;
    color: #e2e8f0;
}

.add-table td.ticker {
    font-weight: 600;
}

.add-table td.company {
    color: #94a3b8;
    font-size: 11px;
}

.add-table td.text-right {
    text-align: right;
}

.add-table td.change-up {
    text-align: right;
    color: #22c55e;
}

.add-table td.change-down {
    text-align: right;
    color: #ef4444;
}
