﻿.btn {
    margin-right: 0;
}

.tableHead {
    background-color: #0d223f;
    color: #fff;
    font-weight: bold;
}

.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;
    }

/*First Column*/
.green {
    background-color: #0d223f;
    font-weight: bold;
    color: White;
    border-color: #666666;
    width: 20%;
}

/*Second Column*/
.yellow {
    color: Black;
    border-color: #666666;
}

/*************************************
*********Details Page*****************
**************************************/

.detail td {
    border-color: #fafafa;
    width: 50%;
}

.SupDetailsFirstCol {
    border-color: #fafafa;
    font-weight: bold;
    width: 15% !important;
    vertical-align: top;
}

.SupDetailsSecondCol {
    border-color: #fafafa;
    width: 20% !important;
    vertical-align: top;
    text-align: left;
    white-space: nowrap;
}

.SupDetailsThirdCol {
    border-color: #fafafa;
    width: 65% !important;
    vertical-align: top;
    text-align: left;
}



/*************************************
*********Default Page*****************
**************************************/

.lblSearching {
    font-weight: bold;
}

.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;
    }
}

#btnHolderMain {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

@media (max-width: 900px) {
    #btnHolderMain {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
    }

    #btnSearch, #btnReset {
        width: 100%;
        padding: 10px;
    }
}

fieldset {
    padding: 5px 15px 20px 15px;
    border: 1px solid #666;
}

html > body #pnlSearch {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

html > body #pnlSearchKeyword {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

/* =======================
   Supreme Court Detail Grid
   ======================= */

.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 (match MSP feel) */
    .content.noToc .SmartGrid .SupDetailsFirstCol {
        width: 18%;
        background: linear-gradient(180deg,#f8fafc,#f4f7fb);
        color: #0d223f;
        font-weight: 700;
        border-right: 1px solid #e5e7eb;
        padding: 12px 14px;
    }

    .content.noToc .SmartGrid .SupDetailsSecondCol,
    .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 .SupDetailsThirdCol {
        width: 60%;
        background: #fff;
        word-break: break-word;
    }

    /* Row borders only (no 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;
    }

    /* Light zebra + hover on value column */
    .content.noToc .SmartGrid tbody tr:nth-child(even) .SupDetailsThirdCol {
        background: #fbfdff;
    }

    .content.noToc .SmartGrid tbody tr:hover .SupDetailsThirdCol {
        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);
            }
