@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');

:root {
    --theme-color: #c7a874;
    --theme-color-dark-1: #be944b;
    --theme-color-light-1: #dbc296;
    --gray-1: rgb(216, 216, 216);
    --lightblue-1: rgb(245, 245, 255);
    --font-color-reset: rgb(63, 63, 63);
    --theme-font-weight: 300;

    /* sidebar */
    --sidebar-padding: 0px;
    --sidebar-head-display: none;
    --sidebar-menu-width: 0px;
    --sidebar-menu-opacity: 0;
    --sidebar-menu-top: 70px;
    --sidebar-menu-padding: 20px;
    /* end sidebar */

    /* nav */
    --nav-logo-display: block;
    /* end nav */

    /* main  */
    --main-calc-width: 0px;
    /* end main */
}


/* // Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    :root {
        --sidebar-head-display: flex;
        --nav-logo-display: none;
        --sidebar-menu-top: 0px;
    }

    main.has_side {
        --main-calc-width: 210px;
    }

    #sidebar_toggle_icon {
        width: 20px;
        height: 20px;
    }
}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {}

/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) {}

/* // X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}

/* // XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {}



/* Setups */
body {
    background-color: var(--lightblue-1);
    font-family: "Poppins", sans-serif;
    font-weight: var(--theme-font-weight);
    font-style: normal;
    color: var(--font-color-reset);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--font-color-reset);
}

table td,
table th {
    vertical-align: middle;
    white-space: nowrap;
}

th {
    color: var(--font-color-reset) !important;
    font-weight: 500;
}

a {
    font-weight: var(--theme-font-weight);
}

select {
    font-weight: var(--theme-font-weight) !important;
}

.wrapper {
    width: 100%;
    display: flex;
    position: relative;
}

main {
    width: 100%;
}

.sidebar.open {
    --sidebar-padding: 20px;
    --sidebar-menu-width: 210px;
    --sidebar-menu-opacity: 1;
    --sidebar-menu-width: 210px;
}

.sidebar_menu {
    width: var(--sidebar-menu-width);
    height: 100%;
    position: fixed;
    top: var(--sidebar-menu-top);
    left: 0;
    background-color: white;
    border-right: 1px solid var(--gray-1);
    transition: 0.3s;
    opacity: var(--sidebar-menu-opacity);
    z-index: 9999;
}

.sidebar_head {
    padding: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-1);
    display: var(--sidebar-head-display);
    align-items: center;
    overflow: hidden
}

.sidebar_logo {
    width: 100%;
    transition: 0.3s;
    opacity: var(--sidebar-menu-opacity);
}

.sidebar_body {
    list-style: none;
    overflow-y: scroll;
    height: calc(100% - 80px); /* Adjust height to make room for user profile section */
    padding: 0px;
    padding-bottom: 20px;
}

