@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-daymode: #F1F2F6;
    --bg-darkmode: #151428;
    --bg-card-day: #ddd;
    --bg-card-night: #545454;
    --bg-sidebar-day: #3A0F9E;
    --bg-sidebar-night: #22213b;
    --bg-menu-active: #3c3b62;
    --dark-bg-menu-active: #3d3a8e;
    --bg-filter-btn: #3C15A4;
    --bg-secondary: #f50743;
    --text-white: #fff;
    --text-black: #000;
    --text-primary: #2196F3;
    --dark-text-primary: #F5053D;
    --bg-input: #f1f2f6;
    --dark-bg-input: #151428;
    --badges-pending: #FFB400;
    --badges-inprogress: #F7688A;
    --badges-completed: #01b713;
    --badges-partials: #4a629c;
    --badges-canceled: #dc3545;
    --badges-processing: #F7688A;
    --home-hero-top-text: #ff004d;
    --home-btn-hover: #36118b;
    --primary-gradient: linear-gradient(267deg, #03A9F4 3.42%, #00b8ff 91.65%);
}

body {
    font-family: 'Poppins', sans-serif;
}

body.noAuth {
    background: #ffffff;
}

.hidden {
    display: none;
}

.dashboard {
    background: var(--bg-daymode);
}

#notLogin {
    padding-top: 73px;
}

#navbar {
    position: fixed;
    width: 100%;
    z-index: 99;
    box-shadow: 0 0 10px #d2d2d2;
}

#main_container .sidebar {
    position: fixed;
    width: 300px;
    min-height: 100vh;
    transition: 0.35s ease;
    z-index: 9999;
    top: 0;
    left: 0;
}

#main_container .sidebar .sidebar_top {
    padding: 0px 20px;
}

#main_container.toogle_sidebar .sidebar {
    transform: translate(-300px);
}

#main_container .sidebar_menu::-webkit-scrollbar {
    display: none;
}

.order_history {
    position: relative;
}

.order_history > button {
    width: 100%;
    border: transparent;
}

.order_history .dropdown-menu {
    width: 100%;
    position: relative;
    background: #f50743;
    border-color: transparent;
    border-width: 2px;
    border-radius: 10px;
    margin-bottom: 4px;
    padding: 5px;
}

#main_container .sidebar .logo {
    width: 85%;
    margin: 0 auto;
    margin-top: 5px;
    margin-bottom: 8px;
}

#main_container .sidebar .logo .logo_img {
    margin-top: 2px;
    margin-bottom: 10px;
}

a.navbar-brand img {
    max-width: 230px;
}

.dashboard #main_container .sidebar {
    background-image: linear-gradient( 89.5deg,  rgba(131,204,255,1) 0.4%, rgba(66,144,251,1) 100.3% );
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom right;
}

.dashboard.nightmode #main_container .sidebar {
    background: url(https://cdn.mypanel.link/agrmdw/di5o3mx3h3rlznac.png),linear-gradient(45deg, var(--bg-sidebar-night), var(--bg-sidebar-night));
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom right;
}

#main_container .content_area {
    width: 100%;
    min-height: 100vh;
    padding-left: 300px;
    transition: 0.35s ease;
    display: block;
}

#main_container .content_area .content {
    padding-top: 70px;
    width: 100%;
}

#main_container .content_area .top_header {
    position: fixed;
    width: calc(100% - 300px);
    height: 65px;
    z-index: 100;
    top: 0;
    right: 0;
    transition: 0.35s ease;
}

#main_container.toogle_sidebar .content_area .top_header {
    width: 100%;
}

.dashboard #main_container .top_header {
    background-image: linear-gradient( 89.5deg,  rgba(131,204,255,1) 0.4%, rgba(66,144,251,1) 100.3% );
} 

.dashboard.nightmode #main_container .top_header {
    background: var(--bg-sidebar-night);
    box-shadow: 0px -20px 20px var(--bg-darkmode);
}

#main_container.toogle_sidebar .content_area {
    padding-left: 0px;
}   

.dashboard #main_container .content_area {
    background: var(--bg-daymode);
}

.dashboard.nightmode #main_container .content_area {
    background: var(--bg-darkmode);
}

.nightmode h1,
.nightmode h2,
.nightmode h3,
.nightmode h4,
.nightmode h5,
.nightmode h6,
.nightmode p,
.nightmode ul,
.nightmode li,
.nightmode .help-block {
    color: #fff;
}

button.btn.btn-default.btn-big-secondary.clear-datetime {
    background: red;
    height: 100%;
    color: #fff;
}

.nav-pills .nav-link {
    color: var(--text-primary);
    border-radius: 10px;
    transition: 0.5s;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background: var(--text-primary);
}

.dashboard.nightmode .nav-pills .nav-link.active,.dashboard.nightmode .nav-pills .show>.nav-link {
    background: var(--dark-text-primary);
}

