﻿.tab-scroll-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#marketTypeTabs {
    display: inline-flex;
    flex-wrap: nowrap;
    width: max-content;
    margin: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: auto;
    overflow-y: hidden;
}

    #marketTypeTabs::-webkit-scrollbar {
        display: none;
    }

    #marketTypeTabs:active {
        cursor: grabbing;
    }

    #marketTypeTabs .nav-link {
        border: none;
        color: #555;
        position: relative;
        background: transparent;
    }

        #marketTypeTabs .nav-link:hover {
            color: #000;
            border: none;
        }

        #marketTypeTabs .nav-link.active {
            color: var(--true-black);
            background: transparent;
            border: none;
        }

            #marketTypeTabs .nav-link.active::after {
                content: "";
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                height: 3px;
                background-color: #ff0000;
                border-radius: 10px 10px 0 0;
            }

.nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
}

    .nav-tabs .nav-link.active {
        border: none;
        border-bottom: 2px solid #0d6efd;
        color: #0d6efd;
    }

.bulletin-tab-arrow {
    position: absolute;
    top: 8px;
    bottom: 0;
    width: 32px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    background: #fff;
}

.left-arrow {
    left: 0;
    background: linear-gradient(to right, white 70%, rgba(255, 255, 255, 0));
}

.right-arrow {
    right: 0;
    background: linear-gradient(to left, white 70%, rgba(255, 255, 255, 0));
}

.filter-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 75px;
    background: var(--base-white);
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    z-index: 1000;
    padding: 0 0;
}

.filter-dropdown-item {
    padding: 6px 12px;
    cursor: pointer;
}

    .filter-dropdown-item:hover {
        background-color: var(--secondary-line);
    }

.filter-dropdown-arrow {
    transition: transform 160ms ease;
}

    .filter-dropdown-arrow.open {
        transform: rotate(180deg);
    }

.display-type-text-wrapper {
    position: relative;
    width: 80px;
    overflow: hidden;
    text-align: center;
}

#displayTypeText {
    display: inline-block;
    white-space: nowrap;
    transition: transform 180ms ease, opacity 180ms ease;
}

    #displayTypeText.slide-left {
        transform: translateX(-120%);
        opacity: 0;
    }

    #displayTypeText.slide-right {
        transform: translateX(120%);
        opacity: 0;
    }

.bulletin-search {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 75px;
    background: var(--base-white);
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    z-index: 1000;
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(0.6875rem, 0.85vw, 0.75rem);
    line-height: 1.2;
    color: var(--true-black);
    border: none;
}

    .bulletin-search::placeholder {
        font-family: "Barlow", sans-serif;
        font-weight: 500;
        font-style: normal;
        font-size: clamp(0.6875rem, 0.85vw, 0.75rem);
        line-height: 1.2;
        color: var(--medium-gray);
    }


.bulletin-comp-list {
    overflow-y: auto;
    max-height: 460px;
    padding-right: 4px;
}
.setting-checkbox {
    width: 30px;
    height: 30px;
    background: #FFFFFF;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    cursor: pointer;
}

.setting-checked {
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .setting-checked img {
        width: 12px;
        height: 12px;
    }
.comp-search-popup {
    top: calc(100% + 15px);
    left: 0;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    max-height: 600px;
}

.bulletin-comp-search {
    border: none;
}

    .bulletin-comp-search::placeholder {
        font-family: "Barlow", sans-serif;
        font-weight: 500;
        font-style: normal;
        font-size: clamp(0.6875rem, 0.85vw, 0.75rem);
        line-height: 1.2;
        color: var(--reading-gray);
    }

.search-div {
    transition: transform 180ms ease, background-color 180ms ease;
}

.search-div img {
    transition: transform 180ms ease, filter 180ms ease;
}

.search-div.active {
    background-color: var(--primary-color);
}

    .search-div.active img {
        filter: brightness(0) invert(1);
    }

.filter-div {
    transition: transform 180ms ease, background-color 180ms ease;
}

.filter-div.active {
    background-color: var(--primary-color);
}

filter-comp img {
    transition: transform 180ms ease, filter 180ms ease;
}

#filter-comp img.active {
    filter: brightness(0) invert(1);
}

.bulletin-comp-filter {
    cursor: default !important;

}

/*flatpcikr calendar position*/
.bulletin-date-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    height: 0;
    width: 0;
    top: 217px;
    left: 680px;
}

.flatpickr-calendar {
}

/*flatpickr calendar css*/

.flatpickr-calendar .numInputWrapper {
    /* display: none !important; */
    font-family: "Barlow", sans-serif !important;
        font-weight: 600 !important;
        font-style: normal !important;
        font-size: clamp(0.8125rem, 1vw, 0.875rem) !important;
        line-height: 1.2 !important;
        color: var(--true-black) !important;
}

.flatpickr-monthDropdown-months {
    font-family: "Barlow", sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
    font-size: clamp(0.8125rem, 1vw, 0.875rem) !important;
    line-height: 1.2 !important;
    color: var(--true-black) !important;
}

.flatpickr-monthDropdown-month {
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: clamp(0.6875rem, 0.85vw, 0.75rem);
    line-height: 1.2;
    color: var(--true-black);
}

.flatpickr-weekday {
    font-family: "Barlow", sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
    font-size: clamp(0.6875rem, 0.85vw, 0.75rem) !important;
    line-height: 1.2 !important;
    color: var(--true-black) !important;
}

.flatpickr-day {
    font-family: "Open Sans", sans-serif !important;
    font-weight: 500 !important;
    font-size: clamp(0.75rem, 0.95vw, 0.8125rem) !important;
    color: var(--true-black) !important;
}

    .flatpickr-day.flatpickr-disabled {
        color: rgba(57,57,57,0.1) !important;
    }

    .flatpickr-day.selected {
        background: var(--primary-color) !important;
        border-color: var(--primary-color) !important;
    }

    .flatpickr-day.today {
        border-color: var(--primary-color) !important;
    }

        .flatpickr-day.today:hover {
            background: rgb(217, 70, 70, 0.2) !important;
        }

        .flatpickr-day:hover {
            background: rgb(217, 70, 70, 0.2);
            border-color: rgb(217, 70, 70, 0.2) !important;
        }