.sidebar_menu {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sidebar_body li {
    padding: 0px 20px 0px 20px;
}

.sidebar_body li:hover,
.sidebar_body li:active,
.sidebar_body li.active {
    background-color: var(--lightblue-1);
}

.sidebar_body li .sdlink {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
    cursor: pointer;
    padding: 12px 0px 12px 0px;
    transition: 0.3s;
}

.sb_sub_menu {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.sb_sub_menu_content {
    padding: 0px 0px 0px 32px;
    list-style: none;
}

.sb_collapse_icon {
    width: 20px !important;
    height: 20px !important;
    transition: 0.3s;
}

.sb_collapse_icon.down {
    transform: rotate(90deg);
}

.navbar {
    background-color: white;
    position: sticky;
    top: 0;
    border-bottom: 1px solid var(--gray-1);
    padding: 20px;
    z-index: 9999;
}

.nav_logo {
    height: 27px;
    display: var(--nav-logo-display);
}

.nav_profile {
    border-left: 1px solid var(--gray-1);
    padding-left: 15px;
    cursor: pointer;
}

.nav_profile .photo {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    border: 1px solid var(--gray-1);
    overflow: hidden;
    position: relative;
}

.nav_profile .photo img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.profile_dropdown a {
    transition: 0.3s;
}

.profile_dropdown :hover {
    background-color: var(--lightblue-1);
}

main {
    width: calc(100% - var(--main-calc-width));
    margin-left: var(--main-calc-width);
    transition: 0.3s;
}

.footer {
    background-color: white;
    padding: 20px;
}

.feather_icon {
    width: 16px;
    height: 16px;
}

/* Utils */
.icon_btn,
.btn {
    transition: 0.3s;
    cursor: pointer;
}

.icon_btn:hover,
.btn:hover {
    transform: scale(95%);
}

.icon_btn:active,
.btn:active {
    transform: scale(90%);
}

/* .hide_scroll,
.table-responsive {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide_scroll::-webkit-scrollbar,
.table-responsive::-webkit-scrollbar {
    display: none;
} */
* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

*::-webkit-scrollbar {
    display: none;
}

.a_reset {
    text-decoration: none;
    color: inherit;
}

.color_theme {
    color: var(--theme-color);
}

.bg_color_theme {
    background-color: var(--theme-color);
}

.border_theme {
    border-color: var(--theme-color) !important;
    border-width: 2px !important;
}

.upload_file {
    width: 100%;
    height: 150px;
    border: 1px solid rgb(223, 223, 223);
    background-image: url('/entercode-dashboard/assets/images/upload_icon.svg');
    background-size: 15%;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    white-space: pre-line;
}

.upload_file:hover {
    background-color: var(--lightblue-1);
}

.upload_file.has-image {
    background-size: contain;
}

.table-responsive,
.table-transparent,
.table-transparent th,
.table-transparent td {
    background-color: rgba(255, 255, 255, 0);
}

.bg_transparent_1 {
    background-color: rgba(255, 255, 255, 0.623);
}

.bg_transparent_1.important {
    background-color: rgba(255, 255, 255, 0.623) !important;
}

.required:after {
    content: " *";
    color: red;
}

/* overide */
.card {
    border: none;

}

.card-header {
    background-color: white;
    font-weight: 500;
    color: var(--font-color-reset);
}

.table-hover>tbody>tr:hover>* {
    --bs-table-bg-state: var(--lightblue-1)
}

.badge {
    font-weight: 500;

    padding-top: 7px;
}

.badge.bg-success {
    background-color: rgba(0, 255, 34, 0.205) !important;
    color: rgb(0, 172, 23);
}

.badge.bg-warning {
    background-color: rgba(251, 255, 0, 0.404) !important;
    color: rgb(173, 133, 0);
}

.badge.bg-danger {
    background-color: rgba(255, 0, 0, 0.322) !important;
    color: rgb(211, 0, 0);
}

a,
.form-control,
.form-select,
.btn,
.btn-close {
    box-shadow: none !important;

    outline: none;
}

.btn {
    font-weight: var(--theme-font-weight);
}

.btn.btn-primary,
.btn.btn-primary:hover,
.btn.btn-primary:active {
    background-color: rgb(112, 96, 255);
    border-color: rgb(112, 96, 255);
}

.btn.btn-warning,
.btn.btn-warning:hover,
.btn.btn-warning:active {
    background-color: rgb(255, 208, 80);
    border-color: rgb(255, 208, 80);
}

.btn.btn-success,
.btn.btn-success:hover,
.btn.btn-success:active {
    background-color: rgb(78, 230, 65);
    border-color: rgb(78, 230, 65);
}

.btn.btn-danger,
.btn.btn-danger:hover,
.btn.btn-danger:active {
    background-color: rgb(248, 78, 78);
    border-color: rgb(248, 78, 78);
}

.btn.btn-info,
.btn.btn-info:hover,
.btn.btn-info:active {
    background-color: rgb(124, 224, 255);
    border-color: rgb(124, 224, 255);
}

.btn.btn-secondary,
.btn.btn-secondary:hover,
.btn.btn-secondary:active {
    background-color: rgb(161, 161, 161);
    border-color: rgb(161, 161, 161);
}

.btn.btn_theme,
.btn.btn_theme:hover,
.btn.btn_theme:active {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    color: white;
}

.select2-container .select2-selection--single {
    height: 38px;

    border-color: var(--gray-1);
    display: flex;
    align-items: center;
}

.select2-container .select2-selection__rendered {
    line-height: 38px;

    border-color: var(--gray-1);
    font-size: 16px;
}

.select2-container {
    z-index: 10001;
}

.ck-editor__editable {
    min-height: 200px;
}

.modal {
    z-index: 10003;
}

.modal-backdrop {
    z-index: 10002;
}

.offcanvas {
    z-index: 10001;
}

.offcanvas-backdrop {
    z-index: 10000;
}

.modal-content {
    border-radius: 0px;
}

.select2-container--open {
    z-index: 10004 !important;
}


.active>.page-link,
.page-link.active {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    color: white !important;
}

.page-link {
    color: var(--theme-color) !important;
}