.tab_btn_wrap {
    background: #F6F3FA;
    display: inline-flex;
    padding: 10px;
    border-radius: 15px;
}

.tab_btn_wrap .nav-item input,
.tab_btn_wrap .nav-item input:focus {
    background: #dfdbf0;
}

.nightmode .tab_btn_wrap .nav-item input {
    background: #22213b;
}

.dashboard.nightmode .tab_btn_wrap {
    background: #151428;
}

.dashboard.nightmode .nav-pills .nav-link {
    color: #fff;
}

.dashboard label {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.35rem;
    font-size: 16px;
    font-weight: 500;
}

.dashboard.nightmode label {
    color: #fff;
}

.dashboard .form-group {
    margin-bottom: 1rem;
}

.dashboard .form-control {
    background: var(--bg-input);
    height: 45px;
    border-radius: 10px;
    border: none;
    color: var(--text-black);
    outline: 0 !important;
}

.dashboard .form-control:focus {
    background: var(--bg-input);
    box-shadow: none;
    border: 0;
}

.dashboard.nightmode .form-control {
    background-color: var(--dark-bg-input);
    color: #fff;
}

.dashboard .btn-primary {
    padding: 10px 10px;
    border-radius: 5px;
    font-size: 18px;
    color: #fff;
    border: none;
    font-weight: 700;
    box-shadow: 0 0 10px #a8a8a8c9;
}

.dashboard.nightmode .btn-primary {
    background: var(--primary-gradient);
    color: var(--bg-darkmode);
    box-shadow: none;
}

.user_data {
    background: var(--bg-menu-active);
    border-radius: 10px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.user_data .total_data {
    padding: 15px;
}

.nightmode .user_data {
    background: #312f50;
}

.user_data .user_wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.user_data .user_badges {  
    position: absolute;
    width: 160px;
    height: 25px;
    background: var(--primary-gradient);
    top: 22px;
    transform: rotate(45deg);
    right: -48px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
} 

.user_data .user_badges h4 {
    margin: 0;
    font-size: 14px;
    color: var(--text-white);
    font-weight: bold;
}

.nightmode .user_data .user_badges h4 {
    color: var(--bg-darkmode);
}

.user_data .user_info .msg {
    font-size: 18px;
    font-weight: 500;
    color: var(--bg-secondary);
}

.v2_avatar img {
    width: 85px;
    margin-bottom: 8px;
    border: 2px solid var(--text-primary);
    border-radius: 50px;
}

.v2_user_info h5 {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-transform: capitalize;
    margin: 0;
}

.user_data .user_info h2 {
    font-size: 20px;
    color: #fff;
    font-weight: 600;
}

.user_data .avatar {
    width: 60px;
}

.user_data .user_balance {
    min-width: 150px;
    padding: 5px 0;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: 5px;
}

.nightmode .user_data .user_balance {
    color: var(--bg-darkmode);
}

.sidebar_menu {
    margin-top: 25px;
    position: relative;
    overflow: auto;
    padding: 0px 20px;
}

.sidebar_menu .menu_item {
   background: transparent;
   text-decoration: none;
   color: #fff;
   display: flex;
   gap: 8px;
   padding: 5px 15px;
   margin-bottom: 4px;
   font-size: 15px;
   border-radius: 5px;
   cursor: pointer;
   transition: 0.3s;
}

.sidebar_menu .menu_item:hover {
    background: #83838347;
}

.sidebar_menu .menu_item.active {
    background: var(--bg-menu-active);
    border: 2px solid var(--bg-menu-active);
}

.nightmode .sidebar_menu .menu_item.active {
    background: var(--primary-gradient);
    color: var(--bg-darkmode);
}

.sidebar_menu .menu_item.active .menu_icon i {
    color: var(--text-white);
}

.nightmode .sidebar_menu .menu_item.active .menu_icon i {
    color: var(--bg-darkmode);
}

#page_info {
    display: flex;
    justify-content: center;
    margin: 10px 35px;
}

#page_info .item h4 {
    color: #232323;
    font-size: 18px; 
    font-weight: 500;
}

#page_info .item h4 .sp_text_primary {
    color: var(--bg-menu-active);
    font-weight: 800;
}

.nightmode #page_info .item h4 {
    color: #fff;
}

.nightmode #page_info .item h4 .sp_text_primary {
    color: var(--dark-text-primary);
}

.card.card_v2 {
    border-radius: 15px;
}

.card.card_v2 .card-body {
    padding: 1rem;
    margin: 0;
}

.dashboard .card.card_v2 {
    background: #fff;
    box-shadow: 0 5px 5px rgba(7, 7, 7, 10%);
    margin-bottom: 15px;
}

.card-body.shadow_top {
    box-shadow: inset 4px 10px 5px #9b9b9b;
    border-radius: 15px;
}

