@import url("../tender-favorites.css");

/* ================================================================
   TendersSearch.aspx — Page-Specific Styles
   Extracted from inline <style> blocks.
   NOTE: Dynamic Select2 CSS (using ClientID) remains inline.
   ================================================================ */

/* Loading Indicator Animations */
@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes dot1 {
    0%, 20%  { opacity: 0; }
    40%      { opacity: 1; }
    100%     { opacity: 0; }
}

@keyframes dot2 {
    0%, 40%  { opacity: 0; }
    60%      { opacity: 1; }
    100%     { opacity: 0; }
}

@keyframes dot3 {
    0%, 60%  { opacity: 0; }
    80%      { opacity: 1; }
    100%     { opacity: 0; }
}


#stsrdaio .STSFilter {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0 8px;
}

#stsrdaio .STSFilter tbody,
#stsrdaio .STSFilter tr {
    display: block;
    width: 100%;
}

#stsrdaio .STSFilter td {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: #f8fbff;
    border: 1px solid #dbe7f3;
    border-radius: 10px;
    padding: 6px 12px;
    transition: all .2s ease;
    cursor: pointer;
    margin: 8px 0px;
}

    #stsrdaio .STSFilter td:hover {
        background: #fff3e8;
        border-color: #f5bf8a;
        transform: translateY(-1px);
    }

#stsrdaio .STSFilter input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #e67e22;
    flex: 0 0 auto;
    cursor: pointer;
}

#stsrdaio .STSFilter label {
    margin: 0;
    color: #2c3e50;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
}

#stsrdaio .STSFilter td.is-selected {
    background: linear-gradient(135deg, #fff0e0, #ffe5cc);
    border-color: #f39c12;
    box-shadow: 0 0 0 1px rgba(243, 156, 18, .2);
}

/* Enhanced UI for category list */
#CatogoriesList .circle.box {
    margin: 0;
    padding: 0;
    list-style: none;
}

    #CatogoriesList .circle li,
    #CatogoriesList .circle.box > li {
        margin: 0 0 8px 0;
        border: 1px solid #e3e8ee;
        border-radius: 10px;
        background: #f5f7fa;
        transition: all .2s ease;
        list-style: none !important;
    }

        #CatogoriesList .circle li:before,
        #CatogoriesList .circle.box > li:before {
            display: none !important;
            content: none !important;
        }

        #CatogoriesList .circle li:hover,
        #CatogoriesList .circle.box > li:hover {
            border-color: #d3dde9;
            background: #eef2f7;
            transform: translateY(-1px);
        }

        #CatogoriesList .circle li > a,
        #CatogoriesList .circle.box > li > a,
        #CatogoriesList a.category-link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            width: 100%;
            padding: 10px 12px;
            color: #44576b;
            text-decoration: none;
            font-weight: 600;
            line-height: 1.35;
        }

        #CatogoriesList .circle li.active,
        #CatogoriesList .circle.box > li.active {
            border-color: #f39c12;
            background: linear-gradient(135deg, #fff0e0, #ffe5cc);
            box-shadow: 0 0 0 1px rgba(243, 156, 18, .2);
        }

            /* Override legacy theme arrow that breaks onto a new line */
            #CatogoriesList .circle li.active:after,
            #CatogoriesList .circle.box > li.active:after {
                display: none !important;
                content: none !important;
            }

#CatogoriesList .category-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}

    #CatogoriesList .category-name::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #5f7482;
        opacity: .5;
    }

#CatogoriesList .circle li.active .category-name::before {
    background: #e67e22;
    opacity: 1;
}

#CatogoriesList .CateCount {
    min-width: 26px;
    text-align: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e7edf4;
    color: #5b6f84;
    font-size: 11px;
    font-weight: 700;
}

#CatogoriesList .circle li.active .CateCount {
    background: #ffe0bf;
    color: #a8601c;
}

.lbalresultcat {
    display: block;
    margin: 0px 0px 10px;
    text-align: right;
    background: rgb(245 245 245);
    border: 1px solid rgb(227 227 227);
    border-radius: 10px;
    padding: 7px 10px;
}
    .lbalresultcatspan {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        background: #fff7ee;
        border: 1px solid #f5bf8a;
        color: #a45a12;
        padding: 4px 9px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 700;
    }

.search-results-icon-enhanced {
    width: 34px;
    height: 34px;
    object-fit: contain;
    vertical-align: -8px;
}

.search-results-main-large {
    font-size: 1.125rem !important;
    line-height: 1.2;
}

.search-results-main-large > b {
    font-size: 18px !important;
    margin-inline: 4px;
}