@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

div:not(.pm-toast .msg) {
    /*box-shadow: none !important;*/
}

.calc-container {
    margin: 20px;
}

select.form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    background: transparent url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat;
    background-position-x: 99%;
    background-position-y: 5px;
}

#form-edit-expense,
#form-edit-product {
    display: none;
}

/** Custom toggle switch **/

.pm-toggle-field {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.pm-toggle-field__hint {
    font-size: 13px;
    line-height: 1.35;
    color: #6c757d;
}

@media (max-width: 575.98px) {
    .pm-toggle-field__hint {
        font-size: 12px;
    }
}

.pm-toggle {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    height: 24px;
    width: 46px;
}

.pm-toggle__input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.pm-toggle__track {
    cursor: pointer;
    position: relative;
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(
            145deg,
            #c5c5c5 0%,
            #979797 100%
    );
    border-radius: 999px;
    transition: background 180ms ease, box-shadow 180ms ease;
}

.pm-toggle__thumb {
    position: absolute;
    height: 20px;
    width: 20px;
    top: 2px;
    left: 2px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(79, 88, 99, 0.2), 0 2px 5px rgba(79, 88, 99, 0.10);
    transition: transform 200ms cubic-bezier(0.25, 0.9, 0.25, 1);
}

.pm-toggle__input:checked + .pm-toggle__track {
    background: #229af0;
    /* box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.45),
        inset 0 -10px 22px rgba(26, 135, 74, 0.22),
        0 10px 22px rgba(28, 147, 84, 0.18); */
}

.pm-toggle__input:checked + .pm-toggle__track .pm-toggle__thumb {
    transform: translateX(22px);
}

.pm-toggle__input:focus-visible + .pm-toggle__track {
    outline: 3px solid rgba(13, 110, 253, 0.25);
    outline-offset: 3px;
}



.ppm-nv {
    position: fixed;
    z-index: 9999;
    bottom: 0;
    width: 100%;
    display: flex;
    height: 34px;
    margin: 0 -12px;
    border-top: 1px solid var(--bs-border-color);
    border-bottom: 1px solid var(--bs-border-color);
    background-color: var(--bs-body-bg);
}

.ppm-nv-tab {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--pm-color-secondary);
}

.ppm-nv-tab i {
    font-size: 20px;
}

.ppm-nv-tab:not(:last-child) {
    border-right: 1px solid var(--bs-border-color);
}

.ppm-nv-tab.active {
    color: #229af0;
}