/* Search wrapper area */
.search-section {
    display: flex;
    justify-content: center;
    margin-top: 120px;
}

.search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 8px 12px;
    max-width: 100%;
    width: 80%;
    border: 1px solid #e5e5e5;
    /* box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); */
}

.close_search {
    padding: 2px 10px;
    cursor: pointer;
    color: #0d185d;
    border-right: 1px solid #e9e9e9ec;
}

/* left icon */
.search-icon {
    width: 18px;
    height: 18px;
    margin-left: 10px;
    margin-right: 10px;
    opacity: 0.6;
}

.search-box input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
    color: #333;
}

.search-box input::placeholder {
    color: #9aa0a6;
}

/* red search button */
.search-btn {
    background: #f88b31;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 10px;
}

.search-btn:hover {
    background: #ea7b21;
}

.search-btn svg {
    fill: white;
    width: 18px;
    height: 18px;
}


.filter-btn {
    background: #08285e;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    margin-left: 6px;
    display: none;
}

.filter-btn:hover {
    background: #093175;
}

.filter-btn i {
    color: #fff;
}



/* CARD */
.tender-card {
    border: 1px solid #e9ecef;
    border-radius: 14px;
    background: #fff;
    padding: 18px 20px;
}

/* LEFT ICON */
.logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #08285e;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* TITLE */
.title {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: -2px;
}

.sub-location {
    font-size: 13px;
    color: #6c757d;
}

/* DEPARTMENT */
.dept {
    font-weight: 600;
    font-size: 16px;
    margin-top: 12px;
    margin-bottom: 6px;
}

/* DESCRIPTION */
.desc {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
}

/* BADGES */
.badge-box {
    margin-top: 10px;
    gap: 6px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.badge-service {
    font-size: 13px;
    padding: 0px 12px;
    border-radius: 6px;
    font-weight: 500;
    background: #fff3e6;
    color: #e67e22;
    border: 1px solid #ffd6a5;

}

.badge-gem {
    font-size: 13px;
    padding: 0px 12px;
    border-radius: 6px;
    font-weight: 500;
    background: #e8f0ff;
    color: #0d6efd;
    border: 1px solid #b6d4fe;
}

/* CLOSE INFO */
.close-info {
    font-size: 14px;
    color: #6c757d;
    margin-top: 12px;
}

/* RIGHT SIDE */
.right-box {
    text-align: right;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.days {
    font-size: 24px;
    font-weight: 700;
    color: #00a36c;
    line-height: 1;
}

.days-text {
    font-size: 11px;
    font-weight: 600;
    color: #00a36c;
    letter-spacing: 0.5px;
}

/* BUTTONS */
.icon-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e9ecef;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bid-btn {
    background: #f88b31;
    border: none;
    color: #fff;
    padding: 6px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.bid-btn:hover {
    background: #e0741c;
}

.bid-btn1 {
    background: #f3f3f3;
    border: none;
    color: #303030;
    padding: 6px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.bid-btn1:hover {
    background: #dcdcdc;
}




.close-info {
    font-family: Arial, sans-serif;
    line-height: 1.4;
}

.close-info .status {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
}

.close-info .date {
    font-size: 16px;
    font-weight: 600;
    margin: 4px 0;
}

.close-info .reference {
    font-size: 12px;
    color: #999;
}




/* Container */
.filters-box {
    width: 100%;

    padding: 20px;
    border-radius: 16px;
    background: #fdfdfd;
    border: 1px solid #d9dee5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Title */
.filters-box h2 {
    margin-bottom: 20px;
    font-size: 22px;
    color: #1f2a37;
}

/* Filter Item */
.filter {
    /* display: flex;
    align-items: center;
    justify-content: space-between; */
    padding: 10px 16px;
    margin-bottom: 14px;
    border-radius: 12px;
    border: 1px solid #d6dbe3;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter:hover {
    background: #ffffff;
    border-color: #c9ced6;
}

/* Text */
.filter span {
    font-size: 15px;
    color: #3a4453;
    font-weight: 500;
}

/* Icons */
.filter i {
    color: #7b8594;
    font-size: 14px;
}

/* Advanced filter */
.filter.advanced span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.results {
    font-size: 15px;
    font-weight: 600;
    color: #6d6d6d;
    /* gray text */
}

.results .count1 {
    color: #ff3b30;
    /* red number */
    margin-right: 6px;
}




#tender_loader_unique_01 {
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(to top, #fff, #f1f1f1); */
}

#tender_loader_unique_01 .card {
    /* background-color:transparent; */
    background: linear-gradient(to top, #fff, #f1f1f1);
    max-width: 420px;
    width: 100%;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    border: none;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.08); */
}

#tender_loader_unique_01 .icon {
    width: 60px;
    height: 60px;
    background: #e0741c;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 6px 14px rgba(255, 59, 31, 0.3);
}

#tender_loader_unique_01 .icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

#tender_loader_unique_01 h2 {
    margin: 10px 0 8px;
    font-size: 22px;
    color: #1a1a1a;
}

#tender_loader_unique_01 p {
    margin: 0 0 20px;
    color: #777;
    font-size: 14px;
}

#tender_loader_unique_01 .progress-bar {
    width: 100%;
    height: 6px;
    background: #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
}

