body {
    height: 100%;
}

:root, [data-bs-theme=light]{
    --bs-body-color: #1C252E;
    --bs-secondary-color: #637381;
    --bs-body-font-size: .8rem;
    --bs-font-sans-serif: 'Inter', sans-serif;
    --bs-body-bg: #fff;
}

.breadcrumb {
    --bs-breadcrumb-item-padding-x: .7rem;
}

.dropdown-menu {
    --bs-dropdown-font-size: .9rem;
}

.pagination {
    --bs-pagination-font-size: .8rem;
}

.list-group{
    border: 0;
    --bs-list-group-active-bg: #00A76F;
}

.btn {
    --bs-btn-font-size: .8rem;
    --bs-btn-padding-x: 1rem;
    --bs-btn-padding-y: .6rem;
}

.badge {
    --bs-badge-padding-x: .5rem;
    --bs-badge-padding-y: .5rem;
    --bs-badge-font-size: .75rem;
    --bs-badge-font-weight: 400;
}

.list-group-flush>.list-group-item {
    border: 0;
}

.list-group-item{
    --bs-list-group-item-padding-y: .75rem;
}

img, svg{
    max-width: 100%;
}

a {
    text-decoration: none;
    color: #00A76F;
}

a:hover {
    text-decoration: underline;
}

.card {
    box-shadow: rgba(145, 158, 171, 0.2) 0px 0px 2px 0px, rgba(145, 158, 171, 0.12) 0px 12px 24px -4px;
    border-radius: 16px;
    border: none;
    margin-bottom: 1.5rem;
}

.card-header {
    border: 0;
    padding: 24px;
    font-weight: 600;
    color: #1C252E;
    background: #f7f7f7;
}

.card-header.full {
    border-radius: var(--bs-card-inner-border-radius);
}

.card-header .card-title {
    font-size: 1.125rem;
}

.card-header .card-subtitle {
    font-weight: 400;
}

.card-body {
    padding: 20px;
}

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

main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: min-width 0.3s ease-in-out, width 0.3s ease-in-out;
    width: 100%;
    overflow-y: auto;
}

#sidebar {
    background: #141A21;
    height: 100vh;
    position: fixed;
    overflow-y: auto;
    width: 300px;
    padding-left: 16px;
    padding-right: 16px;
    z-index: 112;
}

#sidebar .logo{
    margin: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#sidebar .logo img {
    width: 170px
}

#sidebar .nav-item {
    margin: 3px 0px;
}

#sidebar .nav-link {
    color: #919EAB;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    position: relative;
}

#sidebar .nav-link:hover {
    text-decoration: none;
    background: transparent;
    color: white;
}

#sidebar .nav-link.active {
    color: white !important;
    background: rgba(145 158 171 / 0.08) !important;
}

#sidebar~main{
    margin-left: 300px;
}

#sidebar .nav-header {
    text-transform: uppercase;
    font-size: .7rem;
    color: #919EAB;
    margin-top: 16px;
    margin-bottom: 8px;
}

#sidebar .nav-link i {
    margin-right: 10px;
    margin-left: 0px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#sidebar > div > ul {
    margin-bottom: 10px
}

#sidebar::-webkit-scrollbar {
    width: 9px;
}   
        
#sidebar::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    border-radius: 10px;
    background: transparent
}
        
#sidebar::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
    background: #505963
}   

@media (min-width: 1px) and (max-width: 991.98px) {
    #sidebar {
        position: absolute;
        max-width: 80% !important;
        min-width: 80% !important;
        display: none !important;
    }

    #sidebar~main {
        margin-left: 0px;
    }

    #sidebar.toggled {
        display: block !important;
    }

    .fixed-top2 {
        width: 100% !important;
    }
}

#sidebar-toggle {
    color: #1C252E;
    font-size: 1.5rem;
}

#sidebar.toggled {
    display: none;
}

#sidebar.toggled~main {
    margin-left: 0;
}

#sidebar .nav-item>.nav-link[data-bs-toggle="collapse"][aria-expanded="false"]::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f078";
    position: absolute;
    right: 10px;
    color: inherit;
    transition: transform 0.05s ease-in-out;
    font-size: 12px;
    top: 50%;
    transform: translateY(-50%);
}

#sidebar .nav-item>.nav-link[data-bs-toggle="collapse"][aria-expanded="true"]::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f077";
    position: absolute;
    right: 10px;
    color: inherit;
    transition: transform 0.05s ease-in-out;
    font-size: 12px;
    top: 50%;
    transform: translateY(-50%);
}

