﻿.skeleton {
    position: relative;
    overflow: hidden;
    background-color: #e9ecef;
    border-radius: 6px;
}

.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150px;
    height: 100%;
    width: 150px;
    background: linear-gradient( 90deg, transparent, rgba(255,255,255,0.6), transparent );
    animation: skeleton-loading 1.2s infinite;
}

@keyframes skeleton-loading {
    100% {
        left: 100%;
    }
}

.skeleton-chart {
    height: 260px;
    margin-bottom: 1rem;
}

.skeleton-lines {
    height: 120px;
    margin-bottom: 1rem;
}
.modal-scrollable {
    height: 400px;
    overflow-y: scroll;
}

.modal-fix {
    width: 70vw !important;
    display: flex;
    justify-self: center;
}
/* Loading placeholders */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-120 {
    min-height: 120px;
}

.loading-100 {
    min-height: 100px;
}

.loading-text {
    font-size: 0.9rem;
    color: #000;
}
.portfolio-chart-container {
    width: 100%;
    height: 400px; /* or relative, e.g., 50vh */
    position: relative; /* required for Chart.js responsive */
}

/* Chart legend and text adjustments (optional) */
.portfolio-chart-legend {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
#_PortfolioSummaryTable :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
    font-size: small;
}

#_PortfolioSummaryTable .col-md-12 {
    padding-right: 0;
}

#_PortfolioSummaryTable .portfolio-link {
    color: rgba(154, 106, 79, 0.8);
    text-decoration: underline;
}
#_tradesopenorders :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
    font-size: small;
}

.nowrap {
    white-space: nowrap;
}

.symbol-link {
    text-decoration: underline;
    color: #000;
}

.qty-requested {
    display: @Common.AppParameters.GetAppsettingValue("DISPLAYQTYREQ");
}

.cancel-link {
    color: #a7674c;
    font-size: small;
    cursor: pointer;
}

.history-info {
    padding: 50px 0;
}

.no-data {
    color: #fff;
    padding: 50px 0;
    background: #002c4d;
}