.trading-history-page {
    max-width: 1120px;
}

.history-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-quick-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 118px;
    padding: 1rem;
}

.dashboard-quick-stats>span {
    color: #64748b;
    font-weight: 800;
}

.dashboard-quick-stats-value {
    margin-bottom: 0.35rem;
    color: #111827 !important;
    font-size: 1.75rem !important;
    line-height: 2.1rem;
    font-weight: 850 !important;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.history-list-card {
    margin-bottom: 0 !important;
    padding: 0.95rem !important;
}

.investment-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.investment-card-header strong,
.investment-card-header small {
    display: block;
}

.investment-card-header strong {
    color: #111827;
    font-size: 1.02rem;
}

.investment-card-header small {
    color: #64748b;
    font-weight: 650;
}

.investment-details-holder {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0 !important;
    background: transparent !important;
}

.investment-details-holder>div {
    padding: 0.8rem;
    border-radius: 8px;
    background: #f8fafc;
}

.investment-details-holder span,
.investment-details-holder strong {
    display: block;
}

.investment-details-holder span {
    color: #64748b;
    font-size: 0.86rem;
    font-weight: 750;
}

.investment-details-holder strong {
    color: #111827;
    margin-top: 0.2rem;
}

@media (max-width: 767.98px) {
    .history-stat-grid,
    .investment-details-holder {
        grid-template-columns: 1fr;
    }
}
