.nsewdrag {
    cursor: default !important;
}

.widget {
    display: flex;
    flex-direction: column;
    margin-top: 5px;
    width: 400px;
}

#context {
    margin-top: 5px;
    margin-left: 5px;
    margin-bottom: 2px;
}

ul{
    margin-top: 5px;
}

body {
    background-color: #f7f7f7;
    width: 400px;
    height: 420px; 
    margin: 0 0 0 0;
    /* display: flex;
    flex-direction: column; */
}

.stores-select {
    margin: 5px;
    border: 0px;
}

.stores-select:active {
    margin: 5px;
    border: 0px;
}

.stores-select:focus {
    margin: 5px;
    border: 0px;
}

.btn-group {
    font-size: 14px;
    margin-right: 3px;
    margin-left: 3px;
    margin-top: 6px;
    width: 390px;
}

.btn-group .btn {
    width: 80px;
    border-color: rgb(0, 191, 230);
    transition: background-color 0.3s; /* Добавляем плавное изменение фона */
}

.btn-group .btn:active,
.btn-group .btn:focus {
    background-color: rgb(0, 191, 230); /* Устанавливаем цвет фона при активации (выборе) */
    border: 0px;
}

/* Применяем стили к полям ввода даты */
input[type="date"] {
    font-weight: lighter; /* Уменьшаем жирность текста */
    color: #888; /* Устанавливаем светлый цвет текста */
    padding: 4px; /* Устанавливаем отступы вокруг поля ввода */
}

div.input__field {
    height: 21px;
    width: 150px;
}

div.input__field input {
    border: none;
    outline: none !important;
    line-height: 14px;
    padding: 0 5px 0 2px;
    font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-size: 12px;
}

div.input__field.date {
    display: grid;
    grid-template-columns: 10% 90%;
}

#product-info {
    font-family: var(--lumo-font-family); /* Применяем шрифт из переменной --lumo-font-family */
    /* Другие стили для .custom-info */
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 400px;
    margin-bottom: 5px;
    max-height: 57px;
    font-size: 3.5vw;
    white-space: nowrap;
}

.params {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

#product-info strong {
    font-weight: lighter; /* Уменьшаем жирность текста */
    color: #888; /* Устанавливаем светлый цвет текста */
    padding: 4px;
    text-align: center;
}

.custom-date-input::-webkit-calendar-picker-indicator {
    background-image: url('../images/calendar.png');
}

.custom-date-input {
    appearance: none;
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px;
    border: 0px;

}
div.input__field.date div.icon input{
    width: 100%;
        opacity: 0;
        padding: 0px;
        cursor: pointer !important;
}


div.input__field.date div.icon {
    background-image: url('../images/calendar.png');
    background-size: 95%;
    background-repeat: no-repeat;
    background-position: right center;
    cursor: pointer;
    background-color: white;
}

#product-info p {
    display: inline; /* Располагаем <p> элементы в строку */
    margin-bottom: 0px;
    margin-left: 2px;
    color: #0d8a56;
    background-color: #defcf0;
    border-radius: 8px;
    text-align: center;
    padding: 0 5px;
}

#product-info {
    text-align: center;
    margin: 1%;
}

.dates {
    text-align: center;
    margin-top: 5px;
    height: 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#sales-chart {
    margin-left: 1%;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
}

.noPermContainer {
    background-color: #f7f7f7;
    text-align: center;
    margin-top: 180px;
}

.chunkSelector {
    display: flex;
    flex-direction: row;
    width: 10px;
}

.loader {
    border: 8px solid #f3f3f3; /* Серый круговой бордюр */
    border-top: 8px solid #3498db; /* Синий верхний бордюр */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite; /* Анимация вращения */
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -20px;
    margin-top: -20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


a{
    text-align: right;
    margin-right: 5px;
}

.back-container {
    display: flex;
    flex-direction: row-reverse;
}
