html.no-transition, html.no-transition * {
    transition: none !important;
}

html.dark-mode {
    filter: invert(1) hue-rotate(360deg);
}

html.dark-mode .receipt,
html.dark-mode .thumbnail,
html.dark-mode .invoice-empty-wrapper,
html.dark-mode .kv-file-content,
html.dark-mode .product-thumbnail-small,
html.dark-mode .image-container,
html.dark-mode .logo img,
html.dark-mode .avatar img{
    filter: invert(1) hue-rotate(360deg); 
}
  .form-check-input {
    display: none;
}

.form-check-label {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    width: 60px;
    height: 34px;
    background-color: #ccc;
    border-radius: 34px;
    transition: background-color 0.3s;
}
.form-check-label::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.toggle-icon {
    position: absolute;
    font-size: 18px;
    top: 52%;
    transform: translateY(-50%);
    transition: opacity 0.3s;
}

.sun-icon {
    left: 4px;
    color: #f39c12;
}

.moon-icon {
    right: 5px;
    color: #3498db;
    opacity: 0;
}

.form-check-input:checked + .form-check-label {
    background-color: #111;
}

.form-check-input:checked + .form-check-label::before {
    transform: translateX(26px);
}

.form-check-input:checked + .form-check-label .sun-icon {
    opacity: 0;
}

.form-check-input:checked + .form-check-label .moon-icon {
    opacity: 1;
}
/* Adjust styles for mobile screens */
@media (max-width: 768px) {


    .form-check-input {
        width: 10px;
        height: 5px;
    }

    .dark-mode-button {
        margin-top: 8px;
    }

}
