@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    font-family: Roboto, serif;
}

.form-control:focus,
.btn:focus,
.btn-check:focus + .btn,
.page-link:focus,
.form-select:focus {
    outline: none !important;
    box-shadow: none !important;
}

.row-actions {
    display: flex;
    align-items: center;
    gap: 10px;

    svg {
        width: 18px;
        height: 18px;
    }

    .delete-link svg {
        width: 20px;
        height: 20px;

        path {
            stroke: #d90000;
        }
    }
}

.navbar.shadow-sm {
    box-shadow: none !important;
    border-bottom: 1px solid #eaeaea;
}

.navbar {
    a {
        color: #000;
    }
}

.hidden-elem {
    display: none !important;
}

form {
    input[type=text], input[type=password], input[type=email], input[type=file], input[type=number], textarea, select {
        background-color: #fff !important;
    }
}
.user-avatar {
    width: 100%;
    max-width: 250px;
}
.alert {
    ul {
        margin: 0 0 0 20px;
        padding: 0;
    }
}
.form-check-input + .form-check-label {
    opacity: 0.5;
    transition: opacity 0.1s ease;
}

.form-check-input:checked + .form-check-label {
    opacity: 1;
    color: #000 !important
}
.flat-input {
    border: 1px solid silver;
    border-radius: 4px;
    box-shadow: none !important;
    outline: none !important;
}
.copy-link {
    svg {
        /*width: 21px;*/
        /*height: 21px;*/
    }
}
.table-extra-small {
    font-size: 11px;
}
.pos-input {
    border: 1px solid silver;
    border-radius: 4px;
    text-align: center;
    max-width: 50px;
}
.model-tags-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    max-width: 400px;
    flex-wrap: wrap;
    gap: 2px;

    li {
        display: flex;
        align-items: center;
        gap: 10px;

        .tag-title {
            flex: 1;
        }
        .tag-value-checkbox {
            display: flex;
            align-items: center;
            justify-content: center;
            max-width: 100px;
            width: 100%;
        }
        .tag-value-input {
            border: 1px solid #b3b3b3;
            border-radius: 4px;
            text-align: center;
            max-width: 100px;
        }
    }
}
.title-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    svg, img {
        width: 14px;
        height: 14px;
    }
}
.light-button {
    display: inline-block;
    background-color: #f6f8fa;
    color: #24292f;
    border: 1px solid rgba(27, 31, 35, 0.15);
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s;
}

.light-button:hover {
    background-color: #f3f4f6;
    border-color: rgba(27, 31, 35, 0.2);
}
.plan-flex-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.justify-content-end {
    justify-content: flex-end;
}
.fields-box {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 50%;

    .fields-row {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 5px;

        input {
            border: 1px solid #cbcbcb;
            border-radius: 3px;
            flex: 1;
        }

        .code-field {
            width: 130px !important;
            flex: none;
        }

        .delete-field-link {
            svg {
                width: 20px;
            }
            width: 20px;
        }
    }
}
.stat-filter {
    display: flex;
    align-items: center;
    gap: 5px;

    .select-app-item {
        max-width: 350px !important;
        width: 100% ;
    }
    .select-report-item {
        flex: 1;
        width: 100%;
    }
    label {
        color: #a2a2a2;
        font-size: 12px;
        margin-bottom: 2px;
    }

    .period-form {
        display: flex;
        align-items: center;
        gap: 4px;

        input {
            background-color: #fff;
        }
    }

}
.stat-filter-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    a {
        text-decoration: none;
    }

    .period-links {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 18px;
    }
}
.report-box {
    margin-top: 15px;
}
.form-label {
    margin-bottom: .1rem !important;
}
.options-list {
    display: flex;
    flex-direction: column;
    gap: 2px;

    list-style: none;
    padding: 0;
    margin: 0;

    li {
        display: flex;
        align-items: center;
        gap: 5px;

        .icon-input {
            width: 120px;
        }

        .text-input {
            flex: 1;
        }
    }
}
.nav-item {
    a {
        display: inline-block;
        /*padding-top: 12px;*/
        /*padding-bottom: 12px;*/

    }
    height: 100%;
}
.nav-link.active, .nav-item.active {
    background-color: #e6e6e6 !important;
}
.navbar-toggler {
    margin-top: 6px;
    margin-bottom: 6px;
}
@media (max-width: 1024px) {
    .nav-item {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        a {
            padding-top: 0.2rem !important;
            padding-bottom: 0.2rem !important;
        }
    }
}
.nav-item {
    .dropdown-menu {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}
.menu-icon {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    svg {
        width: 18px;
    }
}
.catalog-cell-link {
    color: #000;
    text-decoration: none;
}
.flex-row-buttons {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.product-props {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;
    gap: 2px;

    max-width: 600px !important;

    li {
        display: flex;
        align-items: center;
        gap: 5px;

        a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 12px;
            height: 12px;

            svg {
                width: 100%;

                path {
                    stroke: #f30000;
                }
            }
        }

        input {
            border-radius: 3px;
            border: 1px solid #d3d3d3;
            padding-left: 5px;
            padding-right: 5px;
            flex: 1;
        }
    }
}
.product-images {
    list-style: none;
    margin: 0;
    padding: 0;

    display: inline-flex;
    gap: 5px;

    li {
        position: relative;
        border-radius: 6px;
        overflow: hidden;
        height: 80px;
        width: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f3f3f3;

        img {
            max-height: 80px;
            max-width: 80px;
        }

        a {
            position: absolute;
            top: 3px;
            right: 3px;
            width: 12px;
            height: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            visibility: hidden;

            svg {
                width: 100%;

                path {
                    stroke: #f30000;
                }
            }
        }
    }

    li:hover {
        a {
            visibility: visible;
        }
    }
}

.add-product-prop {
    display: inline-block;
}
.schedule-box {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.box-row {
    display: flex;
    align-items: center;
    gap: 4px;

    div {
        width: 45px;
        font-weight: bold;
    }
}