#table.services_page {
    padding: 10px;
}

#table .catetitle td {
    padding: 8px 10px;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: 0;
}

.dashboard.nightmode #table .catetitle td {
    background: var(--dark-text-primary);
    color: var(--bg-darkmode);
}

#table .table tr {
    background: #fff;
}

.dashboard.nightmode #table .table tr {
    background: #22213b;
    color: #fff !important;
}

#table .table tr:nth-child(even) {
    background: #e8edff;
}

.dashboard.nightmode #table .table tr:nth-child(even) {
    background: #121028;
}

.dashboard #table .btn-primary.btn_serv {
    font-size: 14px;
    width: 40px;
    height: 40px;
    color: #fff;
    border-radius: 50px;
    box-shadow: none;
    background: var(--text-primary);
}

.dashboard.nightmode #table .btn-primary.btn_serv {
    background: var(--dark-text-primary);
    color: var(--bg-darkmode);
}

.dashboard #table .btn-primary.btn_serv:hover {
    background: var(--bg-secondary);
    color: var(--bg-darkmode);
}

.dashboard.nightmode #table .btn-primary.btn_serv:hover {
    background: var(--dark-text-primary);
    color: var(--bg-darkmode);
}

.dashboard #table .btn-primary.btn_serv.btn_detail {
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group-btn > button {
    background: var(--text-primary);
    height: 100%;
    border-radius: 0px 10px 10px 0px;
    display: flex;
    align-items: center;
}

.input-group-btn > button i {
    color: #fff;
}

.dashboard.nightmode .input-group-btn > button {
    background: var(--dark-text-primary);
}

.noAuth #top_services {
    padding-top: 50px;
}

.service_button_filter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 50px));
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.service_button_filter .btn_ser_filter {
    background: gray;
    border: none;
    padding: 10px 0px;
    border-radius: 10px;
    box-shadow: none;
    color: #fff;
    font-size: 18px;
}

.btn_ser_filter.btn_all {
    background: var(--bg-secondary);
    color: #fff;
}

.dashboard.nightmode .btn_ser_filter.btn_all {
    background: var(--dark-text-primary);
}

.btn_ser_filter.btn_fb {
    background: #3B5998;
    color: #fff;
}

.btn_ser_filter.btn_tw {
    background: #1DA1F2;
    color: #fff;
}

.btn_ser_filter.btn_ig {
    background: linear-gradient(90.28deg, #5F1DB9 -5.68%, #BB2C96 49.27%, #e91034 99.81%);
    color: #fff;
}

.btn_ser_filter.btn_in {
    background: #1DA1F2;
    color: #fff;
}

.btn_ser_filter.btn_yt {
    background: #FF0000;
    color: #fff;
}

.btn_ser_filter.btn_sp {
    background: #f32c46;
    color: #fff;
}

.btn_ser_filter.btn_tik {
    background: #000;
}

.btn_ser_filter.btn_dis {
    background: #5865F2;
}

.btn_ser_filter.btn_traffic {
    background: #f5185a;    
    color: #232323;
}

.card {
    transition: 0.5s;
}

.dashboard.nightmode .card {
    background-color: var(--bg-sidebar-night);
}

.filter_btn_wrap {
    display: grid;
    gap: 10px 10px;
    grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
}

.filter_btn_wrap .btn_filter {
    font-size: 18px;
    text-transform: capitalize;
    border: none;
    padding: 3px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    color: #2196F3;
    background: #ffffff;
    transition: 0.4s;
}

.dashboard.nightmode .category_filter_wrap .card {
    background: transparent !important;
    box-shadow: none;
    border: none !important;
}

.category_filter_wrap .card.card_v2 {
    background: transparent;
    box-shadow: none;
    border: 0;
}

.category_filter_wrap .card.card_v2 .card-body {
    padding: 0 !important;
}

.dashboard.nightmode .filter_btn_wrap .btn_filter {
    background: var(--bg-sidebar-night);
    box-shadow: none;
    color: #fff;
}

.search-orders-at-new-order {
    margin-top: -5px;
    margin-bottom: 10px;
}

.dashboard.nightmode .filter_btn_wrap .btn_filter:hover,
.dashboard.nightmode .filter_btn_wrap .btn_filter.activeItem {
    background: var(--dark-text-primary);
    color: var(--text-black);
}

#minmax_value {
    color: #000;
}

.dashboard.nightmode #minmax_value {
    color: #fff;
}

.btn_filter:hover,
.btn_filter.activeItem {
   background: var(--text-primary);
   border-color: var(--text-primary);
   color: #fff;
}

.dashboard .details_data {
    margin-bottom: 15px;
}

.dashboard .details_2 {
    display: grid;
    grid-template-columns: repeat(2 , 1fr);
    gap: 15px;
}