#tender_loader_unique_01 .progress {
    width: 45%;
    height: 100%;
    background: linear-gradient(to right, #e0741c, #222);
    border-radius: 10px;
    animation: tender_loading_anim_01 2s infinite;
}

@keyframes tender_loading_anim_01 {
    0% {
        width: 20%;
    }

    50% {
        width: 60%;
    }

    100% {
        width: 30%;
    }
}


.left-bar {

    position: sticky;
    top: 100px;
    /* space from top */
    height: fit-content;
}


.custom-scroll-container {
    max-height: 350px;
    overflow-y: auto;
    /* scroll vertically */
    overflow-x: hidden;
    /* hide horizontal scroll */
    background-color: transparent;
    padding: 10px;

}

.custom-scroll-container::-webkit-scrollbar {
    width: 6px;
    /* background: transparent; */
    background: #fafafa !important;
}

.custom-scroll-container::-webkit-scrollbar-thumb {
    background: #7f7f7f !important;
    /* lighter blue for visibility */
    border-radius: 10px;
}



.custom-scroll-container::-webkit-scrollbar-track {
    background: transparent !important;
    /* matches container */
}

#filter_btn_close_00 {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    background: #083158;
    color: #fff;
    text-align: center;
    line-height: 40px;
    position: absolute;
    top: 20px;
    font-size: 20px;
    right: 20px;

}

.custom_filter_200 {
    background-color: #083158;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
    text-align: center;
    border: 1px solid #083158;
    display: none;
}

/* Mobile View */
@media (max-width: 992px) {

    .left-bar {
        position: relative;
    }

    #fix_filter_box {
        width: 100%;
        position: fixed;
        max-height: 80vh;
        bottom: -100%;
        left: 0;
        right: 0;
        z-index: 999;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        overflow-y: auto;
        overflow-x: hidden;
        padding-top: 26px;
        padding-bottom: 40px;
        background: #fff;
        transition: all 0.3s ease;
    }

    /* Show popup */
    #fix_filter_box.active {
        bottom: 0;
    }

    .search-box {
        width: 100% !important;
    }

    #filter_btn_close_00 {
        display: block;
    }



    .custom_filter_200:hover {
        background-color: #0d4c88;
        color: #fff;
    }

    .filter-btn,
    .custom_filter_200 {
        display: block;
    }

    .cutom_page_heading {
        padding: 100px 0 28px 0 !important;
    }


    .days {
        font-size: 24px;
    }

    .days-text {
        font-size: 10px;
    }

    .title {
        font-size: 15px;
    }

    .dept {
        font-size: 16px;
    }

}






.share-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    position: relative;
}

.share-buttons {
    overflow: hidden;
    max-width: 0;
    opacity: 0;
    transition: max-width 0.4s ease, opacity 0.3s ease;
    position: absolute;
    bottom: 42px;
    left: 0;
}

.share-buttons_002 {
    display: flex;
    bottom: 0;
    left: auto;
    right: 42px;
}

.share-buttons.open {
    max-width: 300px;
    opacity: 1;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    margin-bottom: 4px;
}

