@media (max-device-width: 800px) {
    .page-content table {
        width: 100% !important;
    }

    .custom_table {
        overflow: scroll;
    }
}

.footer_menu_item {
    color: #454545 !important;
    text-align: center;
    background: #e3e3e3;
    line-height: 30px;
    cursor: pointer;
    padding: 8px 14px;
    font-size: 15px !important;
}

.footer_menu_item:hover {
    background: #c0c0c0 !important;
}

.dim-on-hover:hover {
    background-color: #0b268794 !important;
    color: var(--color1) !important;

}
/* Container */
.theme-toggle-wrapper {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

/* Custom Switch */
.theme-toggle {
    width: 55px;
    height: 24px;
    background-color: #e3e3e3; /* dark by default */
    border-radius: 50px;
    position: relative;
    padding: 12px !important;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Slider knob */
.theme-toggle::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 5px;
    width: 16px;
    height: 16px;
    background-color: #ffffff;
    border-radius: 30%;
    transition: transform 0.3s ease;
    opacity: 0.6;
    z-index: 2;
}

/* Icons */
.theme-toggle .fa-moon,
.theme-toggle .fa-sun {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    z-index: 1;
    pointer-events: none;
}

.theme-toggle .fa-moon {
    left: 8px;
    color: #000000;
}

.theme-toggle .fa-sun {
    right: 5px;
    color: #000000;
}

/* Checked = LIGHT mode (sun), knob moves right */
#theme-toggle:checked + .theme-toggle::before {
    transform: translateX(30px);
}

/* Background for light mode */
/* #theme-toggle:checked + .theme-toggle {
    background-color: #ccc;
} */

/* Hide native checkbox */
#theme-toggle {
    display: none;
}
