* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: subpixel-antialiased;
    font-size: 14px;
    line-height: 120%;
    color: var(--gray-700);
}
*:focus {
    outline: none;
}
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 1,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}
body {
    position: relative;
    min-height: 100vh;
/*    background-color: var(--gray-50);*/
}
.mgb_2 {
    margin-bottom: 6px;
}
.mgb_4 {
    margin-bottom: 12px;
}
.mgb_20 {
    margin-bottom: 20px;
}
.mgt_20 {
    margin-top: 20px;
}
/*SIDEBAR*/
.sidebar_main_wrapper {
    width: 260px;
    height: 100vh;
    background-color: #fff;
    position: fixed;
    border-right: 1px solid var(--stale-100);
}
.sidebar_top {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0px 16px;
/*    border-bottom: 1px solid var(--gray-100);*/
}
.sidebar_top_title {
    font-weight: 600;
    color: var(--stale-900);
} 
.sidebar_middle .sidebar_subtitle:not(:first-child) {
    margin-top: 15px;
}
.sidebar_middle {
    overflow-y: auto;
    height: calc(100vh - 60px);
    padding-top: 11px;
}
/* width */
/*
.sidebar_middle::-webkit-scrollbar {
    width: 4px;    
}
*/

/* Track */
/*
.sidebar_middle::-webkit-scrollbar-track {
    background: var(--gray-100);
}
*/
 
/* Handle */
/*
.sidebar_middle::-webkit-scrollbar-thumb {
    background: var(--gray-200);
    border-radius: 6px;
}
*/

/* Handle on hover */
/*
.sidebar_middle::-webkit-scrollbar-thumb:hover {
    background: var(--gray-300);
}
*/
.sidebar_box {
    padding: 0px 8px;
}
.sidebar_box .sidebar_link_box:not(:last-child) {
    margin-bottom: 2px;
}
.sidebar_subtitle {
    padding: 11px 16px;
}
.sidebar_subtitle h5 {
    font-weight: 500;
    color: var(--stale-900);
    text-transform: uppercase;
}
.sidebar_link_box {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    padding: 11px 8px 11px 16px;
    background-color: var(--white);
    border: 0px;
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
    color: var(--stale-700);
}
.sidebar_link_box:hover {
    background-color: var(--gray-50);
}
.sidebar_link_box.active {
    background-color: var(--gray-50);
    color: var(--blue-500);
}
.sidebar_link_title {
    color: inherit;
}
.sidebar_link_icon {
    display: inline-flex;
    color: inherit;
    padding-right: 6px
}
.sidebar_link_icon_dropdown {
    display: inline-flex;
    color: inherit;
    margin-left: auto;
}
.sidebar_link_icon i, .sidebar_link_icon_dropdown i {
    font-size: 18px;
    line-height: 100%;
    color: inherit;
}
.sidebar_dropbox {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    opacity: 0;
    display: block;
}