.dashboard .details_data .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    gap: 15px;
    background: #f1f2f6;
    padding: 12px;
    border-radius: 15px;
}

.dashboard .details_data .item .item_left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard .details_data .item .item_left h3 {
    margin-bottom: 0px;
}

.dashboard.nightmode .details_data .item {
    background: var(--bg-darkmode);
}

.dashboard .details_data .item .icon {
    width: 30px;
    height: 30px;
    font-size: 13px;
    text-align: center;
    line-height: 30px;
    background: #4916bf1a;
    color: var(--text-primary);
    border-radius: 50px;
}

.dashboard.nightmode .details_data .item .icon {
    background: #22213b;
    color: var(--dark-text-primary);
}

.dashboard .descriptions_box {
    background: #f1f2f6;
    padding: 10px;
    border-radius: 15px;
}

.dashboard.nightmode .descriptions_box {
    background: var(--bg-darkmode);
    color: #fff;
}

.dashboard .details_data .item .item_content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.dashboard .details_data .item .item_content p {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

.dashboard.nightmode .details_data .item .item_content {
    color: #fff;
}

.top_head_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.top_head_wrap .item {
    display: flex;
    align-items: center;
}

.user_settings {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn_profiles {
    background: var(--primary-gradient);
    padding: 3px 6px;
    border-radius: 15px;
    color: var(--bg-sidebar-day);
    font-size: 18px;
    font-weight: bold;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

.day_night_btn {
    width: 70px;
    position: relative;
    background: #fff;
    display: flex;
    justify-content: space-around;
    font-size: 20px;
    border-radius: 50px;
    color: #3C15A4;
}

.logo_off_nav {
    display: none;
    padding: 10px;
    transition: 0.5s;
}

.toogle_sidebar .logo_off_nav {
    display: inline-block;
    margin-top: -5px;
}

.sidebar_menu_icon {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 30px;
    padding: 5px;
    cursor: pointer;
}

.close_btn_phone {
    display: none;
}

/* ================== রেসপনসিভ এরিয়া ================== */
@media only screen and (max-width: 991px) {
    #main_container .sidebar {
        transform: translate(-300px);
    }
    #main_container.toogle_sidebar .sidebar {
        transform: translate(0px);
    }

    .close_btn_phone {
        display: block;
        position: absolute;
        width: 30px;
        height: 30px;
        font-size: 20px;
        border-radius: 50px;
        border: none;
        right: 12px;
        top: 12px;
        background: #ff606069;
        color: #ff6060;
        cursor: pointer;
    }

    #main_container,
    #main_container .content_area,
    .dashboard #main_container .content_area {
        padding-left: 0px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: none !important;
    }

    #main_container .content_area .top_header {
        width: 100%;
        left: 0 !important;
    }
    
    .logo_off_nav {
        display: inline-block;
    }

    .dashboard .details_2 {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 550px) {
    .logo_off_nav img {
        width: 150px;
    }
    .filter_btn_wrap {
        grid-template-columns: repeat(4, 1fr);
        height: 150px;
        overflow-y: scroll;
        grid-gap: 8px 10px;
    }
    .filter_btn_wrap .btn_filter {
        font-size: 18px;
        padding: 5px;
    }
    .filter_btn_wrap .btn_filter .filter_txt {
        display: none;
    }
    .card.card_v2 .card-body {
        padding: 0.6rem;
    }
    .dashboard .details_data .item {
        height: 40px;
        gap: 10px;
        padding: 10px;
    }
}

.user_statistic_wraper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.user_statistic_wraper .statistic__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 15px 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px #e2e2e28f;
}

.statistic__item .icon {
    width: 45px;
}

.statistic__item .user__data span {
    font-size: 16px;
    font-weight: normal;
    color: #232323;
}

.statistic__item .user__data h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 0px;
}

.nightmode .user_statistic_wraper .statistic__item {
    background: #22213b;
    box-shadow: none;
}

.nightmode .statistic__item .user__data h4,
.nightmode .statistic__item .user__data span {
    color: #fff;
}

@media only screen and (max-width: 992px) {
    .user_statistic_wraper {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }  
}

@media only screen and (max-width: 550px) {
    .user_statistic_wraper {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
    .user_statistic_wraper .statistic__item {
        padding: 5px 10px;
    }
    .statistic__item .user__data h4,
    .statistic__item .user__data span {
        font-size: 13px;
    }
    .statistic__item .icon {
        width: 30px;
    }
}

.dashboard.nightmode .select2-results__option.active {
    background: var(--dark-text-primary);
    color: var(--bg-darkmode);
}

.dashboard.nightmode .nav-pills .nav-link.active, 
.dashboard.nightmode .nav-pills .show>.nav-link {
    background: var(--primary-gradient);
    color: var(--bg-darkmode);
}