:root {
    --bg-nav-costum: #2F2F2F;
    --bg-sidebar: #495058;
    --bg-sidebar-1: #636970;
    --color-icon-1: white;
    --color-text-header-1: white;
    --color-text-header-2: white;
    --color-text-sidebar-1: #BABABA;
    --color-text-sidebar-2: #9C9C9C;
    --logo-sidebar:url('icon-menu/sidebar-icon.png');
}

[data-theme="dark"] {
    --bg-nav-costum: #FFF1F5;
    --bg-sidebar: #DE3F68;
    --bg-sidebar-1: #E45478;
    --color-icon-1: #655E64;
    --color-text-header-1: #322E34;
    --color-text-header-2: #838383;
    --color-text-sidebar-1: white;
    --color-text-sidebar-2: white;
    --logo-sidebar:url('icon-menu/sidebar-icon.png');
}

/* color-text */
.text-header-1 {
    color: var(--color-text-header-1);
}

/* icon */
.icon-svg-1 {
    fill: var(--color-icon-1);
}

/* Sidebar CSS */
.sidebar {
    min-width: 5.5rem;
    max-width: 5.5rem;
    background: var(--bg-sidebar);
    transition: all 0.3s;
    padding: 0rem;
}

.sidebar-header {
    color: var(--color-text-sidebar-1);
    font-size: 0.8rem;
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-header img {
    width: 90%;
    margin-bottom: 0.4rem;
}

.a-sidebar {
    color: var(--color-text-sidebar-1);
    flex: 0 0 auto;
}

.a-sidebar:hover {
    color: var(--color-text-sidebar-1);
}

.a-sidebar p {
    font-size: 0.7rem;
}

.card-sidebar {
    color: var(--color-text-sidebar-2);
    text-align: center;
    font-size: 0.8rem;
    padding: 0.7rem 0.5rem;
    margin-bottom: 5px;
}

/* .card-sidebar i{
    width: 90%;
} */

.active .card-sidebar {
    background: var(--bg-sidebar-1);
    color: white;
}

.active .card-sidebar .change-fill {
    fill: white;
}

.change-fill {
    fill: var(--color-text-sidebar-2);
}

.card-sidebar:hover {
    background: var(--bg-sidebar-1);
    color: white;
}

.card-sidebar:hover .change-fill {
    fill: white;
}

.card-sidebar p {
    margin: 0px !important;
}

.card-sidebar img {
    width: 40%;
    margin-bottom: 0.5rem;
}

.card-sidebar svg {
    width: 60%;
    margin-bottom: 0.5rem;
}

.navbar-costum {
    background: var(--bg-nav-costum);
    padding: 0.5rem;
    padding-right: 0px !important;
}

.img-logo-header {
    width: 15%;
}

.date-time {
    color: var(--color-text-header-2);
    margin: 0px 2.5rem !important;
    font-size: 1.3rem;
}

.drop-setting {
    background: transparent;
    color: white;
    padding: 0px !important;
    margin-left: 1rem;
}

.drop-setting img {
    width: 40%;
}

.dropdown-menu-lg-start[data-bs-popper] {
    right: 0 !important;
    left: -8rem !important;
}

.dropdown-item:focus {
    background: #636970 !important;
    color: white !important;
}

/* swett checkbox */

#_checkbox {
    display: none;
}

.label-checkbox {
    position: absolute;
    bottom: 0;
    left: 0.4rem;
    width: 4rem;
    height: 4rem;
    margin: 0 0;
    background-color: transparent;
    transform: translateY(-50%);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s ease transform, 0.2s ease background-color, 0.2s ease box-shadow;
    overflow: hidden;
    z-index: 1;
}

.label-checkbox:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    width: 2rem;
    height: 2rem;
    margin: 0 auto;
    background-color: transparent;
    transform: translateY(-50%);
    border-radius: 15px;
    transition: 0.2s ease width, 0.2s ease height;
}

.label-checkbox:active {
    transform: translateY(-50%) scale(0.9);
}

#tick_mark {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0rem;
    transform: rotateZ(-40deg);
    color: white;
    font-size: 3rem;
    bottom: 0.3rem;
    left: 0.3rem;
}

#_checkbox:checked+.label-checkbox #tick_mark {
    color: #495058;
}

/* End swett checkbox */

/* icon menu */
.icon-sidebar-logo{
    content: var(--logo-sidebar);
    width: 90%;
}

.icon-dashboard{
    content: url('icon-menu/icon-dashboard.svg');
    width: 40%;
}

.active .card-sidebar .icon-dashboard,
.card-sidebar:hover .icon-dashboard{
    content: url('icon-menu/icon-dashboard-a.svg');
    width: 40%;
}

.icon-debit{
    content: url('icon-menu/icon-debit.svg');
    width: 40%;
}

.active .card-sidebar .icon-debit,
.card-sidebar:hover .icon-debit{
    content: url('icon-menu/icon-debit-a.svg');
    width: 40%;
}

.icon-detailmttrmtbf{
    content: url('icon-menu/icon-detailmttrmtbf.svg');
    width: 40%;
}

.active .card-sidebar .icon-detailmttrmtbf,
.card-sidebar:hover .icon-detailmttrmtbf{
    content: url('icon-menu/icon-detailmttrmtbf-a.svg');
    width: 40%;
}