.cs_mb_2 {
    margin-bottom: 2px;
}
.cs_gap_y_20 {
    gap: 20px 0;
}
.cs_red_color {
    color: #d70015;
}

.cs_blue_color {
    color: #0040dd;
}

.cs_purple_color {
    color: #8944ab;
}

.cs_green_color {
    color: #33c759;
}

select {
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 5px 10px;
    padding-right: 24px;
    color: var(--secondary);
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--secondary) 50%), linear-gradient(135deg, var(--secondary) 50%, transparent 50%);
    background-position: calc(100% - 12px) calc(1em + 0px), calc(100% - 7px) calc(1em + 0px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    cursor: pointer;
}
select.cs_form_field {
    background-position: calc(100% - 18px) calc(1em + 5px), calc(100% - 13px) calc(1em + 5px);
}

.cs_auth_card {
    display: flex;
    min-height: 100vh;
    label {
        margin-bottom: 6px;
    }
    .cs_card_text_btn {
        color: var(--accent);
        &:hover {
            text-decoration: underline;
        }
    }
    .cs_card_left,
    .cs_card_right {
        flex: none;
        width: 50%;
    }
    .cs_card_left {
        padding-left: 15px;
        padding-right: 15px;
        min-width: 560px;
        @media (max-width: 991px) {
            min-width: 100%;
            width: 100%;
        }
    }
    .cs_card_right {
        background-color: var(--gray);
        @media (max-width: 991px) {
            display: none;
        }
    }
    .cs_card_card_in {
        width: 100%;
        padding: 50px 0;
    }
    .cs_card_card_out {
        height: 100%;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        max-width: 430px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        padding-top: 100px;
    }
    .cs_login_logo {
        position: absolute;
        left: 0;
        top: 50px;
    }
}
.cs_card_row_1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px 10px;
}
.cs_custom_checkbox {
    display: inline-block;
    position: relative;
    .cs_custom_checkbox_input {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        opacity: 0;
        cursor: pointer;
        &:checked {
            + .cs_custom_checkbox_label {
                &::before {
                    border-color: var(--accent);
                    background-color: var(--accent);
                }
                &::after {
                    opacity: 1;
                }
            }
        }
    }
    .cs_custom_checkbox_label {
        padding-left: 26px;
        position: relative;
        margin: 0 !important;
        &::before {
            content: "";
            height: 18px;
            width: 18px;
            border: 1px solid var(--border);
            position: absolute;
            left: 0;
            top: 4px;
            border-radius: 4px;
            transition: all 0.3s ease;
        }
        &::after {
            content: "";
            height: 10px;
            width: 6px;
            border: 2px solid #fff;
            border-left: none;
            border-top: none;
            position: absolute;
            left: 6px;
            top: 6px;
            transform: rotate(40deg);
            opacity: 0;
            transition: all 0.3s ease;
        }
    }
    a {
        position: relative;
        z-index: 2;
        &:hover {
            text-decoration: underline;
            color: var(--accent);
        }
    }
}
.cs_social_btns {
    display: flex;
    display: flex;
    gap: 10px;
    .cs_social_btn {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        line-height: 1.6em;
        border: 1px solid var(--border);
        padding: 11px 10px;
        border-radius: 20px;
        i {
            font-size: 16px;
        }
        &:hover {
            border-color: var(--primary);
            color: var(--primary);
        }
    }
    .cs_social_btn_facebook {
        i {
            color: #0866ff;
        }
    }
    .cs_social_btn_google {
        i {
            color: #ea4335;
        }
    }
}
.cs_or_login {
    text-align: center;
    span {
        display: inline-block;
        position: relative;
        padding: 0 12px;
        &::before,
        &::after {
            content: "";
            height: 1px;
            width: 35px;
            background-color: var(--border);
            position: absolute;
            top: 50%;
        }
        &::before {
            left: 100%;
        }
        &::after {
            right: 100%;
        }
    }
}

@media screen and (min-width: 1200px) {
    .cs_site_header.cs_style_1 {
        .cs_main_header_center {
            max-width: initial;
            width: max-content;
        }
    }
}
.cs_header_btn_group {
    display: flex;
    align-items: center;
    gap: 30px;
    @media (max-width: 1400px) {
        gap: 20px;
    }
    @media (max-width: 1199px) {
        gap: 20px;
    }
}