.social-btn:hover {
    transform: scale(1.1);
}

.btn-email {
    background: #555;
}

.btn-facebook {
    background: #1877F2;
}

.btn-whatsapp {
    background: #25D366;
}

.btn-linkedin {
    background: #0A66C2;
}

.btn-twitter {
    background: #000;
}

.btn-copy {
    background: #f0f0f0;
    color: #555;
}

.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #555;
    transition: background 0.2s;
}

.icon-btn:hover {
    background: #e0e0e0;
}


.days-badge {
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.expiring-today {
    background: #fde8e8;
    color: #E24B4A;
}

.days-left {
    background: #e8f4fd;
    color: #185FA5;
}

.expired {
    background: #f0f0f0;
    color: #888;
}





.tab-toggle-group {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border-radius: 8px;
    padding: 4px 4px;
    gap: 0px;
    border: 1px solid #e6e6e6;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.08); */
}

.tab-btn {
    position: relative;
    border: none;
    background: transparent;
    border-radius: 8px;
    padding: 2px 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #575757;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.tab-btn.active {
    background: #e0751d;
    color: #fff;
    /* red */
}


@media (max-width: 992px) {

    .tab-btn {
        font-size: 12px;
        padding: 2px 12px;
    }

    .results {
        font-size: 14px;
    }

}

.custom_chips_001_parent {
    display: none;
}

.custom_chips_001 {
    margin-top: 12px;

}

.custom_chips_001 .chip {
    background-color: #e2e2e2;
    color: #343434;
    border: 1px solid #ccc;
    font-weight: 500;
    font-size: 13px;

}

.custom_chips_001 .chip-close {
    color: #343434;
}

.custom_chips_001 {
    padding: 0px !important;
    background-color: transparent !important;
    border: none !important;
}



.loader_container {
    width: 100%;
    height: auto;
    background: #dae7ff3b;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
}

.wave-loader {
    display: flex;
    align-items: center;
    gap: 4px;
}

.wave-loader span {
    display: inline-block;
    width: 6px;
    height: 35px;
    background: #08285e;
    border-radius: 3px;
    animation: wave 1s ease-in-out infinite;
}

.wave-loader span:nth-child(1) {
    animation-delay: 0s
}

.wave-loader span:nth-child(2) {
    animation-delay: .1s
}

.wave-loader span:nth-child(3) {
    animation-delay: .2s
}

.wave-loader span:nth-child(4) {
    animation-delay: .3s
}

.wave-loader span:nth-child(5) {
    animation-delay: .4s
}

@keyframes wave {

    0%,
    100% {
        transform: scaleY(0.4);
    }

    50% {
        transform: scaleY(1);
    }
}

@media (max-width: 576px) {

    .search-btn,
    .filter-btn {
        width: 32px;
        height: 32px;
        line-height: 32px;
    }

    .results {
        font-size: 12px;
        line-height: 20px;
    }

    .tab-btn {
        font-size: 11px;
        padding: 2px 6px;
    }

    .search-box input {
        font-size: 13px;
    }

    .search-box {
        padding: 4px 8px;
    }

    .search-box input {
        width: 50px;
    }

    .custom-modal-width {
        width: auto;
    }

    .custom-modal-width {
        max-width: 100% !important;
    }


}


.desc {
    word-break: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dept {
    word-break: break-word;
    overflow-wrap: break-word;
}

.page-nav-wrap ul {
    background: #fff;
    padding: 4px 4px;
    display: inline-flex;
    border-radius: 80px;
    border: 1px solid #fff0e3;
}

.badge-amtx {
    font-size: 13px;
    padding: 0px 12px;
    border-radius: 6px;
    font-weight: 500;
    background: #0b9c4126;
    color: #1a8642;
    border: 1px solid #1a8642bc;
}


:root {
    --bar-bg: #ffffff;
    --bar-border: #e8e8e8;
    --bar-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    --dropdown-border: #d8d8d8;
    --dropdown-text: #1a1a1a;
    --dropdown-caret: #888;
    --badge-bg: #fff4f2;
    --badge-border: #fdd0c8;
    --badge-dot: #d94f2e;
    --badge-label: #c0391a;
    --badge-text: #6b3328;
    --menu-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}


.filter-bar_custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bar-bg);
    border: 1px solid var(--bar-border);
    border-radius: 12px;
    padding: 8px 12px;

    width: 100%;

    gap: 16px;
}