.sidebar_dropbox.active {
    max-height: 500px; /* Ustaw maksymalną wysokość, jaką dropbox może osiągnąć (dostosuj w zależności od potrzeb) */
    opacity: 1;
}
.sidebar_dropbox .sidebar_link_box {
    padding-left: 38px;
}
.sidebar_dropbox .sidebar_link_box .sidebar_link_title {
    font-size: 12px;
}
.sidebar_dropbox .sidebar_link_box .sidebar_link_icon i {
    font-size: 10px;
}
.sidebar_marketing_wrapper {
    padding: 11px 16px;
    margin-top: 15px;
}
.sidebar_marketing_box {
    padding: 32px 0px;
    border-radius: 5px;
    background-color: var(--blue-500);
}
.sidebar_marketing_img {
    padding: 0px 32px;
}
.sidebar_marketing_img img{
    width: 100%;
}
.sidebar_marketing_box {
    text-align: center;
}
.sidebar_marketing_title, .sidebar_marketing_desc {
    padding: 0px 16px;
}
.sidebar_marketing_title h5{
    color: var(--white);
}
.sidebar_marketing_desc {
    color: var(--white);
}
/*NAVIGATOR*/
.navigator_wrapper {
    height: 60px;
    position: fixed;
    top: 0px;
    left: 260px;
    right: 0px;
    z-index: 998;
    background-color: #fff;
/*    border-bottom: 1px solid var(--gray-100);*/
    box-shadow: rgba(149, 157, 165, 0.05) 0px 4px 6px;
}
.navigoator_box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0px 32px 0px 0px;
    height: 100%;
}
.navigator_left {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-left: 32px;
}
.btn_navigator_wrapper {
    display: flex;
    flex-direction: row;
}
.btn_navigator_wrapper .navigoator_right_button:not(:last-child) {
    margin-right: 12px;
}
.btn_navigator_1 {
    display: inline-flex;
    align-items: center;
    padding: 8px 24px;
    height: 60px;
    margin-bottom: 1px;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
}
.btn_navigator_1:hover {
    background-color: var(--gray-50);
    
}
.btn_navigator_1.active {
    color: var(--blue-500);
    border-bottom: 2px solid var(--blue-500);
}
.btn_navigator_icon {
    color: inherit;
    display: inline-flex;
    margin-right: 6px;
}
.btn_navigator_icon i{
    color: inherit;
    font-size: 18px;
}
.navigoator_right_box {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.navigator_user_wrapper, .navigator_user_box {
    display: flex;
    align-items: center;
}
.navigator_user_box {
    cursor: pointer;
    text-decoration: none;
}
.navigator_user_box:hover .navigator_user_name span, .navigator_user_box:hover .navigator_user_icon i {
    color: var(--stale-950);
}
.navigoator_devider {
    height: 30px;
    width: 1px;
    background-color: var(--gray-200);
    margin-left: 12px;
    margin-right: 12px;
}
.navigator_user_img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray-200);
    margin-right: 12px;
}
.navigator_user_name {
    margin-right: 6px;
}
.navigator_user_icon i, .navigator_user_icon{
    font-size: 16px;
    width: 16px;
    height: 16px;
}
.navigoator_right_button {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-color: var(--gray-100);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--stale-700);
    text-decoration: none;
    cursor: pointer;
}
.navigoator_right_button:hover {
    background-color: var(--gray-200);
}
.navigoator_right_button span {
    font-size: 20px;
}
/*FOOTER*/
.footer_wrapper {
    padding-left: 260px;
}
.footer_box {
    padding: 0px 32px 16px 32px;
    display: flex;
    justify-content: space-between;
}
.footer_box_list {
    display: flex;
    align-items: center;
    height: 100%;
}
.footer_box_list li:not(:last-child) {
    padding-right: 32px;
}
.footer_box_list li {
    position: relative;
    list-style: none
}
.footer_box_list li:not(:last-child)::after {
    position: absolute;
top: calc(50% - 0.15625rem);
inset-inline-end: 0.84375rem;
width: 0.3125rem;
height: 0.3125rem;
background-color: #bdc5d1;
border-radius: 0.3125rem;
content: "";
}
.footer_box_list li a {
    text-decoration: none;
}
.footer_box_list li a:hover {
    color: var(--blue-500);
}
.footer_version_box {
    border: 1px solid var(--blue-500);
    border-radius: 5px;
    padding: 6px 12px;
    background-color: var(--blue-50);
    color: var(--blue-500);
}
/*MAIN SIDE*/
.body-modal-active {
    height: 100%;
    overflow-y: hidden;
}
.main_wrapper{
    padding-top: 60px;
    padding-left: 260px;
}
.main_box {
    padding: 20px 40px;
}
.page_header {
    padding-bottom: 16px;
    justify-content: space-between;
}
.page_header ,.table_action {
    -moz-column-gap: 8px;
    column-gap: 8px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
.page_footer {
    
}
.card {
    border: 1px solid var(--gray-300);
    border-radius: 8px;
}
.card_box {
}
.card-header {
    padding: 24px 28px 0px;
}
.card-header-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.card-header-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.card-body {
    padding: 24px 28px;
}
.filter-bar{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    -moz-column-gap: 8px;
    column-gap: 8px;
} 
.filter-search {
    width: 100%;
    flex-grow: 1;
}
.filter-search .input_box input{
    width: 100%;
}
.table {
    border-collapse: collapse;
    text-align: left;
}
.table thead tr th{
    font-weight: 300;
    color: var(--gray-500);
    padding-right: 24px;
    padding-bottom: 8px;
    font-size: 1rem; /* 16px */
    line-height: 1.5rem; /* 24px */
    white-space: nowrap;
}
.table thead tr th:last-child, .table tbody tr td:last-child{
    padding-right: 0px;
}
.table tbody tr td{
    font-weight: 300;
    color: var(--gray-700);
    padding-right: 24px;
    padding-bottom: 8px;
    font-size: 1rem; /* 16px */
    line-height: 1.5rem; /* 24px */
    white-space: nowrap;
}
.table-product-main {
    padding: 8px 0px;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
.table-product-type-icon {
    width: 48px;
    height: 48px;
    background-color: var(--gray-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}
.table-status-text {
    color: inherit;
}
.table-product-text-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.col-grow {
    width: 100%;
}
/*MODAL*/
.modal.active {
    opacity: 1;
    visibility: visible;
}
.modal {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 9997;
    overflow-x: hidden;
    overflow-y: auto;
} 
.modal-box {
    display: flex;
    justify-content: center; /* aligns on vertical for column */
    height: 100%;
    width: 100%;
}
.modal-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.30);
    width: 100%;
    height: 100%;
    z-index: 9997;
} 
.modal-content {
    display: block;
    z-index: 9998;
    max-width: 640px;
    width: 100%;
    background-color: #fff;
    border-radius: 12px;
    flex-grow: 0;
    margin: 32px 8px auto;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}
.modal.active .modal-content {
    transform: translateY(0);
}
.modal-header{
    padding: 32px 32px 0px;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: center;
} 
.modal-close-button {
    height: 36px;
    width: 36px;
    border-radius: 8px;
    background-color: transparent;
    border: 0px;
    display: flex;
    justify-content: center;
    color: var(--gray-500);
    cursor: pointer;
    align-items: center;
} 
.modal-close-button:hover {
    background-color: var(--gray-200);
}
.modal-body {
    padding: 32px 32px;
}
.section-modal {
    padding-bottom: 32px;
}
.product-modal-types {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.product-modal {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}
.product-modal:not(:last-child) {
    margin-bottom: 6px;
}
.section-modal-header{
    padding-bottom: 12px;
} 
.section-modal input[type="text"]{
    width: 100%;
}
.modal-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    width: 100%;
    -moz-column-gap: 8px;
    column-gap: 8px;
}
.page-header-sub-navigation {
    display: flex;
    flex-direction: row;
    padding-bottom: 2px;
}
.page-header-sub-navigation a {
    color: var(--gray-600);
    text-decoration: none;
}
.page-header-sub-navigation a:hover {
    color: var(--gray-950);
}
.page-header-sub-navigation span {
    color: var(--gray-400);
}
.page-header-sub-navigation div {
    padding: 0px 6px;
}
.page_nav_tabs {
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--gray-300);
    margin-bottom: 20px;
    padding-bottom: 7px;
}
.page_nav_tabs ul {
    display: flex;
    flex-direction: row;
    list-style-type: none;
}
.nav-link-tabs:not(:last-child) {
    margin-right: 20px;
}
.nav-link-tabs a{
    padding-bottom: 8px;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    color: var(--gray-600);
    transition: all 0.1s ease-in;
}
.nav-link-tabs a:hover, .nav-link-tabs.active a {
    color: var(--gray-950);
    border-color: var(--gray-950);
}
.page-button-box {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    -moz-column-gap: 8px;
    column-gap: 8px;
}
.draggable_box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.draggable_box_section, .draggable_box_file_section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.draggable_button, .draggable-button-section {
    margin-right: 8px;
    cursor: grab;
    margin-top: 3px;
}
.draggable_item {
    
}
.draggable_active{
    box-shadow: 0 0px 6px -1px rgb(0 0 0 / 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
} 
.lesson-box {
    padding: 4px 4px 4px 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    list-style-type: none;
    border-radius: 8px;
}
.lesson-icon {
    height: 36px;
    min-width: 36px;
    width: 36px;
    border-radius: 8px;
    background-color: var(--gray-100);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    margin-right: 8px;
} 
.lesson-box-text {
    width: 100%;
    display: flex;
    flex-direction: row;
}
.text-limited {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}
.lesson-box-text .lesson-text:not(:last-child)::after {
    padding-right: 8px;
    padding-left: 8px;
    content: "•"
}
.lesson-button-box {
    padding-top: 8px;
    padding-left: 35px;
}
.dropdown-wrapper {
    display: inline-flex;
    position: relative;
}
.dropdown-header.btn_xs + .dropdown-box{
    top: 36px;
}
.dropdown-header.btn_s + .dropdown-box{
    top: 36px;
    padding: 6px 14px;
}
.dropdown-header.btn_m + .dropdown-box{
    top: 40px;
    padding: 8px 18px;
}
.dropdown-header.btn_l + .dropdown-box{
    top: 50px;
    padding: 10px 30px;
}
.dropdown-box {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    position: absolute;
    background-color: var(--white);
    top: 100%;
    left: 0;
    z-index: 99;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    overflow: auto;
    padding: 8px;
    display: flex;
    flex-direction: column;
}
.dropdown-box.active {
    opacity: 1;
    visibility: visible;
}
.dropdown-button {
    padding: 4px 12px 4px 4px;
    color: var(--gray-700);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.dropdown-button:hover {
    background-color: var(--gray-200);
}
.fieldset {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.fieldset-header{
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 20px;
    max-width: 400px;
} 
.fieldset-header-box {
    
}
.fieldset-body {
    width: 100%;
    flex: 0 0 58.33333333%;
    max-width: 58.33333333%;
    padding-top: 28px;
}
.fieldset-body input {
    width: 100%;
}
.fieldset-body .input_wrapper:not(:first-child){
    margin-top: 40px;
}
.card-body .fieldset:not(:last-child) {
    margin-bottom: 40px;
}
.choose_multiple_products_wrapper {
    gap: 20px;
    display: flex;
}
.choose-product-icon-selected {
    position: relative;
    border: 0px;
    background-color: transparent;
    cursor: pointer;
}
.choose-product-icon-content{
    height: 50px;
    min-width: 50px;
    width: 50px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--gray-100);
    border: 1px solid var(--gray-100);
} 
.choose-product-icon-remove {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--gray-300);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 0px;
}
.choose-product-icon-remove i {
    font-size: inherit;
}