#sidebar .nav-item>.nav-link[data-bs-toggle="collapse"][aria-expanded="true"] {
    color: white;
    background: rgba(145 158 171 / 0.08)
}

#sidebar .nav-item > .submenu ul .nav-link {
    padding: 8px;
}

#sidebar .nav-item > .submenu ul .nav-link.active {
    color: white !important;
    background: transparent !important;
    font-weight: 400 !important;
}

.fixed-top2 {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 111;
    box-shadow: rgba(145, 158, 171, 0.2) 0px 1px 5px 0px;
    background: #fff;
}

main > .container-fluid {
    margin-top: 30px;
    padding: 0 2%;
}

.sidebar-auth {
    width: 450px;
    background: linear-gradient(to right, #F9FAFB, #FAFAFA);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 1rem;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.content-auth {
    flex-grow: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    background: white;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.content-auth > div {
    max-width: 450px;
    width: 100%;
}

.logo-content {
    display: none;
}

@media (max-width: 768px) {
    .sidebar-auth {
        display: none;
    }
    .logo-content{
        display: flex;
    }
}

.sidebar-auth .sidebar-content p {
    color: #6B7280;
    font-size: .9rem;
}

.form-floating>label {
    display: flex;
    align-items: center;
    gap: 2px;
    height: inherit !important;
    padding: inherit !important;
    top: 5px !important;
    left: 10px !important;
    margin-bottom: 0 !important;
    font-size: .7rem;
    transform: inherit !important;
}

.min-height-150 textarea.form-control {
    min-height: 150px !important;
}

.form-control {
    border: 0;
    box-shadow: inset 0 0 0 var(--bs-border-width) var(--bs-border-color);
    transition: box-shadow .1s ease-in-out, transform .1s ease-in-out;
    font-size: .9rem;
}

.form-control:focus{
    box-shadow: inset 0 0 0 2px #1C252E !important;
    border: 0;
}

.form-control:hover {
    box-shadow: inset 0 0 0 1px #1C252E;
    border: 0
}

.form-control.is-invalid, .was-validated .form-control:invalid{
    box-shadow: inset 0 0 0 1px var(--bs-form-invalid-border-color) !important;
}

.content-auth .title-auth {
    font-size: 1.3rem;
}

.content-auth .subtitle-auth {
    font-size: 0.8rem;
    color: #6B7280;
}

.alert {
    border: 0;
    margin-bottom: 0;
}

.alert-danger {
    --bs-alert-color: #7A0916;
    --bs-alert-bg: #FFE9D5;
}

.alert-primary {
    --bs-alert-color: #003768;
    --bs-alert-bg: #CAFDF5;
}

.alert-success {
    --bs-alert-color: #118D57;
    --bs-alert-bg: #D3FCD2;
}

.alert-warning {
    --bs-alert-color: #7A4100;
    --bs-alert-bg: #FFF5CC;
}

.btn {
    font-weight: 500;
    border: 0
}

.btn:hover {
    text-decoration: none;
}

.btn-danger, .badge-danger {
    background: rgba(255 86 48 / 0.16);
    color: #B71D18;
}

.btn-danger:hover, .btn-danger:active {
    box-shadow: rgba(145, 158, 171, 0.16) 0px 8px 16px 0px !important;
    background-color: rgba(255 86 48 / 0.32) !important;
    color: #B71D18 !important;
}

.btn-primary, .badge-primary {
    background: #1C252E;
}

.btn-primary:hover, .btn-primary:active {
    box-shadow: rgba(145, 158, 171, 0.16) 0px 8px 16px 0px !important;
    background-color: #454F5B !important;
}

.btn-success, .badge-success {
    background: #00A76F;
}

.btn-success:hover, .btn-success:active {
    box-shadow: rgba(145, 158, 171, 0.16) 0px 8px 16px 0px !important;
    background-color: #007867 !important;
}

.btn-warning, .badge-warning {
    background: rgba(255 171 0 / 0.16);
    color: #B76E00;
}

.btn-warning:hover, .btn-warning:active {
    box-shadow: rgba(145, 158, 171, 0.16) 0px 8px 16px 0px !important;
    background-color: rgba(255 171 0 / 0.32) !important;
    color: #B76E00 !important;
}

.btn-settings {
    border-radius: 8px;
    padding: 12px;
    margin: 5px 0;
    color: inherit
}

.btn-settings.active, .btn-settings:hover {
    box-shadow: rgba(145, 158, 171, 0.16) 0px 8px 16px 0px !important;
    background-color: #00A76F !important;
    text-decoration: none;
    color: white;
}

.btn-settings .title {
    font-size: 0.85rem;
}

.btn-settings .subtitle {
    font-size: 0.8rem;
}

.breadcrumb-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.breadcrumb-container h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.breadcrumb-container ol{
    margin-bottom: 0;
}

.btn-actions {
    justify-content: flex-end;
    display: flex;
    gap: .5rem;
    width: 100%;
}

table td {
    vertical-align: middle;
}

footer {
    margin-bottom: 20px
}

/* MULTI SELECT */
.multipleselect {
    padding: 0 !important;
}

.ms-choice {
    background-color: transparent;
    height: 21px !important;
    line-height: 1 !important;
    border: 0;
    cursor: default !important;
    padding: 0.375rem 1.75rem 0.375rem 0.75rem;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    width: calc(100% - 2.5rem);
    position: relative;
}

.ms-choice>span {
    position: relative;
    right: 0;
    padding-left: 0;
    background: transparent;
    color: var(--bs-body-color);
}

.ms-drop {
    margin-top: 0;
    border-radius: 0;
    left: 0;
}

.ms-drop.bottom {
    border: var(--bs-border-width) solid var(--bs-border-color) !important;
    box-shadow: none !important;
}

.ms-drop ul>li .disabled {
    color: inherit;
    opacity: inherit;
    filter: inherit
}

.ms-search input {
    min-height: 35px;
}

.placeholder {
    cursor: default;
}

.ms-search {
    padding: 10px;
    border-bottom: var(--bs-border-width) solid var(--bs-border-color);
}

.active>.page-link:hover {
    text-decoration: none;
}

.header-warning {
    background: linear-gradient(90deg, #FFF7DD, #FFEFC0);
    color: #7A4100 !important;
}

.header-success {
    background: linear-gradient(90deg, #D8FAE5, #BBF4D5);
    color: #004B50 !important;
}

.header-danger {
    background: linear-gradient(90deg, #FFEBDE, #FFDBC9);
    color: #7A0916 !important;
}

.column-layout table.dataTable {
    display: block;
}

.column-layout table.dataTable thead {
    display: none;
}

.column-layout table.dataTable tbody,
.column-layout table.dataTable tr {
    display: block;
    width: 100%;
}

.column-layout table.dataTable tr {
    padding: 1em 0;
    float: left;
    border-top: 0;
    border-bottom-width: 3px;
}

.column-layout table.dataTable tr:last-child{
    border-bottom-width: 0;
}

.column-layout table.dataTable td:last-child{
    border-bottom: 0;
}

.column-layout table.dataTable td {
    display: block;
    white-space: normal;
    word-wrap: break-word;
    padding: .5rem 0;
}

.column-layout table.dataTable td:before {
    content: attr(data-title);
    font-weight: bold;
    margin-bottom: 0.5em;
    display: block
}

.column-layout table.dataTable tfoot {
    display: none;
}

.column-layout table.dataTable td:first-child,
.column-layout table.dataTable td {
    border-left: 0;
    border-right: 0;
}

.column-layout table.dataTable>tbody>tr.odd>* {
    box-shadow: none;
}

.btn-actions {
    justify-content: flex-end;
    display: flex;
    gap: .5rem;
    width: 100%;
}

.column-layout .btn-actions{
    justify-content: flex-start !important;
}

.product-image {
    object-fit: cover;
    cursor: pointer;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 50%;
    cursor: pointer;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.profile-navigation {
    font-weight: 600;
    color: #637381;
    font-size: .8rem;
    padding-bottom: 7px;
}

.profile-navigation > i {
    font-size: 19px;
}

.profile-navigation.active {
    color: #1C252E;
    border-bottom: 2px solid #1C252E;
}

.profile-navigation:hover {
    text-decoration: none;
}

.dropdown-menu li a {
    cursor: pointer;
}

.dropdown-menu li a:hover{
    text-decoration: none;
}

.product-image-table {
    max-height: 64px;
    max-width: 64px;
}

.list-group-item:last-child {
    margin-bottom: 20px;
}

.textarea-like {
    border: 1px solid #DEE2E6;
    background-color: #E9ECEF;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
    min-height: 100px;
}