﻿/*MSP Landing Page*/
.tableHead {
    background-color: #0d223f;
    color: #fff;
    font-weight: bold;
}

.btn {
    margin-right: 0;
}

.validationRule {
    color: Red;
    font-weight: bold;
}

/*hidden text*/
.hidden {
    display: none;
}

.show {
    color: #502800;
}

    .show:hover {
        color: #E66400;
        cursor: pointer;
    }

/*************************************
*********Results Page*****************
**************************************/

.Pager td {
    background-color: #0d223f;
    font-weight: bold;
    color: White;
    border-color: #666666;
    font-size: medium;
}

    .Pager td table tbody tr td a {
        background-color: #0d223f;
        font-weight: bold;
        color: Gray;
        border-color: #666666;
        font-size: medium;
    }

    .Pager td table tbody tr td {
        background-color: #0d223f;
        font-weight: bold;
        color: White !important;
        border-color: #666666;
        font-size: medium;
    }

/*Every 13th row designated for button*/
.results tr:nth-child(13n+14) td {
    background-color: #fafafa;
    border-color: #666666 #fafafa #666666 #fafafa;
}


/*First Column*/
.results td:nth-of-type(odd) {
    background-color: #0d223f;
    font-weight: bold;
    color: White;
    border-color: #666666;
    /*width: 20%;*/
}

/*Every 12th row designated for button with no paging*/
.results1Page tr:nth-child(12n+12) td {
    background-color: #fafafa;
    border-color: #666666 #fafafa #666666 #fafafa;
}


/*First Column*/
.results1Page td:nth-of-type(odd) {
    background-color: #0d223f;
    font-weight: bold;
    color: White;
    border-color: #666666;
    /*width: 20%;*/
}

.resultsSC tr:nth-child(12n+13) td {
    background-color: #fafafa;
    border-color: #666666 #fafafa #666666 #fafafa;
}


/*First Column*/
.resultsSC td:nth-of-type(odd) {
    background-color: #0d223f;
    font-weight: bold;
    color: White;
    border-color: #666666;
}

.resultsSC1Page tr:nth-child(13n+13) td {
    background-color: #fafafa;
    border-color: #666666 #fafafa #666666 #fafafa;
}


/*First Column*/
.resultsSC1Page td:nth-of-type(odd) {
    background-color: #0d223f;
    font-weight: bold;
    color: White;
    border-color: #666666;
}


/*First Column*/
.green {
    background-color: #0d223f;
    font-weight: bold;
    color: White;
    border-color: #666666;
    width: 20%;
}

/*Second Column*/
.results td:nth-of-type(even) {
    color: Black;
    border-color: #666666;
}

/*Second Column*/
.yellow {
    color: Black;
    border-color: #666666;
}

/*************************************
*********Details Page*****************
**************************************/

.detail td {
    border-color: #fafafa;
    width: 50%;
}

.MSPDetailsFirstCol {
    border-color: #fafafa;
    font-weight: bold;
    width: 20% !important;
    vertical-align: top;
}

.MSPDetailsSecondCol {
    border-color: #fafafa;
    width: 20% !important;
    vertical-align: top;
    text-align: left;
    white-space: nowrap;
}

.MSPDetailsThirdCol {
    border-color: #fafafa;
    width: 60% !important;
    vertical-align: top;
    text-align: left;
}



/*************************************
*********Default Page*****************
**************************************/
.loaderLess {
    position: absolute;
    top: 705px;
    left: 50%;
}

.loaderMore {
    position: absolute;
    top: 887px;
    left: 50%;
}

.loaderSupreme {
    position: absolute;
    top: 740px;
    left: 50%;
}

@media (max-width: 900px) {
    .loader {
        left: 450px;
    }
}

#photo img {
    border: 1px solid #666666;
}

#MSPTable td {
    font-size: 13px;
}

#MSPTable th {
    font-size: 13px;
    background-color: #0d223f;
}

.tableRows {
    padding: .7em .6em .7em .6em;
}

#btnHolderMain {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

fieldset {
    padding: 5px 15px 20px 15px;
    border: 1px solid #666;
}

.responsive-min-width-190 {
    font-size: 13px;
}

.responsive-min-width-125 {
    font-size: 13px;
}

.responsive-min-width-175 {
    font-size: 13px;
}

@media (min-width: 1080px) {
    .responsive-min-width-190 {
        min-width: 190px;
    }

    .responsive-min-width-125 {
        min-width: 125px;
    }

    .responsive-min-width-175 {
        min-width: 175px;
    }
}
/* =======================
   MSP Detail Grid (card)
   ======================= */