/* Dropdown trigger */
.sort-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0;
    background: transparent;
    border: 1px solid var(--dropdown-border);
    border-radius: 8px;
    padding: 6px 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dropdown-text);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    white-space: nowrap;
    box-shadow: none !important;
    outline: none !important;
}

.sort-dropdown .dropdown-toggle:hover,
.sort-dropdown .dropdown-toggle:focus,
.sort-dropdown .dropdown-toggle.show {
    border-color: #b0b0b0;
    background: #f8f8f7;
    color: var(--dropdown-text);
}

.sort-dropdown .dropdown-toggle::after {
    display: none;
}

.sort-dropdown .btn-label {
    padding: 0 12px 0 14px;
}

.sort-dropdown .btn-divider {
    width: 1px;
    height: 18px;
    background: var(--dropdown-border);
    flex-shrink: 0;
}

.sort-dropdown .btn-caret {
    padding: 0 12px 0 10px;
    color: var(--dropdown-caret);
    font-size: 14px;
    line-height: 1;
}

/* Dropdown menu */
.sort-dropdown .dropdown-menu {
    border: 1px solid var(--dropdown-border);
    border-radius: 10px;
    box-shadow: var(--menu-shadow);
    padding: 6px;
    min-width: 160px;
    margin-top: 6px !important;
}

.sort-dropdown .dropdown-item {
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--dropdown-text);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.12s;
}

.sort-dropdown .dropdown-item:hover {
    background: #f3faff;
    color: #083259;
    font-weight: 500;
}

.sort-dropdown .dropdown-item.active {
    background: #f3faff;
    color: #083259;
    font-weight: 500;
}

.sort-dropdown .dropdown-item .check-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0;
}

.sort-dropdown .dropdown-item.active .check-icon {
    opacity: 1;
}





.tdr-err-wrapper {
    background: #fff5f5;
    border: 1px solid #fde0e0;
    border-radius: 16px;
    padding: 30px 40px;
    text-align: center;

    width: 100%;
}

.tdr-err-icon-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tdr-err-icon-wrap i {
    font-size: 45px;
    color: #e05a5a;
    opacity: 0.85;
}

.tdr-err-x-badge {
    position: absolute;
    top: -2px;
    left: -2px;
    font-size: 15px;
    font-weight: 700;
    color: #e05a5a;
    line-height: 1;
}

.tdr-err-heading {
    font-size: 22px;
    font-weight: 600;
    color: #e05a5a;
    margin-bottom: 4px;
}

.tdr-err-subtext {
    font-size: 14px;
    color: #e05a5a;
    opacity: 0.8;
    margin-bottom: 24px;
}

.tdr-err-retry-btn {
    background: #e05a5a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 4px 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease, transform 0.15s ease;
}

.tdr-err-retry-btn:hover {
    background: #c94646;
    transform: translateY(-1px);
}

.tdr-err-retry-btn:active {
    transform: translateY(0);
}

.tdr-err-retry-btn i {
    font-size: 13px;
}








.label_00x {
    font-size: 12px;
    color: #8a8a8a;
    margin-bottom: -4px;
    font-weight: 500;
}

.value_00cx {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.amount_00x {
    color: #16a34a;
}

.winner-box {
    border: 1px solid #d1fae5;
    background: #ecfdf5;
    border-radius: 12px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.winner-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trophy {
    width: 32px;
    height: 32px;
    background: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0e8d3d;
}

.winner-text h4 {
    font-size: 11px;
    font-weight: 600;
    color: #0e8d3d;
    margin-bottom: -2px;
}

.winner-text small {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}


@media (max-width: 768px) {
    .winner-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .btn-view {
        width: 100%;
    }
}

.icon-color-i00 {
    color: #e0751d;
    margin-right: 4px;
}


.badge-gray {
    font-size: 13px;
    padding: 0px 12px;
    border-radius: 6px;
    font-weight: 500;
    background: #f5f5f5;
    color: #505050;
    border: 1px solid #c0c0c0;
}