.cs_dropdown_tobble_btn {
    padding: 0;
    display: flex;
    border: none;
    background-color: transparent;
    font-size: 20px;

    &::after {
        content: "";
        display: inline-block;
        height: 6px;
        width: 6px;
        border: 2px solid currentColor;
        transform: rotate(45deg);
        border-left: 0;
        border-top: 0;
        margin-left: 5px;
        position: relative;
        top: 6px;
        border-radius: 0px 0px 2px 0px;
        transition: all 0.3s ease;
    }
    &.active {
        &::after {
            transform: rotate(-135deg);
            top: 7px;
        }
    }
}
.cs_dropdown_wrap {
    position: relative;
}
.cs_dropdown_list {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #fff;
    width: 200px;
    margin-top: 20px;
    padding: 10px 0;
    border-radius: 0 0 7px 7px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    border-top: 2px solid var(--accent);
    box-shadow: 0px 1px 2px 0px rgba(2, 0, 181, 0.1);
    font-size: 15px;
    &.active {
        opacity: 1;
        visibility: visible;
    }
    li {
        &:not(:last-child) {
            margin-bottom: 1px;
        }
    }
    a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 5px 20px;
        &:hover {
            background-color: var(--gray);
        }
    }
    .active {
        a {
            color: var(--accent);
            background-color: var(--gray);
        }
    }
}
.cs_main_header_left {
    .cs_dropdown_list {
        right: initial;
        left: 0;
    }
}
@media (max-width: 1320px) {
    .cs_main_header_center + .cs_main_header_right .cs_btn.cs_style_2 {
        display: none;
    }
}
@media (max-width: 767px) {
    .cs_site_header.cs_style_2.cs_type_1 {
        .cs_main_header_center {
            .cs_site_branding {
                position: absolute;
                right: 15px;
                top: 50%;
                transform: translateY(-50%);
            }
        }
    }
}

@media (max-width: 991px) {
    .cs_site_header.cs_style_2 {
        .cs_header_login_btn,
        .cs_dropdown_tobble_btn {
            color: #fff;
        }
    }
}
.cs_dashboard_wrap {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    @media (max-width: 1199px) {
        gap: 25px;
    }
    @media (max-width: 991px) {
        flex-direction: column;
        .cs_dashboard_left {
            width: 100%;
        }
    }
}
.cs_dashboard_nav {
    border: 1px solid var(--border);
    padding: 20px 30px;
    flex: none;
    width: 360px;
    @media (max-width: 1199px) {
        width: 280px;
    }
    @media (max-width: 991px) {
        width: 100%;
    }
    li {
        &:not(:last-child) {
            border-bottom: 1px solid var(--border);
        }
        a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 0px;
        }
    }
    .active {
        a {
            color: var(--accent);
        }
    }
}
.cs_dashboard_right {
    flex: 1;
    @media (max-width: 991px) {
        width: 100%;
    }
}
.cs_admin_iconbox {
    display: flex;
    align-items: center;
    gap: 15px;
    .cs_admin_iconbox_icon {
        flex: none;
        width: 65px;
        height: 65px;
        border-radius: 50%;
        flex: none;
        border: 1px solid var(--border);
        border-radius: 15px;
        // color: var(--accent);
        font-size: 28px;
    }
}

.cs_table_1 {
    min-width: 550px;
    font-size: 15px;
    @media (max-width: 575px) {
        font-size: 14px;
    }
    img {
        height: 50px;
    }
    td,
    th {
        padding: 15px 7px;
        @media (min-width: 576px) {
            &:first-child {
                padding-left: 20px;
            }
            &:last-child {
                padding-right: 20px;
            }
        }
    }
    th {
        color: var(--primary);
        font-weight: 500;
        border-top: none;
        // background-color: var(--gray);
    }
    tbody {
        tr {
            &:hover {
                background-color: var(--gray);
            }
        }
    }
}
.cs_table_1_footer {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    border-top: 1px solid var(--border);
    font-size: 15px;
    .page-link {
        color: var(--secondary);
        border-color: var(--border);
        padding: 5px 5px;
        min-width: 40px;
        text-align: center;
        i {
            font-size: 14px;
        }
        &:focus {
            box-shadow: none;
        }
    }
    a.page-link {
        &:hover {
            color: var(--accent);
        }
    }
    .active > .page-link,
    .page-link.active {
        background-color: var(--accent);
        color: #fff;
        margin-top: 0;
        margin-bottom: 0;
        padding: 5px 5px;
        border-color: transparent;
        &:hover {
            color: #fff;
        }
    }
}
.cs_table_wrap {
    border: 1px solid var(--border);
    border-radius: 5px;
    // overflow: hidden;
}
.cs_dashboard_card {
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 30px;
    label {
        margin-bottom: 5px;
    }
}
.cs_icon_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    height: 32px;
    width: 32px;
    border: 1px solid var(--ternary);
    background-color: transparent;
    border-radius: 5px;
    flex: none;
    outline: none;
    &:hover {
        border-color: var(--accent);
        color: var(--accent);
    }
}
.cs_icon_btn_group {
    display: inline-flex;
    gap: 5px;
}
.rc-slider-handle {
    border-color: var(--primary) !important;
    opacity: 1 !important;
    &.rc-slider-handle-dragging {
        box-shadow: 0 0 0 4px var(--border) !important;
    }
}
.rc-slider-track,
.rc-slider-tracks {
    background-color: var(--primary) !important;
}
.rc-slider-rail {
    background-color: var(--border) !important;
}
.cs_modal_close {
    display: inline-flex;
    height: 30px;
    width: 30px;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 1px solid currentColor;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--ternary);
    &:hover {
        color: #d70015;
    }
}
.cs_modal_overlay {
    position: fixed;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(4px);
    background: rgba(0, 0, 0, 0.9);
    cursor: zoom-out;
}
.cs_link_btn {
    cursor: pointer;
    transition: all 0.3s ease;
    &:hover {
        color: var(--accent);
    }
}
.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    transition: all 0.3s ease;
    &:hover {
        background-color: var(--primary);
        border-color: var(--primary);
    }
}
