@import "bootstrap/dist/css/bootstrap.min.css";
@import "font-awesome/css/font-awesome.min.css";
@import "jquery-ui/dist/themes/base/jquery-ui.css";
@import "datatables.net-bs5/css/dataTables.bootstrap5.min.css";
@import "../assets/switchery/switchery.min.css";
@import "../assets/malihu-custom-scrollbar/jquery.mCustomScrollbar.css";
@import "../assets/gentelella/css/custom.css";
@import "@fancyapps/ui/dist/fancybox/fancybox.css";
@import "choices.js/public/assets/styles/choices.min.css";

/* custom btn-xs class */
.btn-xs {
    padding: 0.25rem 0.4rem;
    font-size: 0.75rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

/* mCustomScrollbar theme customization for sidebar */
.left_col .mCSB_scrollTools {
    width: 6px;
    opacity: 0.75;
}

.left_col .mCSB_dragger {
    width: 6px;
}

.left_col .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background-color: rgba(0, 0, 0, 0.2);
    width: 6px;
}

.left_col:hover .mCSB_scrollTools {
    opacity: 1;
}

/* Ensure scroll-view has proper height */
.menu_fixed .scroll-view {
    height: 100%;
    overflow: hidden;
}

/* Collapsed mode scrollbar fix */
.nav-sm .menu_fixed .scroll-view {
    height: 100%;
}

/* Force mCustomScrollbar container to take full height */
.menu_fixed .scroll-view .mCustomScrollBox {
    height: 100% !important;
}

/* Placeholder styling */

::placeholder {
    color: #999 !important;
    opacity: 0.6 !important;
}

:-ms-input-placeholder {
    color: #999 !important;
    opacity: 0.6 !important;
}

::-ms-input-placeholder {
    color: #999 !important;
    opacity: 0.6 !important;
}

/* -----------------------------dashboard highchart css---------------------------------*/

h3.degree {
    font-size: 22px;
    font-weight: 400;
    text-align: center;
}

h5.degree {
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}

#container {
    height: 100%;
}

.highcharts-figure,
.highcharts-data-table table {
    min-width: 310px;
    max-width: 100%;
    margin: 1em auto;
}

.highcharts-data-table table {
    font-family: Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px solid #ebebeb;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
    font-weight: 600;
    padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}

.highcharts-table-caption {
    caption-side: top;
}

.highcharts-data-table table {
    text-align: left !important;
}

/* -------------------------------- module analystics------------------------------ */
.cstm_table tr th:last-child {
    width: 60px;
}

.ctsm_tr_bottom {
    border-bottom: 2px solid black;
}

.cstm_tr_th_right {
    border-right: 2px solid black !important;
}

.cstm_width {
    width: unset !important;
    margin-bottom: 5px !important;
}

.cstm-d-flex {
    display: flex;
}

.cstm_frm_grp {
    margin-top: 30px;
}

#feedbackDescription .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header {
    justify-content: space-between;
}

.modal-header button.close {
    border: unset;
    background-color: transparent;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    position: relative;
    z-index: 1;
    padding: 0;

}

.modal-header button.close span {
    font-size: 24px;
    position: relative;
    z-index: -1;
}

h3 {
    font-size: 24px;
}

.nav::after {
    display: table;
    content: "";
}

.nav::before {
    display: table;
    content: "";
}

.strikethrough {
    text-decoration: line-through !important;
}

@media (min-width: 768px) {
    .form-horizontal .control-label {
        text-align: right;
        margin-bottom: 0;
        padding-top: 7px;
    }
}

@media (max-width: 768px) {
    .user_funnel_set .col-xs-12 {
        max-width: 100%;
    }

    .user_funnel_set .col-md-12 .col-md-6 {
        width: 100%;
        max-width: 100%;
    }

    .user_funnel_set .item {
        display: block;
    }

    .user_funnel_set .item .control-label {
        float: unset;
        display: block;
        text-align: start;
    }
}

@media (max-width: 600px) {
    .update_xcontent form.form-horizontal .form-group {
        float: unset !important;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }
}

.text-bg-warning {
    color: #fff !important;
}

.alert-dismissible button.close {
    border: unset;
    background-color: transparent;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    position: relative;
    z-index: 1;
    padding: 0;
    margin: unset;
}

.alert-dismissible button.close span {
    font-size: 24px;
    position: relative;
    z-index: -1;
    color: #fff;
    top: 4px;
}

.nav_menu .navbar-nav .open .dropdown-menu {
    transform: translate(0px, 40px) !important;
}

.x_title.title_wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
}

.modules_lists .x_content {
    text-align: center;
}

.modules_lists .x_title h2 {
    color: #73879c;
}

.modules_lists .x_title {
    padding: 10px 20px !important;
}

span.log-lavel-color {
    color: unset !important;
}

/*  form responsive css start here */
@media screen and (max-width: 600px) {
    .x_content.responsive_form form .form-group {
        margin-bottom: 10px;
    }

    .x_content.responsive_form form .form-group:last-child {
        margin-bottom: 0px;
    }

    .x_content.responsive_form form .item label {
        display: block;
        width: 100%;
        margin-bottom: 5px;
    }

    .x_content.responsive_form form .item div {
        width: 100% !important;
    }

    .x_content.responsive_form form .item input {
        width: 100%;
    }

    .x_content.responsive_form form .item select {
        width: 100%;
    }

    .x_content.responsive_form form .form-group .col-md-offset-3 {
        margin-top: 15px;
    }
}

/* choice js */
.choices {
    height: 38px;
    /* same as .btn */
}

.choices[data-type="select-multiple"] {
    height: auto;
    min-height: 38px;
}

.choices__inner {
    min-height: 38px;
    height: 38px;
    padding: 0.375rem 0.75rem;
    /* Bootstrap form-control padding */
    display: flex;
    align-items: center;
    background-color: #fff;
    color: #000;
    border-radius: 0px;
}

.choices[data-type="select-multiple"] .choices__inner {
    height: auto;
    flex-wrap: wrap;
    padding: 0px 4px;
    background-color: #fff;
    border-color: #ccc;
}

.choices[data-type="select-multiple"] .choices__input {
    background-color: #fff;
    width: 100% !important;
    flex: 1 1 100%;
    margin-bottom: 0px;
}

/* Remove extra internal spacing */
.choices__list--single {
    padding: 0;
}

/* Align text properly */
.choices__item--selectable {
    line-height: 1.5;
}

.choices__list--dropdown,
.choices__list[aria-expanded] {
    z-index: 99;
    color: #000;
}

.choices__list--multiple {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 2px;
}

.choices__list--multiple .choices__item {
    padding: 2px 5px;
    font-size: 12px;
    margin-bottom: 0px;
    margin-right: 1px;
    margin-top: 0.5px;
}