.content.noToc .SmartGrid {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    font-family: "Segoe UI", Arial, sans-serif;
    color: #0f172a;
}

    .content.noToc .SmartGrid td,
    .content.noToc .SmartGrid th {
        border: 0;
        padding: 10px 14px;
        font-size: .95rem;
        vertical-align: top;
    }

    /* Desktop columns */
    .content.noToc .SmartGrid .MSPDetailsFirstCol {
        width: 18%;
        background: linear-gradient(180deg,#f8fafc,#f4f7fb);
        color: #0d223f;
        font-weight: 700;
        border-right: 1px solid #e5e7eb;
        padding: 12px 14px;
    }

    .content.noToc .SmartGrid .MSPDetailsSecondCol,
    .content.noToc .SmartGrid .green {
        width: 22%;
        background: #0d223f !important;
        color: #fff !important;
        text-align: right;
        font-weight: 600;
        border-right: 1px solid #0b1b33;
        white-space: nowrap;
    }

    .content.noToc .SmartGrid .MSPDetailsThirdCol {
        width: 60%;
        background: #fff;
        word-break: break-word;
    }

    /* Row borders only (no extra gaps between rows) */
    .content.noToc .SmartGrid tbody tr td {
        border-bottom: 1px solid #edf2f7;
    }

    .content.noToc .SmartGrid tbody tr:last-child td {
        border-bottom: 0;
    }

    /* Subtle zebra & hover on value column only */
    .content.noToc .SmartGrid tbody tr:nth-child(even) .MSPDetailsThirdCol {
        background: #fbfdff;
    }

    .content.noToc .SmartGrid tbody tr:hover .MSPDetailsThirdCol {
        background: #f3f7ff;
    }

    /* Spacer rows (between groups) */
    .content.noToc .SmartGrid td[colspan="3"] {
        padding: 0;
        height: 12px;
        line-height: 0;
        font-size: 0;
        border: 0;
        background: transparent;
    }

    /* Links / buttons inside values */
    .content.noToc .SmartGrid td a {
        color: #1d4ed8;
        font-weight: 600;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

        .content.noToc .SmartGrid td a:hover {
            text-decoration: none;
        }

        .content.noToc .SmartGrid td a.btn {
            display: inline-flex;
            align-items: center;
            gap: .4rem;
            font-weight: 600;
            font-size: .9rem;
            color: #111827;
            background: linear-gradient(180deg,#f6f7f9,#eceff3);
            border: 1px solid #d1d5db;
            border-radius: 10px;
            padding: .35rem .8rem;
            text-decoration: none;
            box-shadow: 0 1px 2px rgba(0,0,0,.06);
            transition: background .2s,border-color .2s,box-shadow .2s,transform .08s;
        }

            .content.noToc .SmartGrid td a.btn:hover {
                background: linear-gradient(180deg,#eef1f5,#e6e9ee);
                border-color: #cbd5e1;
                box-shadow: 0 2px 6px rgba(0,0,0,.08);
                transform: translateY(-1px);
            }

            .content.noToc .SmartGrid td a.btn:active {
                background: #e2e8f0;
                box-shadow: inset 0 1px 2px rgba(0,0,0,.12);
                transform: translateY(0);
            }

/* ============== Responsive (≤900px) ============== */
@media (max-width:900px) {

    /* Each row is a 2-col grid (label/value) */
    .content.noToc .SmartGrid tr {
        display: grid;
        grid-template-columns: minmax(140px, 48%) 1fr; /* label grows, value takes the rest */
        grid-auto-rows: minmax(0, auto);
    }

        /* Section header (first row of each group) spans full width */
        .content.noToc .SmartGrid tr.group-start .MSPDetailsFirstCol {
            grid-column: 1 / -1;
            border-right: 0;
            text-align: left;
            padding: 10px 14px;
            width: 100% !important;
        }

        /* On non-header rows, hide the empty first col to remove weird gaps */
        .content.noToc .SmartGrid tr:not(.group-start) .MSPDetailsFirstCol {
            display: none;
        }

    /* Label/value placement */
    .content.noToc .SmartGrid .MSPDetailsSecondCol,
    .content.noToc .SmartGrid .green {
        grid-column: 1;
        text-align: left;
        border-right: 0;
        white-space: normal; /* wrap long labels */
        width: auto !important;
        border-bottom: 1px solid rgba(255,255,255,.15);
    }

    .content.noToc .SmartGrid .MSPDetailsThirdCol {
        grid-column: 2;
        padding-top: 8px;
        width: auto !important;
        overflow-wrap: anywhere; /* protect against long URLs/text */
    }

    /* Spacer rows: full-width slim gap between groups */
    .content.noToc .SmartGrid td[colspan="3"] {
        grid-column: 1 / -1;
        height: 12px;
    }
}

