@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'VenrynSans-Regular';
}

hr {
    margin: 3px;
}

@font-face {
    font-display: swap;
    font-family: 'VenrynSans-Regular';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/venrynsans-regular.woff2') format('woff2');
}

/* open-sans-500 - cyrillic_latin */
@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/open-sans-v40-cyrillic_latin-500.woff2') format('woff2');
}

/* open-sans-600 - cyrillic_latin */
@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/open-sans-v40-cyrillic_latin-600.woff2') format('woff2');
}

/* open-sans-700 - cyrillic_latin */
@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v40-cyrillic_latin-700.woff2') format('woff2');
}

/* SF Pro Display 400 - cyrillic_latin */
@font-face {
    font-display: swap;
    font-family: 'SF Pro Display';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/SFProDisplay-Regular.woff2') format('woff2');
}

/* SF Pro Display 500 - cyrillic_latin */
@font-face {
    font-display: swap;
    font-family: 'SF Pro Display';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/SFProDisplay-Medium.woff2') format('woff2');
}

/* SF Pro Display-600 - cyrillic_latin */
@font-face {
    font-display: swap;
    font-family: 'SF Pro Display';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/SFProDisplay-Semibold.woff2') format('woff2');
}

/* SF Pro Display-700 - cyrillic_latin */
@font-face {
    font-display: swap;
    font-family: 'SF Pro Display';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/SFProDisplay-Bold.woff2') format('woff2');
}

/* SF Pro Display-900 - cyrillic_latin */
@font-face {
    font-display: swap;
    font-family: 'SF Pro Display';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/SFProDisplay-Heavy.woff2') format('woff2');
}

body {
    font-size: 19px;
    margin-left: 5px;
    margin-right: 5px;
}

h1 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 25px;
    margin: 10px;
}

h2 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 22px;
    margin: 10px;
}

.header {
    display: flex;
    justify-content: center;
    height: 130px;
    background: linear-gradient(#635ffe, #569afd);
    margin-bottom: 20px;
    width: 100%;
}

.fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 150;
}

.logo {
    margin: 20px;
    opacity: 1;
}

.logo img {
    width: 70px;
}

.menuDown {
    display: flex;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    background-color: white;
    height: 60px;
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.01);
    z-index: 150;
}

.menuDown div {
    padding: 5px;
    font-size: 10px;
    width: 25%;
}

.menuDown img {
    height: 30px;
    transition: 1s;
}

.menuDown img:hover {
    opacity: 0.5;
}

.content {
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    margin: auto;
    max-width: 1080px;
    margin-top: 170px;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.div_flex {
    display: flex;
}

.margin_right {
    margin-right: 10px;
}

.margin200 {
    margin-top: 170px;
}

.win8 {
    width: 90%;
    margin: 10px;
    padding: 10px;
    border: 0px solid rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 2.2px rgba(0, 0, 0, 0.01), 0 5px 5px rgba(0, 0, 0, 0.02), 0 5px 5px rgba(0, 0, 0, 0.03),
    0 5px 5px rgba(0, 0, 0, 0.04), 0 5px 5px rgba(0, 0, 0, 0.05), 0 30px 15px rgba(0, 0, 0, 0.06);
}

/* Профиль */
.profile {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.profile h1 {
    width: 100%;
}

.button {
    width: 80%;
    margin: 10px;
}

.profile-button {
    width: 40%;
    padding: 5px;
}

.profile-button button,
.profile-button input {
    width: 100%;
    height: 120px;
    font-size: 15px;
    background-color: white;
    color: black;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
    border: 0px solid rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 2.2px rgba(0, 0, 0, 0.01), 0 5px 5px rgba(0, 0, 0, 0.02), 0 5px 5px rgba(0, 0, 0, 0.03),
    0 5px 5px rgba(0, 0, 0, 0.04), 0 5px 5px rgba(0, 0, 0, 0.05), 0 15px 10px rgba(0, 0, 0, 0.06);
}

.button button,
.button input {
    width: 100%;
    height: 150px;
    font-size: 18px;
    background-color: white;
    color: black;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
    border: 0px solid rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 2.2px rgba(0, 0, 0, 0.01), 0 5px 5px rgba(0, 0, 0, 0.02), 0 5px 5px rgba(0, 0, 0, 0.03),
    0 5px 5px rgba(0, 0, 0, 0.04), 0 5px 5px rgba(0, 0, 0, 0.05), 0 15px 10px rgba(0, 0, 0, 0.06);
}

.button button:hover {
    background-color: #569afd;
    color: white;
}

.new-button button {
    animation: animate 8s linear infinite;
}

.new-button {
    width: 100%;
    height: 150px;
    margin: 10px;
    position: relative;
    display: inline-block;
    text-align: center;
    line-height: 60px;
    color: #fff;
    font-size: 24px;
    text-transform: uppercase;
    text-decoration: none;
    font-family: sans-serif;
    box-sizing: border-box;
    background: linear-gradient(90deg, #635ffe, #569afd, #635ffe);
    background-size: 400%;
    border-radius: 10px;
    z-index: 1;
}

.new-button {
    animation: animate 8s linear infinite;
}

.new-button button {
    width: 100%;
    height: 150px;
    font-size: 18px;
    background-color: white;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
    border: 0px solid rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 2.2px rgba(0, 0, 0, 0.01), 0 5px 5px rgba(0, 0, 0, 0.02), 0 5px 5px rgba(0, 0, 0, 0.03),
    0 5px 5px rgba(0, 0, 0, 0.04), 0 5px 5px rgba(0, 0, 0, 0.05), 0 15px 10px rgba(0, 0, 0, 0.06);
    background: rgba(0, 0, 0, 0.01);
}

.new-button:before {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    z-index: -1;
    background: linear-gradient(90deg, #635ffe, #569afd, #bda0ff, #635ffe);
    background-size: 400%;
    border-radius: 40px;
    opacity: 0;
    transition: 0.5s;
}

.new-button:hover:before {
    filter: blur(20px);
    opacity: 1;
    animation: animate 8s linear infinite;
}

.button2 button {
    width: 200px;
    height: 60px;
    margin: 20px;
    font-size: 18px;
    color: #569afd;
    background-color: white;
    border: 5px solid #569afd;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
}

.button2 button:hover {
    transform: scale(1.1);
}

.buttonNext button {
    width: 200px;
    height: 50px;
    margin: 10px;
    font-size: 14px;
    color: #569afd;
    background-color: white;
    border: 5px solid #569afd;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
}

.buttonNext button:hover {
    transform: scale(1.1);
}

/*Авторизация*/

.auth input {
    width: 300px;
    height: 100px;
    margin: 20px;
    padding: 20px;
    font-size: 18px;
    color: #569afd;
    background-color: white;
    border: 0px solid #569afd;
    border-bottom: 5px solid #569afd;
    border-radius: 5px;
    cursor: pointer;
    transition: 1s;
}

.authSubmit input {
    border: 5px solid #569afd;
}

/*Подсчет веса*/

.weight input {
    width: 300px;
    height: 100px;
    margin: 20px;
    padding: 20px;
    font-size: 18px;
    background-color: white;
    color: #000000;
    border: 0px solid rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
    box-shadow: 0 5px 2.2px rgba(0, 0, 0, 0.01), 0 5px 5px rgba(0, 0, 0, 0.02), 0 5px 5px rgba(0, 0, 0, 0.03),
    0 5px 5px rgba(0, 0, 0, 0.04), 0 5px 5px rgba(0, 0, 0, 0.05), 0 15px 10px rgba(0, 0, 0, 0.06);
}

.weightSubmit input:hover {
    background-color: #569afd;
    color: white;
}

/*Вывод веса*/

.Weight {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 1080px;
}

.week {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 10px;
    border: 0px solid rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 2.2px rgba(0, 0, 0, 0.01), 0 5px 5px rgba(0, 0, 0, 0.02), 0 5px 5px rgba(0, 0, 0, 0.03),
    0 5px 5px rgba(0, 0, 0, 0.04), 0 5px 5px rgba(0, 0, 0, 0.05), 0 15px 10px rgba(0, 0, 0, 0.06);
}

.weekWeight,
.averageWeight {
    margin-left: 10px;
    margin-right: 10px;
    width: 100%;
    font-size: 15px;
}

.weekWeight {
    text-align: left;
    padding: 20px;
}

.weekWeight table {
    width: 100%;
}

.weekWeight table thead {
    font-size: 10px;
}

.weekWeight table td {
    padding: 2px;
}

.weekWeight table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.1);
}

.weekWeight table tr td:first-child,
.weekWeight table tr td:nth-child(2) {
    width: 70px;
}

/*
.weekWeight table tr td:first-child,
.weekWeight table tr td:nth-child(2),
.weekWeight table tr td:nth-child(3) {
    width: 70px;
}*/


.weekWeight table tr td:nth-child(3) {
    flex: 1;
}

.averageWeight {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}

.averageWeightNutrition {
    width: 100%;
    height: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 45% calc(55% - 15px);
    grid-template-rows: 1fr;
    gap: 15px;
    font-size: 11px;
}

.averageWeightNutrition-macronutrient {
    display: flex;
    padding: 1px;
    gap: 5px;
}

.averageWeightNutrition-macronutrient :first-child {
    min-width: 50px;
    text-align: left;
}

.averageWeightNutrition-calories {
    display: flex;
    align-items: center;
}

.averageWeightNutrition-calories div {
    padding: 5px;
}

.averageWeightWeek {
    display: flex;
}

.averageWeightWeek :first-child {
    min-width: 100px;
    margin-right: 5px;
    text-align: left;
}

.color-red {
    color: red;
}

.color-green {
    color: #04c004;
}

.adminUsers input.color-green__input {
    color: #04c004;
}

.color-orange {
    color: #ff9900;
}
.color-blue{
    color: #569afd;
}

.text--italic {
    font-style: italic;
}

.text--blink {
    animation: text-blink 3s ease-in-out infinite;
}

@keyframes text-blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.target {
    height: 70px;
    width: 90%;
}

.targetspan {
    height: 100%;
}

.targetDiv {
    width: 90%;
}

/*Вывод плана питания*/

.nutritionLoad {
    margin: auto;
    text-align: right;
}

.nutritionLoad input {
    width: 300px;
    height: 50px;
    margin: 5px;
    padding: 20px;
    font-size: 14px;
    background-color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: 1s;
}

.nutritionLoadDate input {
    border: 0px solid rgba(0, 0, 0, 0.5);
    width: 100%;
}

.nutritionLoadSubmit input {
    border: 2px solid #000000;
    border-radius: 10px;
    background-color: rgba(86, 154, 253, 0.14);
    width: 100%;
}

.nutritionLoadSubmit input:hover {
    transform: scale(1.1);
    color: white;
    background-color: #569afd;
}

.nutrition {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1000px;
}

.nutrition div {
    width: 100%;
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nutritionValue {
    border: 0px solid rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 2.2px rgba(0, 0, 0, 0.01), 0 5px 5px rgba(0, 0, 0, 0.02), 0 5px 5px rgba(0, 0, 0, 0.03),
    0 5px 5px rgba(0, 0, 0, 0.04), 0 5px 5px rgba(0, 0, 0, 0.05), 0 30px 15px rgba(0, 0, 0, 0.06);
}

.nutrition img {
    width: 100%;
    max-width: 300px;
}

.nutritionDate div {
    margin-bottom: 20px;
    width: 100%;
}

.nutritionWeight {
    align-items: flex-start;
    font-size: 14px;
    opacity: 0.5;
    color: #569afd;
}

.imgTmp {
    display: flex;
    flex-wrap: wrap;
    margin: 10px;
    justify-content: center;
}

.imgTmpChild {
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.11);
}

.imgTmpChild img {
    width: 200px;
}

/*Новый план питания*/
.programView {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.programItem {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 150px;
    width: 150px;
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
    background-color: #f3f3f3;
    cursor: pointer;
    transition: 0.5s;
}

.programItem:hover {
    scale: 1.1;
}

.programItem a {
    position: absolute;
    width: 100%;
    height: 100%;
}

.programItem-header {
    font-size: 14px;
    margin-top: 10px;
}

.programItem-calories {
    font-size: 10px;
    display: flex;
}

.programItem-calories div {
    padding: 5px;
}

.programItem-date {
    font-size: 10px;
    color: #818181;
}

.saveButton input {
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    width: 100%;
}

.personal-data input,
.personal-data select {
    transition: 1s;
    cursor: pointer;
    background-color: white;
    height: 35px;
    color: black;
}

.personal-data input:hover,
.personal-data select:hover {
    border: 1px solid #569afd;
}

.personal-data-1 {
    display: flex;
    justify-content: space-around;
}

.personal-data-1 label {
    display: flex;
    align-items: center;
}

.personal-data-meal {
    min-width: 350px;
    box-shadow: rgba(76, 79, 82, 0.06) 0px 0px 1px 0px, rgba(8, 11, 14, 0.1) 0px 3px 6px -1px;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #f2f2f2ff;
    font-size: 14px;
    text-align: left;
    font-family: Rubik, sans-serif;
}

/* Стили для радиокнопок */
.personal-data-1 input[type='radio'] {
    background-color: #000000;
    border: 1px solid #bda0ff;
    border-radius: 50%;
    width: 15px;
    height: 25px;
    margin-right: 5px;
}

.personal-data-2 {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    text-align: left;
    color: #6d7975;
    margin-bottom: 10px;
}

.personal-data-2 input {
    font-size: 14px;
    padding: 5px 5px 5px 10px;
    width: 70px;
    border-radius: 5px;
    border: 1px solid #6d7975;
}

.personal-data-2 .WEIGHT_DESIRED {
    width: 100%;
}

.personal-data-2-date input {
    width: 130px;
}

.personal-data-3 {
    display: flex;
    flex-direction: column;
    font-size: 10px;
    text-align: left;
    color: #6d7975;
    margin-bottom: 10px;
}

.personal-data-3 select {
    font-size: 14px;
    padding: 5px 5px 5px 10px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #6d7975;
}

.personal-data-submit input {
    position: relative;
    width: 100%;
    text-align: center;
    color: #fff;
    background: linear-gradient(90deg, #635ffe, #569afd, #635ffe);
    background-size: 400%;
    border-radius: 20px;
    padding: 10px;
    border: 1px solid gray;
}

.personal-data-submit input:hover {
    animation: animate 8s linear infinite;
}

.food-preferences-category {
    font-weight: bold;
}

.food-preferences-form input[type='checkbox']:checked,
.food-preferences-form input[type='checkbox']:not(:checked) {
    color: #00c400;
}

@keyframes animate {
    0% {
        background-position: 0%;
    }
    100% {
        background-position: 400%;
    }
}

.personal-data-save {
    text-align: center;
    color: #00c400;
    min-height: 20px;
    opacity: 1;
}

.food-preferences {
    min-width: 350px;
    box-shadow: rgba(76, 79, 82, 0.06) 0px 0px 1px 0px, rgba(8, 11, 14, 0.1) 0px 3px 6px -1px;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #f2f2f2ff;
    font-size: 14px;
    text-align: left;
    font-family: Rubik, sans-serif;
}

.food-preferences-checkbox {
    position: relative;
}

.food-preferences-checkbox input {
    scale: 1.5;
}

.food-preferences-svg {
    position: absolute;
    left: 0;
    top: -10px;
    opacity: 0.5;
}

.food-preferences-label-text {
    cursor: pointer;
    margin: 4px;
}

.productUser {
    background-color: rgba(179, 229, 179, 0.35);
}

.productUser--false {
    background-color: rgba(229, 179, 179, 0.35);
}

.wishes-for-food {
    min-width: 350px;
    box-shadow: rgba(76, 79, 82, 0.06) 0px 0px 1px 0px, rgba(8, 11, 14, 0.1) 0px 3px 6px -1px;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #f2f2f2ff;
    font-size: 14px;
    text-align: left;
    font-family: Rubik, sans-serif;
}

.wishes-for-food textarea {
    padding: 10px;
    margin: 5px;
}

/*Список продуктов для пользователя*/

.list-product {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 10px;
}

.list-product-program {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 10px;
}

.list-product-form input[type='checkbox'] {
    display: none;
}

.list-product-form label {
    padding-left: 30px; /* Добавьте отступ слева, чтобы было место для кастомного чекбокса */
    position: relative;
    cursor: pointer;
}

.list-product-form input[type='checkbox']:checked + label {
    text-decoration: line-through;
    opacity: 0.5;
}

/*Добавление новых продуктов*/
.product-update {
    display: flex;
    flex-direction: column;
    width: 350px;
}

.product-update-items {
    box-shadow: rgba(76, 79, 82, 0.06) 0px 0px 1px 0px, rgba(8, 11, 14, 0.1) 0px 3px 6px -1px;
    padding: 10px;
    border-radius: 10px;
    width: 100%;
}

.product-update-items-form {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.product-update-items-form-select,
.product-update-items-form-name {
    width: 100%;
}

.product-update-items-form-select select,
.product-update-items-form-name input {
    width: 100%;
}

.product-update-items-form-macro input {
    width: 50px;
    text-align: center;
}

/*Стили чек бокса*/
.toggle-pill-color input[type='checkbox'] {
    display: none;
}

.toggle-pill-color input[type='checkbox'] + label {
    display: block;
    position: relative;
    width: 3em;
    height: 1.6em;
    margin-bottom: 20px;
    border-radius: 1em;
    background: #e84d4d;
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-transition: background 0.1s ease-in-out;
    transition: background 0.1s ease-in-out;
}

.toggle-pill-color input[type='checkbox'] + label:before {
    content: '';
    display: block;
    width: 1.2em;
    height: 1.2em;
    border-radius: 1em;
    background: #fff;
    box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.2);
    position: absolute;
    left: 0.2em;
    top: 0.2em;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.toggle-pill-color input[type='checkbox']:checked + label {
    background: #47cf73;
}

.toggle-pill-color input[type='checkbox']:checked + label:before {
    box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.2);
    left: 1.6em;
}

.path {
    stroke-dasharray: 1800;
    stroke-dashoffset: 1800;
    transition: 0.5s all;
}

.check:checked + label svg g path {
    stroke-dashoffset: 0;
}

/*План питания админ*/
.macronutrient-weight-program {
    overflow: auto;
    max-height: 70vh;
    width: 100%;
    padding: 2px;
    max-width: 600px;
    display: flex;
}

@media (max-width: 760px) {
    .macronutrient-td__date {
        font-size: 8px;
        width: 30px;
    }

    .macronutrient-td__weight {
        font-size: 8px;
        width: 30px;
    }
}

.macronutrient-user__set .macronutrient-user__set--btn {
    padding: 0px;
}

.macronutrient-user__set {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 18px;
}

.macronutrient-weight-program table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-align: center;
}

.macronutrient-weight-program tr {
    padding: 2px;
}


.macronutrient-weight-program table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.1);
}

.macronutrient-weight-program td {
    padding: 2px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.macronutrient-td {
    background: linear-gradient(rgba(99, 95, 254, 0.5), rgba(86, 154, 253, 0.5));
    font-size: 12px;
    text-decoration: none;
    position: relative;
    height: 50px;
}

.macronutrient-td-div {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}


.macronutrient-td-calories {
    display: flex;
    font-size: 12px;
}

.macronutrient-td-calories div {
    height: 30px;
    padding: 5px;
    font-size: 10px;
    flex: 1;
}

.macronutrient-td form {
    display: flex;
    width: 100%;
}

.macronutrient-td a {
    text-decoration: none;
    font-family: Rubik, sans-serif;
    width: 100%;
    transition: 1s;
    color: white;
}

.macronutrient-td a:hover {
    color: black;
}


.macronutrient-program__insert {
    display: flex;
    flex-direction: column;
}


.macronutrient-user {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 14px;
    color: whitesmoke;
    max-width: 400px;
}

.macronutrient-user-program {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 150px;
    background: radial-gradient(#3f3cb7, #635ffe, #569afd);
    box-shadow: rgba(76, 79, 82, 0.06) 0px 0px 1px 0px, rgba(8, 11, 14, 0.1) 0px 3px 6px -1px;
    border-radius: 10px;
    cursor: pointer;
    margin: 10px;
    padding: 5px;
    transition: 1s;
}

.macronutrient-user-program:hover {
    background: radial-gradient(#569afd, #635ffe, #3f3cb7);
}

.macronutrient-user-program a {
    color: #efefef;
    width: 100%;
    height: 100%;
    z-index: 10;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.macronutrient-user .profile-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    text-align: center;
}

.macronutrient-user .profile-button.monochrome-block a {
    background-color: black;
    color: #FFFFFF;
    filter: grayscale(100%);
}

.macronutrient-user .profile-button a {
    height: auto;
    width: 100%;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 20px;
}

.macronutrient-user .profile-button a p {
    font-size: 12px;
}

.macronutrient-user-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    grid-template-areas:
    'a b'
    'a c';
    width: 100%;
    gap: 10px;
    align-items: start;

}

.box-1 {
    grid-area: a;
}

.box-2 {
    grid-area: b;
}

.box-3 {
    grid-area: c;
}

/*График веса*/

.diagramLine {
    width: 1200px;
    text-align: center;
    display: none;
    padding: 5px;
}

/*Настройки*/

.telegram {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 90%;
    padding: 10px;
    border: 0px solid rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 2.2px rgba(0, 0, 0, 0.01), 0 5px 5px rgba(0, 0, 0, 0.02), 0 5px 5px rgba(0, 0, 0, 0.03),
    0 5px 5px rgba(0, 0, 0, 0.04), 0 5px 5px rgba(0, 0, 0, 0.05), 0 15px 10px rgba(0, 0, 0, 0.06);
}

/*Телеграм сообщения*/
.telegramMore textarea {
    margin: 20px;
    width: 90%;
}

.telegramChoiceCheckbox {
    text-align: left;
}

.telegramChoice textarea {
    margin: 20px;
    width: 90%;
}

/*Футер*/

.footer {
    display: flex;
    justify-content: center;
    height: 10px;
    width: 100%;
}

/*Админ*/

.adminUsers {
    width: 100%;
    overflow-x: scroll;
}

.adminUsers button {
    width: 100%;
    height: 100%;
    font-size: 12px;
    background-color: white;
    color: black;
    border-radius: 1px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: 1s;
}

.adminUsers input {
    width: 100%;
    height: 100%;
    background-color: white;
    color: black;
    border-radius: 1px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: 1s;
}

.adminUsers input:hover,
.adminUsers button:hover {
    background-color: black;
    color: white;
}

.adminUsers table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.adminUsers table thead {
    font-size: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.adminUsers table td {
    padding: 5px;
}

.adminUsers table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.1);
}

.adminUsers table tr td:first-child,
.weekWeight table tr td:nth-child(2) {
    width: 70px;
}

/*Заполнение плана тренировок*/

.program input {
    width: 300px;
    height: 70px;
    margin: 10px;
    padding: 20px;
    font-size: 14px;
    background-color: white;
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
    box-shadow: 0 5px 2.2px rgba(0, 0, 0, 0.01), 0 5px 5px rgba(0, 0, 0, 0.02), 0 5px 5px rgba(0, 0, 0, 0.03),
    0 5px 5px rgba(0, 0, 0, 0.04), 0 5px 5px rgba(0, 0, 0, 0.05), 0 15px 10px rgba(0, 0, 0, 0.06);
}

.program select {
    width: 300px;
    height: 70px;
    margin: 10px;
    padding: 20px;
    font-size: 14px;
    background-color: white;
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
    box-shadow: 0 5px 2.2px rgba(0, 0, 0, 0.01), 0 5px 5px rgba(0, 0, 0, 0.02), 0 5px 5px rgba(0, 0, 0, 0.03),
    0 5px 5px rgba(0, 0, 0, 0.04), 0 5px 5px rgba(0, 0, 0, 0.05), 0 15px 10px rgba(0, 0, 0, 0.06);
}

.program option {
    width: 300px;
}

/* Программы */
.check_program {
    display: flex;
    justify-content: flex-start;
    font-size: 8px;
    flex-direction: row;
}

.check_program input {
    width: 30px;
    height: 30px;
    margin: 5px;
}

.check_program input:hover::before {
    content: attr(title);
    display: block;
    position: absolute;
    margin: 30px;
    padding: 5px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    pointer-events: none;
    max-width: 150px; /* максимальная ширина подсказки */
    transform: translateX(-50%); /* центрирование подсказки по горизонтали */
}

.trProgram:hover::before {
    content: attr(data-tooltip);
    display: block;
    position: absolute;
    margin: 30px;
    padding: 5px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    pointer-events: none;
    max-width: 150px; /* максимальная ширина подсказки */
    transform: translateX(-50%); /* центрирование подсказки по горизонтали */
}

.usersInfo {
    display: none;
}

.usersInfo div {
    margin: 5px;
}

.usersInfo textarea {
    padding: 5px;
}

/*Панель оповещений*/
.telegram-btn-view {
    padding: 10px;
    margin: 5px;
    background-color: white;
    width: 300px;
    cursor: pointer;
    transition: 1s;
}

.button-active {
    background-color: #000000;
    border: 2px solid #000000;
    color: white;
}

.telegram-bot {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.telegram-form-view {
    width: 100%;
}

.orders-view {
    width: 400px;
    text-align: left;
    font-size: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

/*Программа питания*/
.ingestion {
    display: flex;
    width: 100%;
    margin: 10px;
    justify-content: space-between;
}

.product {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.productSelect {
    width: 100%;
    height: 50px;
}

.productSelect select {
    width: 100%;
    height: 100%;
    padding: 5px;
    font-size: 14px;
}

.productView {
    border: 1px solid gray;
    height: 400px; /* Устанавливаем фиксированную высоту */
    overflow: auto; /* Добавляем прокрутку при необходимости */
}

.meal {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh; /* Устанавливаем фиксированную высоту */
    overflow: auto;
    border: 1px solid black;
}

@media (max-width: 768px) {
    .meal {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 1050px; /* Устанавливаем фиксированную высоту */
        overflow: auto;
        border: 1px solid black;
    }
}

.productList button {
    font-size: 8px;
}

.mealBlock {
    border: 1px solid #ccc;
    margin-bottom: 5px;
}

.mealItem {
    border: 1px solid #ccc;
    padding: 2px;
    margin: 1px;
    min-height: 50px;
}

.mealBlock-users {
    border: 1px solid #ccc;
    padding: 5px;
    margin-bottom: 5px;
    width: 100%;
    max-width: 500px;
}

.mealItem-user {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 70px;
    padding: 5px;
    border: 1px solid #ccc;
    margin: 5px;
    min-height: 50px;
    font-size: 18px;
}

.mealItem-user-images {
    height: 20px;
    cursor: pointer;
}

.mealItem-user-images img {
    height: 20px;
}

.mealItem-user-product {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 5px;
}

.mealItem-user-product-view {
    text-align: left;
}

.mealItem-user-product-view a {
    color: black;
    cursor: pointer;
    text-decoration: none;
}

.mealHeader-user {
    font-size: 10px;
    text-align: right;
    margin: 5px;
}

.monochrome-block {
    width: 100%;
    filter: grayscale(100%);
}

.productValue {
    cursor: move;
    font-size: 12px;
    margin: 5px;
    padding: 17px 5px 15px;
    border: 1px solid black;
    border-radius: 5px;
    position: relative;
    text-align: left;
}

.productValue button {
    margin-top: 10px;
}

.productPFC {
    display: flex;
    position: absolute;
    right: 0;
    top: 0;
}

.productPFC div {
    padding: 1px;
}

.productPFC :first-child {
    border-radius: 0 0 0 5px;
}

.productPFC :last-child {
    border-radius: 0 5px 0 0;
}

.productPFCValue {
    display: flex;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 10px;
}

.productPFCValue div {
    padding: 1px;
}

.productPFCValue :first-child {
    border-radius: 0 0 0 5px;
}

.productPFCValue :last-child {
    border-radius: 0 5px 0 0;
}

.gramView {
    font-size: 12px;
}

.productList {
    display: flex;
    flex-direction: column;
    font-size: 10px;
    margin: 5px;
    padding: 5px;
    border: 1px solid black;
    border-radius: 5px;
}

.highlight {
    background-color: #336fee;
    opacity: 0.5;
}

.dragged-style {
    background-color: #bda0ff;
}

.ghost {
    opacity: 0.5;
    background-color: #ffffff;
}

.mealBlockName {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 5px;
}

.mealBlockName form {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.mealBlockName-form-flex {
    display: flex;
    align-items: center;
    font-size: 10px;
    margin: 2px;
    gap: 5px;
}

.mealBlockName-form-flex input {
    border: 1px solid rgba(0, 0, 0, 0.3);
}


.mealBlockName-form-flex :last-child {
    width: 80px;
    text-align: left;
}

.mealBlockName input {
    border-radius: 10px;
    padding: 5px;
    text-align: left;
    width: 50px;
    margin-right: 5px;
    font-size: 10px;
}

.mealBlockName-info {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    text-align: left;
}

.mealBlockName-calories {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
}

.mealBlockName-calories p {
    border: 1px solid black;
    padding: 5px;
    margin: 1px;
}

.mealHeader {
    font-size: 10px;
    text-align: left;
    margin: 5px;
}

.protein {
    background-color: #F4F4FC;
}

.carbohydrates {
    background: #FFF7EC;
}

.mealBlock-users.protein {
    background-color: #F4F4FC;
}

.mealBlock-users.carbohydrates {
    background: #FFF7EC;
}

.mealBlock-users.fats {
    background: #fecbcb;
}

.fats {
    background-color: #fecbcb;
}

.user-nutrition {
    width: 100%;
    height: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 45% calc(55% - 15px);
    grid-template-areas:
    'a c'
    'b c'
    'd c';
    gap: 15px;
}

.box-1 {
    grid-area: a;
}

.box-2 {
    grid-area: b;
}

.box-3 {
    grid-area: c;
}

.box-4 {
    grid-area: d;
}

.nutritionName {
    width: 100%;
}

.flexPFC {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.flexPFC input {
    border-radius: 10px;
    padding: 5px;
    margin: 5px;
    font-size: 10px;
}

.flexColumn {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.flexColumn input {
    margin: 0;
}

.flexColumn input {
    width: 100%;
}

.form-control.user-nutrition__form--textarea {
    font-size: 10px;
    height: 100px;
}

span.input-group-text.user-nutrition__form--span {
    font-size: 10px;
}

.nutritionName-macronutrient {
    display: flex;
    flex-direction: column;
}

.nutritionName-macronutrient-value {
    display: flex;
    font-size: 12px;
    align-items: center;
}

.nutritionName-macronutrient-value :last-child {
    margin-left: 10px;
}

.nutritionName-macronutrient input {
    width: 50px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    text-align: center;
}

.gram input {
    width: 100%;
}

.calories-sum-view-user {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.calories-sum-view-user div {
    padding: 5px;
}

/* Измерения */
.caliperometry {
    width: 100%;
}

.caliperometry-table-div {
    overflow-x: scroll;
}

.caliperometry-table {
    border-collapse: collapse;
    border: 3px solid black;
}

.caliperometry-table th {
    min-width: 150px;
}

.caliperometry-table td,
.caliperometry-table th {
    border: 1px solid black;
    padding: 2px;
}

.caliperometry-table tr:nth-child(1),
.caliperometry-table tr:nth-child(6),
.caliperometry-table tr:nth-child(11),
.caliperometry-table tr:nth-child(12) {
    border-bottom: 3px solid black;
}

.caliperometry-table input {
    text-align: center;
    width: 50px;
}

.caliperometry-form {
    width: 100%;
}

.caliperometry-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.caliperometry-form input {
    height: 30px;
    width: 100%;
}

@media (max-width: 1000px) {
    .header {
        display: flex;
        justify-content: center;
        height: 90px;
        background: linear-gradient(#635ffe, #569afd);
        margin-bottom: 20px;
        width: 100%;
    }

    .logo img {
        width: 50px;
    }

    .logo {
        margin: 10px;
    }

    .margin200 {
        margin-top: 90px;
    }
}

/* Тренажеры */

.trainingApparatus form {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    gap: 20px;
    position: relative;
}

.trainingApparatus-header {
    width: 100%;
}

.trainingApparatus-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    font-size: 13px;
    font-family: Rubik, sans-serif;
    width: 150px;
    height: 150px;
}

.trainingApparatus-item img {
    object-fit: contain;
    height: 100px;
    max-width: 150px;
}

.svg {
    position: absolute;
    bottom: 0;
    left: 0;
    pointer-events: none;
    z-index: 100;
}

.path {
    stroke: blue;
    stroke-width: 10;
    stroke-dasharray: 16000;
    stroke-dashoffset: 16000;
    animation-iteration-count: 1;
    transition: 1s;
}

.trainingApparatus-item input.check:checked + svg path {
    stroke-dashoffset: 0;
}

.trainingApparatus-item input[type='checkbox'] {
    display: none;
}

@keyframes draw {
    100% {
        stroke-dashoffset: 0;
    }
}

@media (max-width: 1000px) {
    .trainingApparatus form {
        justify-content: center;
    }

    .svg {
        position: absolute;
        bottom: 0;
        left: -20px;
        pointer-events: none;
        z-index: 100;
    }
}

.offcanvas.offcanvas-bottom {
    height: 50vh;
}

.macronutrient__info--btn {
    position: fixed;
    top: 25px;
    right: 10px;
    z-index: 10000;
}

.info__btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
}

.mealBlock__info input {
    width: 100%;
}

.auth__form {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}


/* ---------------------------------------------------------- */
/* ------------------ start cabinet styles ------------------ */
/* ---------------------------------------------------------- */
body {
    margin: 0;
}

.main-content {
    /* position: relative; */
    padding: 0 16px;
    padding-bottom: 100px;
    max-width: 1168px;
}

.header {
    background: none;
    display: block;
    height: auto;
    margin-top: 20px;
    margin-bottom: 16px;
}

.content {
    margin-top: 0;
    max-width: 100%;
    text-align: left;
}

.header__logo {
    display: none;
    margin: auto;
}

.auth {
    padding-top: 15px;
    max-width: 315px;
    width: 100%;
    font-family: 'Open Sans';
}

.auth__logo img {
    width: 100%;
    height: auto;
}

.auth__title {
    margin-bottom: 30px;
    font-size: 24px;
    line-height: 1.2em;
    font-weight: 700;
    font-family: 'Open Sans';
    text-align: center;
}

.auth form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.auth p {
    margin: 0;
}

.auth input {
    width: 100%;
    border-radius: 16px;
    background: #f7f8f8;
    color: #000;
    font-size: 14px;
    line-height: 1.2em;
    font-weight: 500;
    height: 60px;
    border: none;
    font-family: 'Open Sans';
    margin: 0;
    padding: 19px 22px;
}

.authSubmit {
    width: 100%;
}

.authSubmit input {
    width: 100%;
    color: #fff;
    background: #5B53FF;
    font-family: 'SF Pro Display';
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2em;
}

.auth__bottom {
    margin-top: 85px;
}

.auth__link {
    font-family: 'Open Sans';
    font-size: 14px;
    line-height: 1.2em;
    font-weight: 500;
    color: #ADA4A5;
}

.profile {
    display: block;
    max-width: 534px;
    width: 100%;
    margin-top: 34px;
}

.profile-header {
    position: relative;
    max-width: 534px;
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    padding: 12px;
    padding-right: 50px;
    border-radius: 16px;
    box-shadow: 0px 10px 40px 0px #1D161712;
}

.profile-header__logo {
    width: 28px;
    margin-right: 13px;
    flex-shrink: 0;
}

.profile-header__logo img {
    width: auto;
    height: auto;
}

.profile-header__name {
    margin: 0;
    font-size: 14px;
    line-height: 1.2em;
    font-family: 'SF Pro Display';
    font-weight: 500;
    color: #6B6A74;
}

.profile-header__tooltip {
    width: 28px;
    height: 28px;
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    cursor: pointer;
    border: none;
    background: none;
}

.profile-header__tooltip img {
    width: 100%;
    height: auto;
}

.profile-button {
    width: 100%;
    padding: 0;
    margin-bottom: 16px;
}

.profile-button a {
    position: relative;
    display: block;
    padding: 0 22px;
    padding-right: 45px;

    background: #F4F4FC;
    border-radius: 16px;
    font-family: 'SF Pro Display';
    font-size: 14px;
    line-height: 1.2em;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
    height: 83px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
}

.profile-button a:after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background: url('../images/icon/arr-right.svg') no-repeat;
    background-size: contain;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.profile-button--payment a {
    background: #FCE7D4;
    color: #DA840D;
}

.mealBlock-users {
    position: relative;
    border-radius: 16px;
    border: 1px solid #E7E7FF;
    box-shadow: 0px 10px 40px 0px #1D161712;
    background: #F4F4FC;
    padding: 15px;
    margin-bottom: 15px;
}

.mealBlock-users::after {
    content: '';
    display: block;
    width: 123px;
    height: 123px;
    position: absolute;
    top: 0;
    right: 0;
    background: url('../images/icon/dish.svg') no-repeat;
    background-size: contain;
}

.mealBlock-users__title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 15px;
    font-family: 'SF Pro Display';
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2em;
    text-align: left;
    text-transform: lowercase;
}

.mealBlock-users__title b {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #5B53FF;
    font-family: 'SF Pro Display';
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2em;
    text-align: center;
    color: #fff;
    flex-shrink: 0;
}

.mealBlock-users--blue {
    border-color: #c3c3f6;
    background-color: #F4F4FC;
}

.mealBlock-users--red {
    border-color: #fdc3c3;
    background: #fecbcb;
}

.mealBlock-users--yellow {
    border-color: #FFE3BD;
    background: #FFF7EC;
}

.mealBlock-users--yellow::after {
    background: url('../images/icon/dish-yellow.svg') no-repeat;
}

.mealBlock-users--yellow .mealBlock-users__title b {
    background: #DA840D;
}

.mealHeader-user {
    margin: 0;
    margin: 10px 0;
    font-family: 'Open Sans';
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2em;
    text-align: left;
    color: #263238;
}

.mealItem-user {
    margin: 0;
    padding: 0;
    border: none;
    align-items: baseline;
    margin-bottom: 20px;
}

.mealItem-user-product-view {
    font-family: 'Open Sans';
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2em;
    color: #10101A;
    display: flex;
    width: 100%;
}

.mealItem-user-product-view::after {
    content: '';
    display: block;
    width: 100%;
    border-bottom: 1px dashed #DDDDDD;
}

.mealItem-user-product-view a,
.mealItem-user-product-view span {
    flex-shrink: 0;
    font-family: 'Open Sans';
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2em;
    color: #626262;
    max-width: 100%;
}

.mealItem-user-product-view + div {
    color: #626262;
    font-size: 16px;
}

.calories-sum-view-user > div {
    padding: 11px;
    border-radius: 16px;
    box-shadow: 0px 10px 40px 0px #1d161731;
    background: #fff;
    font-family: 'SF Pro Display';
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2em;
}

.calories-sum-view-user .protein {
    color: #5B53FE;
}

.calories-sum-view-user .fats {
    color: #F6605D;
}

.calories-sum-view-user .carbohydrates {
    color: #DA840D;
}

.calories-sum-view-user > div:last-child {
    padding: 11px 20px;
    color: #6B6A74;
}

.list-product-title {
    font-family: 'SF Pro Display';
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2em;
    text-align: left;
    margin-bottom: 16px;
    width: 100%;
    max-width: 534px;
}

.list-product {
    width: 100%;
    max-width: 700px;
    margin: 0;
}

.list-product-program {
    padding: 0;
    border: none;
}

.list-product-form {
    display: flex;
    gap: 16px;
}

.list-box {
    padding: 17px;
    padding-bottom: 24px;
    box-shadow: 0px 10px 40px 0px #1D161712;
    border-radius: 16px;
    width: calc(50% - 8px);
}

.list-box__title {
    margin-bottom: 17px;
    font-family: 'SF Pro Display';
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2em;
    display: flex;
    align-items: center;
    gap: 15px;
}

.list-box__title svg {
    flex-shrink: 0;
    width: 24px;
}

.list-box__content {
    padding: 0;
}

.list-product-form label {
    display: grid;
    grid-template-columns: 1fr 35px;
    align-items: end;
    gap: 10px;
    padding: 0;
    font-size: 10px;
    line-height: 1.2em;
    margin-bottom: 10px;
}

.list-product-form label span:first-child {
    display: flex;
    flex-shrink: 0;
    max-width: 100%;
}

.list-product-form label span:first-child::after {
    content: '';
    width: 100%;
    border-bottom: 1px dashed #DDDDDD;
}

.hidden {
    display: none;
}

.Weight {
    width: 100%;
    max-width: 534px;
}

.week {
    border-radius: 16px;
    box-shadow: 0px 10px 40px 0px #1D161712;
    padding: 15px 10px;
}

.week__date {
    margin-bottom: 15px;
    font-family: 'SF Pro Display';
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2em;
    text-align: center;
}

.weight-info {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.weight-info__item {
    padding: 12px;
    background: #F7F8F8;
    border-radius: 16px;
}

.weight-info__name {
    font-family: 'SF Pro Display';
    font-weight: 400;
    line-height: 1.2em;
    font-size: 16px;
    color: #7B6F72;
    text-align: center;
    margin-bottom: 6px;
}

.weight-info__value {
    font-family: 'SF Pro Display';
    font-weight: 800;
    line-height: 1.2em;
    font-size: 18px;
    text-align: center;
}

.weight-info__value--red {
    color: #ED6366;
}

.weight-info__value--blue {
    color: #5B53FF;
}

.weight-info__value--green {
    color: #73D16B;
}

.weight-info__value span {
    color: #73D16B;
}

.weight-info .weight-info__value.weight-info__value--small {
    font-size: 10px;
}

.weekWeight {
    margin: 0;
    padding: 0;
    text-align: center;
}

.weekWeight table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.weekWeight thead {
    margin-bottom: 15px;
}

.weekWeight th {
    font-family: 'Open Sans';
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2em;
    text-align: center;
    color: #7B6F72;
}

.weekWeight tr {
    border-radius: 6px;
}

.weekWeight table tr:nth-child(even) {
    background-color: #F4F4FC;
}

.weekWeight table td {
    font-family: 'Open Sans';
    font-size: 18px;
    font-weight: 500;
    line-height: 1em;
    color: #1D1617;
    padding: 4px 0;
}

.weight-form-box {
    width: 100%;
    max-width: 534px;
    padding: 15px;
    background: linear-gradient(115.76deg, #FFF7ED 2.22%, #E6E5FF 97.6%);
    box-shadow: 0px 10px 40px 0px #1D161712;
    border-radius: 16px;
}

.weight-form-box__date {
    text-align: center;
    color: #1D1617;
    font-family: 'SF Pro Display';
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2em;
    text-align: center;
    margin-bottom: 12px;
}

.weight-form__container {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.weight-form__item {

}

.weight-form__title {
    margin-bottom: 10px;
    font-family: 'SF Pro Display';
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2em;
    text-align: left;
    color: #7B6F72;
}

.weight-form__item input {
    padding: 17px 20px;
    border-radius: 10px;
    background: #F7F8F8;
    font-family: 'SF Pro Display';
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2em;
    text-align: left;
    border: none;
    outline: none;
    width: 113px;
}

.weight-form__item input::placeholder {
    color: #bcbbbb;
}

.weightSubmit input {
    width: 100%;
    max-width: 315px;
    margin: auto;
    background: #5B53FF;
    height: 60px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: 'SF Pro Display';
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2em;
    border: none;
    outline: none;
    border-radius: 16px;
}

.personal-data {
    width: 100%;
    max-width: 534px;
}

.personal-data__title {
    font-family: 'SF Pro Display';
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2em;
    text-align: center;
    color: #1D1617;
    margin-bottom: 12px;
}

.personal-data__container {
    border-radius: 20px;
    padding: 20px 24px;
    font-size: 14px;
    text-align: left;
    background: #FFFFFF;
    box-shadow: 0px 16.69px 66.75px 0px #1D161712;
}

.personal-data-1 {
    margin-bottom: 15px;
    justify-content: center;
    gap: 17px;
}

.personal-data-1 label {
    font-family: 'SF Pro Display';
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2em;
    text-align: left;
    color: #1D1617;
}

.personal-data-2 {

}

.personal-data-2 input {
    padding: 10px;
    text-align: center;
    width: 65px;
    background: #F7F8F8;
    border-radius: 8px;
    border: none;

}

.personal-data-2-date input {
    width: 117px;
    font-size: 12px;
    font-family: 'SF Pro Display';
    font-weight: 500;
    line-height: 1.2em;
    text-align: center;
}

.personal-data-name {
    font-family: 'SF Pro Display';
    font-size: 8px;
    font-weight: 400;
    line-height: 1.2em;
    text-align: left;
    margin-bottom: 3px;
    color: #999797;
}

.personal-data-3 select {
    border: none;
    background: #F7F8F8;
    border-radius: 8px;
}

.personal-data-submit input {
    width: 100%;
    max-width: 315px;
    margin: auto;
    border-radius: 16px;
    height: 60px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'SF Pro Display';
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    background: #5B53FF;
}

.personal-data--diet {
    display: flex;
    flex-direction: column;
}

.personal-data--diet form {
    margin: 0;
    padding: 0;
    flex-grow: 1;
    display: flex;
}

.personal-data--diet textarea {
    width: 100%;
    background: #F7F8F8;
    border: none;
    border-radius: 20px;
    padding: 15px 20px;
    font-family: 'SF Pro Display';
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2em;
    text-align: left;
    color: #999797;
}

.personal-data--food .personal-data__title {
    text-align: left;
    font-size: 16px;
}

.food-preferences-category {
    font-family: 'SF Pro Display';
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2em;
    text-align: left;
    color: #1D1617;
    margin-bottom: 15px;
}

.food-preferences-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.food-preferences-label-text {
    margin: 0;
    font-family: 'SF Pro Display';
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2em;
}

.food-preferences-checkbox input {
    width: 15px;
    height: 15px;
    border: 2px solid #D9D9D9;
    scale: none;

}

.personal-data input,
.personal-data select {
    height: 35px;
}

.personal-data input[type="checkbox"] {
    display: none;
}

.personal-data input[type="checkbox"] + label {
    display: flex;
    gap: 10px;
    align-items: center;
}

.personal-data input[type="checkbox"] + label > p {
    margin: 0;
}

.personal-data input[type="checkbox"] + label > span {
    position: relative;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    border: 2px solid #D9D9D9;
    border-radius: 4px;
}

.personal-data input[type="checkbox"]:checked + label > span {
    background: linear-gradient(274.42deg, #92A3FD 0%, #9DCEFF 124.45%);
    border: none;
}

.personal-data input[type="checkbox"] + label > span::before {
    position: absolute;
    left: 1px;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    content: "";
}

.personal-data input[type="checkbox"]:checked + label > span::before {
    content: "";
    background: url('../images/icon/check.svg') no-repeat;
    background-size: contain;
}

.personal-data-1 input {
    display: none;
}

.personal-data-1 label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.personal-data-1 label span {
    position: relative;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #DDDDDD;
    flex-shrink: 0;
}

.personal-data-1 label span::before {
    content: '';
    width: 50%;
    height: 50%;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.personal-data-1 input:checked + label span {
    border: none;
    background: linear-gradient(274.42deg, #92A3FD 0%, #9DCEFF 124.45%);
}

.personal-data-1 input:checked + label span::before {
    background: #fff;
    display: block;
}

.page-title {
    font-family: 'SF Pro Display';
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2em;
    text-align: center;
    color: #1D1617;
    margin-bottom: 12px;
}

.telegram {
    width: 100%;
    max-width: 534px;
    margin-bottom: 15px;
    padding: 20px 25px;
    box-shadow: 0px 10px 40px 0px #1D161712;
    border-radius: 20px;
}

.telegram .coach {
    font-family: 'SF Pro Display';
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2em;
    margin-bottom: 12px;
    color: #666565;
}

.telegram .coach b {
    font-family: 'SF Pro Display';
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2em;
    color: #000;
}

.input-title {
    font-family: 'SF Pro Display';
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2em;
    color: #999797;
    margin-bottom: 3px;
}

.telegram select {
    border: none;
    background: #F7F8F8;
    border-radius: 8px;
    display: block;
    width: 100%;
    margin-bottom: 12px;
    height: 30px;
    font-family: 'SF Pro Display';
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2em;
    padding: 0 10px;
}

.telegram input[type="submit"] {
    width: 100%;
    max-width: 315px;
    margin: auto;
    border-radius: 16px;
    height: 60px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'SF Pro Display';
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    background: #5B53FF;
    border: none;
    color: #fff;
}

.telegram .notice {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 12px;
}

.telegram .notice .notice__text {
    font-family: 'SF Pro Display';
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2em;
    max-width: 150px;
}

.telegram .notice .notice__time {
    background: #5B53FF;
    border-radius: 8px;
    color: #fff;
    padding: 4px;
    text-align: center;
    font-family: 'SF Pro Display';
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2em;
}

.form-time {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-time__left {
    margin-bottom: 12px;
}

.set-time-label {
    font-family: 'SF Pro Display';
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2em;
    color: #999797;
    margin-bottom: 8px;
}

.set-time {
    background: #F7F8F8;
    padding: 11px 20px;
    text-align: center;
    font-family: 'SF Pro Display';
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2em;
    border: none;
    border-radius: 8px;
}

.form-time input[type="submit"] {
    width: 100%;
    max-width: 270px;
    margin: auto;
    border-radius: 16px;
    height: 60px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'SF Pro Display';
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    background: #FCE7D4;
    border: none;
    color: #DA840D;
}

.payform-tinkoff {
    border-radius: 20px;
    padding: 20px 24px;
    font-size: 14px;
    text-align: left;
    background: #FFFFFF;
    box-shadow: 0px 16.69px 66.75px 0px #1D161712;
    max-width: 534px !important;
    width: 100%;
}

.payform-tinkoff-row {
    background: #F7F8F8 !important;
    border-radius: 8px !important;
    border: none !important;
    margin-bottom: 10px !important;
}

.payform-tinkoff-row.payform-tinkoff-btn {
    background: #5B53FF !important;
    color: #fff !important;
    max-width: 315px !important;
    font-family: 'SF Pro Display';
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    margin: auto;
    width: 100%;
}

.meal-inner {
    width: 100%;
    max-width: 500px;
}


@media (min-width: 768px) {
    .header {
        margin-bottom: 20px;
    }

    .header__logo {
        display: block;
        width: 68px;
        height: auto;
        margin-bottom: 35px;
    }

    .auth {
        margin-top: 60px;
    }

    .profile-header {
        padding: 35px;
    }

    .profile-header__top {
        text-align: center;
    }


    .profile-header__name {
        font-size: 16px;
        text-align: center;
        width: 100%;
    }

    .profile-header__tooltip {
        width: 32px;
        height: 32px;
        border: none;
        background: none;
    }

    .profile-button a {
        padding: 0 37px;
        padding-right: 55px;
        font-size: 20px;
    }

    .profile-button a:after {
        right: 30px;
    }

    .mealBlock-users {
        padding: 22px;
        margin-bottom: 25px;
    }

    .mealBlock-users__title {
        font-size: 24px;
    }

    .mealHeader-user {
        font-size: 18px;
    }

    .mealItem-user-product-view a,
    .mealItem-user-product-view span {
        font-size: 15px;
    }

    .mealItem-user-product-view + div {
        font-size: 15px;
    }

    .list-product-title {
        font-size: 24px;
        text-align: center;
    }

    .list-product-form {
        gap: 26px;
    }

    .list-box {
        width: calc(50% - 13px);
        padding: 28px;
        padding-bottom: 40px;
    }

    .list-box__title {
        margin-bottom: 32px;
        font-size: 18px;
    }

    .list-product-form label {
        grid-template-columns: 1fr 50px;
        font-size: 15px;
    }

    .week__date {
        font-size: 18px;
    }

    .weight-info__name {
        font-size: 16px;
    }

    .weight-info__value {
        font-size: 18px;
    }

    .weight-form-box {
        padding: 20px;
        padding-top: 15px;
    }

    .weight-form-box__date {
        margin-bottom: 25px;
        font-size: 18px;
    }

    .weight-form__container {
        margin-bottom: 24px;
    }

    .weight-form__title {
        font-size: 14px;
    }

    .weight-form__item input {
        font-size: 16px;
    }

    .weightSubmit input {
        font-size: 20px;
    }

    .personal-data__title {
        margin-bottom: 20px;
    }

    .personal-data__container {
        padding: 28px 40px;
    }

    .personal-data-name {
        font-size: 14px;
    }

    .personal-data__title {
        font-size: 24px;
    }

    .personal-data-1 label {
        font-size: 20px;
    }

    .personal-data-2 input {
        width: 85px;
        font-size: 20px;
    }

    .personal-data-2-date input {
        font-size: 20px;
        width: 190px;
    }

    .personal-data-submit {
        margin-top: 25px;
    }

    .personal-data-submit input {
        font-size: 16px;
        background: #5B53FF;
    }

    .personal-data-3 select {
        padding: 10px 20px;
        font-size: 20px;
    }

    .personal-data--food .personal-data__title {
        font-size: 20px;
    }

    .food-preferences-label-text {
        font-size: 16px;
    }

    .personal-data input, .personal-data select {
        height: 50px;
    }

    .personal-data-1 label span {
        width: 26px;
        height: 26px;
    }

    .page-title {
        font-size: 24px;
    }

    .telegram .coach {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .telegram .coach b {
        font-size: 20px;
    }

    .input-title {
        font-size: 14px;
    }

    .telegram select {
        padding: 10px 20px;
        font-size: 20px;
        margin-bottom: 20px;
    }

    .telegram input[type="submit"] {
        font-size: 16px;
        background: #5B53FF;
    }

    .telegram .notice .notice__text {
        font-size: 18px;
        max-width: 210px;
    }

    .telegram .notice .notice__time {
        padding: 9px 12px;
    }

    .form-time__left {
        max-width: 210px;
        margin: 0;
    }

    .form-time {
        flex-direction: row;
        align-items: flex-end;
    }

    .form-time input[type="submit"] {
        margin: 0;
        background: #FCE7D4;
    }

    .telegram select {
        height: 42px;
        font-size: 16px;
        padding: 0 20px;
    }

    .payform-tinkoff-row.payform-tinkoff-btn {
        font-size: 20px;
    }

    .main-content {
        padding-bottom: 160px;
    }

}

@media (min-width: 1200px) {
    .main-content {
        margin: 48px auto;
        border: 1px solid #E9E9E9;
        border-radius: 36px;
    }

    .personal-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}


.main-nav {
    position: fixed;
    bottom: 0px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0px 10px 40px 0px #1D16171A;
    z-index: 4000;
}

.main-nav__list {
    max-width: 870px;
    margin: auto;
    padding: 10px 0;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.main-nav__item {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.main-nav__link {
    display: block;
    padding: 10px;
}

.main-nav__link img {
    display: block;
    margin: auto;
    width: 24px;
    height: auto;
}

.main-nav__link--profile {
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #5A61FD 0%, #5C8DFF 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -25px;
}

.main-nav__link--admin {
    background: linear-gradient(180deg, #d11a1a 0%, rgba(250, 120, 120, 0.75) 100%);
}

.main-nav__link--profile img {
    width: 16px;
}


#instruction .modal-content {
    border-radius: 16px;
    padding: 0 14px;
    padding-bottom: 20px;
    position: relative;
}

.modal-content .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    border-radius: 50%;
    opacity: .5;
    background-size: 14px;
    border: 1px solid #000;
    padding: 5px;
    margin: 0;
}

#instruction .modal-header {
    display: block;
    border: none;
}


#instruction .modal-title {
    text-align: center;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-family: 'SF Pro Display';
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2em;
    text-align: center;
}

#instruction .modal-title span {
    display: block;
    font-size: 14px;
    font-weight: 400;
    text-transform: lowercase;
}

#instruction .modal-title:last-child {
    margin-bottom: 0;
}

#instruction .modal-body {
    padding: 0;
}

.meal-date {
    color: #5B53FF;
    font-family: 'Open Sans';
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2em;
    text-align: center;
    background: #c0c0f1;
    padding: 7px 14px 8px 12px;
    border-radius: 8px 8px 0px 0px;
    margin-left: 30px;
    width: 140px;
}

.list-product .meal-date {
    margin: 5px;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    width: 150px;
    justify-content: center;
}
#chart {
    max-width: 534px;
    width: 100%;
    margin: 35px auto;
}

.os-scrollbar-track {
    background: #E9EDFF !important;
}

.os-scrollbar-handle {
    background: #92A3FD !important;
}

.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless,
.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless.os-scrollbar-rtl {
    bottom: 82px !important;
}

@media (min-width: 768px) {
    .main-nav {
        left: 50%;
        width: calc(100% - 32px);
        transform: translateX(-50%);
        bottom: 30px;
        border-radius: 16px;
    }

    .main-nav__list {
        padding: 25px 0;
    }

    .main-nav__link--profile {
        margin: 0;
    }

    #instruction .modal-content {
        padding: 0 30px;
        padding-bottom: 30px;
    }

    .meal-date {
        display: block;
    }

    .os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless,
    .os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless.os-scrollbar-rtl {
        bottom: 0 !important;
    }
}


/* Хулиганские стили */
@media (max-width: 768px) {
    #chart {
        overflow: hidden;
    }
}

.profile-header__tooltip {
    display: none;
}

/* конец хулиганских стилей */

/* ---------------------------------------------------------- */
/* ------------------ end cabinet styles ------------------ */
/* ---------------------------------------------------------- */


.macronutrient__date {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .weight-form__container {
        flex-direction: column;
        align-items: center;
    }

    .weight-form__container .weight-form__item {
        width: 90%;
    }

    .weight-form__container .weight-form__item input {
        width: 100%;
    }
}

/* План питания */

.nutrition-programs {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 50px 0;
}

.nutrition-programs__item {
    width: 100%;
    background: #AFAFAF;
    color: white;
    display: flex;
    align-items: center;
    border-radius: 20px;
    font-size: 12px;
}

.nutrition-programs__item--time {
    width: 22%;
    background: #9C9C9C;
    padding: 20px 10px 20px 20px;
    border-radius: 20px 0 0 20px;
    font-size: 10px;
}

.nutrition-programs__item--name {
    padding: 20px 20px 20px 10px;
    flex: 1;
}

.nutrition-programs__item a {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: white;
}

.nutrition-programs__item--product a {

    justify-content: center;
}

.nutrition-programs__item a:after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background: url('../images/icon/arr-right.svg') no-repeat;
    background-size: contain;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.nutrition-programs__item--product {
    padding: 20px;
    text-transform: uppercase;
}

.nutrition-programs__item.active {
    background: #5B53FF;

}

.nutrition-programs__item.active .nutrition-programs__item--time {
    background: #4446CF;

}

.wishesForFoodForm {
    display: flex;
    flex-direction: column;
}

.meal-date__tabs {
    width: 100%;
    max-width: 500px;
    display: flex;
    gap: 10px;
    margin-bottom: -14px;
    overflow-x: scroll;
    scrollbar-width: none; /* Для Firefox */
    -ms-overflow-style: none; /* Для IE и Edge */
}

@media (min-width: 768px) {

    .meal-date__tabs {
        flex-wrap: wrap;
    }
}

.meal-date__tabs::-webkit-scrollbar {
    display: none; /* Скрыть полосу прокрутки в WebKit-браузерах */
}

.meal-date.active {
    /*border: solid 1px #5B53FF;*/
    background: #a5a5fa;
    color: white;
}

.meal-date {
    width: 100px;
    cursor: pointer;
    margin: 0;
    padding-bottom: 20px;
}


.meal-content__tabs .meal-content {
    display: none;
}

.meal-content__tabs .meal-content.active {
    display: block;
}

.meal-content__tabs {
    width: 100%;
    max-width: 500px;
}
.list-product .meal-content__tabs {
    width: 100%;
    max-width: 700px;
}

.meal-content__comment {
    width: 28px;
    height: 28px;

    z-index: 2;
    cursor: pointer;
    border: none;
    background: none;
}

.meal-content__comment i {
    width: 28px;
    height: 28px;
    font-size: 20px;
    color: #5A61FD;
}

.product-update-items-form-select select {

    border: none;
    background: #F7F8F8;
    border-radius: 8px;
    display: block;
    width: 100%;
    margin-bottom: 12px;
    height: 30px;
    font-family: 'SF Pro Display';
    font-weight: 400;
    line-height: 1.2em;
    padding: 0 10px;
}

.product-update-items-form-name input {
    border: none;
    background: #F7F8F8;
    border-radius: 8px;
    display: block;
    width: 100%;
    margin-bottom: 12px;
    height: 30px;
    font-family: 'SF Pro Display';
    font-weight: 400;
    line-height: 1.2em;
    padding: 20px 10px;
}

.form-control.protein {
    background-color: #F4F4FC;
}

.form-control.carbohydrates {
    background: #FFF7EC;
}

.form-control.fats {
    background: #fecbcb;
}

.personal-container input.form-check-input.mt-0[type="checkbox"] {
    display: block;
    width: 1em;
    height: 1em;
}

.personal-container input.food-preferences__input--success.form-check-input.mt-0[type="checkbox"]:checked {
    background-color: green;
}

.personal-container input.food-preferences__input--false.form-check-input.mt-0[type="checkbox"]:checked {
    background-color: red;
}

.personal-container span.input-group-text {
    flex: 1;
}

@media (max-width: 768px) {

    .personal-container span.input-group-text {
        font-size: 10px;
    }

    .personal-container .input-group-text {
        padding: 5px;
    }
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.blinking_false {
    animation: blink 0.8s infinite;
    background-color: rgba(229, 179, 179, 0.35);
}


.food__header {
    display: flex;
    justify-content: space-between;
}

.food__header .food__header--item {
    font-family: 'SF Pro Display';
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2em;
    color: #1D1617;
    margin-bottom: 12px;
}

.food__header .food__item--left {
    text-align: center;
}

.food__header .food__item--right {
    text-align: right;
    color: red;
}

.history {
    display: flex;
    flex-direction: column;
}

.history--user {
    align-self: flex-start;
    background-color: #d1f7c4; /* Зеленый фон для пользователя */
    border-radius: 10px;
    padding: 10px;
    margin: 5px 0;
    max-width: 70%;
    word-wrap: break-word;
}

.history--trainer {
    align-self: flex-end;
    background-color: #f0f0f0; /* Светло-серый фон для тренера */
    border-radius: 10px;
    padding: 10px;
    margin: 5px 0;
    max-width: 70%;
    word-wrap: break-word;
}

.calendar-meal {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    overflow-y: scroll;
    max-height: 70vh;
    padding: 5px;
}

.calendar-meal::-webkit-scrollbar {
    width: 6px;
}

.calendar-meal::-webkit-scrollbar-track {
    background: #E9EDFF;
    border-radius: 10px;
}

.calendar-meal::-webkit-scrollbar-thumb {
    background: #92A3FD;
    border-radius: 10px;
}

.calendar-meal::-webkit-scrollbar-thumb:hover {
    background: #7a8ce0;
}

.calendar-meal__buttons {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.calendar-meal__button {
    width: 100%;
    border: none;
    padding: 10px 20px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    transition: 1s;
}

.calendar-meal__button.active {
    scale: 1.1;
    animation: blink_calendar 1.5s ease-in-out infinite;
}

.calendar-meal__button--vacation {
    background: #F0A3A4;
}

.calendar-meal__button--holiday {
    background: #5B76FE;
}

.calendar-meal__button--cycle {
    background: #C673DB;
}

.calendar-meal__month {
    margin-bottom: 20px;
}

.calendar-meal__month-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    color: #5B53FF;
    border: 1px solid #5B53FF;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
}

.calendar-meal__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-top: 10px;
}

.calendar-meal__day {
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    font-size: 14px;
    position: relative;
    cursor: pointer;
}

.calendar-meal__day--white {
    background: #F6F6F6;
    color: #5B61FE;
}

.calendar-meal__day[data-event-vacation],
.calendar-meal__day[data-event-holiday],
.calendar-meal__day[data-event-menstrual] {
    color: white;
    position: relative;
}

.calendar-meal__day[data-event-vacation] {
    background: #F0A3A4;
}

.calendar-meal__day[data-event-holiday] {
    background: #5B76FE;
}

.calendar-meal__day[data-event-menstrual] {
    background: #C673DB;
}

.calendar-meal__day.has-left::before,
.calendar-meal__day.has-right::before,
.calendar-meal__day.has-left.has-right::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    background: inherit;
    z-index: -1;
}

.calendar-meal__day.has-left::before {
    left: -2.5px;
    width: 10px;
}

.calendar-meal__day.has-right::before {
    right: -2.5px;
    width: 10px;
}

.calendar-meal__day.has-left.has-right::before {
    left: -5px;
    right: -5px;
    width: calc(100% + 15px);
}

.calendar-meal__day[data-event-vacation][data-event-holiday] {
    background: linear-gradient(to bottom, #F0A3A4 50%, #5B76FE 50%);
}

.calendar-meal__day[data-event-vacation][data-event-menstrual] {
    background: linear-gradient(to bottom, #F0A3A4 50%, #C673DB 50%);
}

.calendar-meal__day[data-event-holiday][data-event-menstrual] {
    background: linear-gradient(to bottom, #5B76FE 50%, #C673DB 50%);
}

.calendar-meal__day[data-event-vacation][data-event-holiday][data-event-menstrual] {
    background: linear-gradient(to bottom, #F0A3A4 33.3%, #5B76FE 33.3%, #5B76FE 66.6%, #C673DB 66.6%);
}

.blinking {
    animation: blink_calendar 1.5s ease-in-out infinite;
}

@keyframes blink_calendar {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 1;
    }
}

.color--vacation {
    background-color: #F0A3A4;
}

.color--holiday {
    background-color: #5B76FE;
}

.color--menstrual {
    background-color: #C673DB;
}

body td.color--vacation {
    background-color: #F0A3A4;
}

body td.color--holiday {
    background-color: #5B76FE;
}

body td.color--menstrual {
    background-color: #C673DB;
}

body .color--vacation.color--holiday {
    background: linear-gradient(to right, #F0A3A4 50%, #5B76FE 50%);
}

body .color--vacation.color--menstrual {
    background: linear-gradient(to right, #F0A3A4 50%, #C673DB 50%);
}

body .color--holiday.color--menstrual {
    background: linear-gradient(to right, #5B76FE 50%, #C673DB 50%);
}

body .color--vacation.color--holiday.color--menstrual {
    background: linear-gradient(to right, #F0A3A4 33.3%, #5B76FE 33.3%, #5B76FE 66.6%, #C673DB 66.6%);
}


.payment__table-wrapper {
    width: 100%;
    margin: 20px 0;
    overflow-y: auto; /* Для прокрутки */
    max-height: 400px; /* Ограничение высоты для области прокрутки */
}
.offcanvas.payment__offcanvas{
    z-index: 99000;
}
.payment__table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    table-layout: fixed; /* Фиксированная ширина колонок */
}

.payment__table-head {
    background: #f8f9fa;
    position: sticky; /* Закрепляем заголовок */
    top: 0; /* Он будет оставаться на верхней части при прокрутке */
    z-index: 1; /* Для того, чтобы заголовки были поверх содержимого */
}

.payment__table-header {
    padding: 10px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
    word-wrap: break-word;
    font-size: 16px;
}

.payment__table-row {
    transition: background 0.2s ease;
}

.payment__table-row--clickable {
    cursor: pointer;
}

.payment__table-row--clickable:hover {
    background: #f5f5f5;
}

.payment__table-cell {
    padding: 10px;
    border-bottom: 1px solid #dee2e6;
    color: #666;
    word-wrap: break-word; /* Перенос слов */
    font-size: 14px;
}

.payment__table-row:last-child .payment__table-cell {
    border-bottom: none;
}

.payment__controls {
    width: 100%;
    max-width: 450px;
}

.payment-filters__text {
    flex: 1;
}

.payment__table-ico {
    width: 10px;
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
    .payment__table {
        min-width: 100%;
    }

    .payment__table-header {
        padding: 8px;
        font-size: 12px;
    }

    .payment__table-cell {
        padding: 8px;
        font-size: 12px;
    }

    /* Опционально: можно скрыть некоторые колонки на очень маленьких экранах */
    @media (max-width: 480px) {
        .payment__table-header:nth-child(4),
        .payment__table-cell:nth-child(4) {
            display: none; /* Скрываем "План тренировок" на маленьких экранах */
        }
    }
    .input-group input, .input-group span, .input-group select {
        font-size: 12px;
    }
}

.video-instructions__icon {
    position: absolute;
    right: 70px;
    text-decoration: none;
}
.profile-header__logo--new {
    position: absolute;
    right: auto;
    top: 50%;
    left: 70px;
    text-decoration: none;
    transform: translate(-50%, -50%);
}

.video-instructions__icon i {
    font-size: 18px;
    color: black;
}

.video-instructions__icon--notifications {
    position: absolute;
    right: 100px;
    text-decoration: none;
}

.video-instructions__icon--notifications i {
    font-size: 18px;
    color: black;
}

@media (min-width: 768px) {
    .video-instructions__icon {
        right: auto;
        left: 35px;
    }

    .video-instructions__icon i {
        font-size: 24px;
    }

    .video-instructions__icon--notifications {
        right: 70px;
    }

    .video-instructions__icon--notifications i {
        font-size: 24px;
    }
}

.exit__icon {
    position: absolute;
    right: 35px;

}

.exit__icon img {
    width: 15px;
}

.instructions--video {
    display: flex;
    justify-content: center;
}

.instructions--video video {
    max-width: 100%;
    max-height: 100vh;
}

.mealBlockName-form-arrow {
    font-size: 12px;
    line-height: 12px;
    user-select: none;
    cursor: pointer;
}


.agreement {
    background-color: #ffffff;
    padding: 0 2rem;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.agreement__title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
}

.agreement__subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.agreement__section {
    margin-bottom: 2rem;
}

.agreement__link {
    color: #007bff;
    text-decoration: none;
}

.agreement__link:hover {
    text-decoration: underline;
}

.agreement__signature {
    border-top: 1px solid #ccc;
    padding-top: 1rem;
}

.accordion-button.agreement__collapsible-toggle {
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    color: #000;
}

.accordion-body p {
    margin-bottom: 0.25rem;
}

ul {
    padding-left: 1.25rem;
}

ul li {
    margin-bottom: 0.5rem;
}

.form-check-label {
    margin-left: 0.25rem;
}

#payButton {
    width: 100%;
    max-width: 300px;
    font-weight: 600;
}

.alert-success {
    font-weight: 500;
    background-color: #e6f7ea;
    border-color: #b8e6c4;
    color: #237a3b;
}

.profile-header--admin {
    background: linear-gradient(180deg, #d11a1a 0%, rgba(250, 120, 120, 0.75) 100%);
}

.profile-header--admin .profile-header__name {
    color: white;
}

.users {
    width: 100%;
}

.users__search-wrapper {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 0.5rem 0;
    z-index: 1030;
}

.users__search-input {
    width: 100%;
}

.users__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.users__table thead th {
    background-color: #343a40;
    color: #fff;
    position: sticky;
    top: 2.5rem; /* высота поисковой строки */
    z-index: 1020;
    width: 33.33%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.users__table tbody {
    background-color: #fff;
}

.users__table td {
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .users__table td {
        font-size: 12px;
    }

    .users__table .users__table--th-name {
        width: 180px;
    }
}

.users__table .users__name {
    /*white-space: nowrap;*/
}

.weight-diff--red {
    color: #f00;
}

.weight-diff--green {
    color: green;
}

.users__search-wrapper {
    position: sticky;
    top: 0;
    background: #fff;
    height: 48px; /* фиксированная высота строки поиска */
    padding: 0; /* убрать паддинги, чтобы высота была точной */
    z-index: 1050; /* выше шапки */
    display: flex;
    align-items: center;
}

.users__search-input {
    width: 100%;
    height: 36px;
}

.users__sort-select {
    width: 100%;
    height: 36px;
}

.users__table thead th {
    position: sticky;
    top: 48px; /* высота поисковой строки */
    z-index: 1040;
    background-color: #343a40;
    color: #fff;
    width: 33.33%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.users__name, .users__meal {
    cursor: pointer;
}

.users__item {
    transition: 0.7s;
}

.users__tbody .users__item:hover {
    background: #343a40;
    color: #fff;
}


/*Питание*/
.meal-admin {
    width: 100%;
}

.meal-admin .meal-admin__btn-block {
    display: flex;
    gap: 16px;
    max-width: 534px;
    width: 100%;
    margin: auto;
    /*flex-direction: column;*/
}

.meal-admin .meal-admin__btn {
    padding: 12px;
    border-radius: 16px;
    color: white;
    flex: 1;
}

@media (min-width: 768px) {
    .meal-admin .meal-admin__btn-block {
        flex-direction: row;
        gap: 5px;
    }

    .meal-admin .meal-admin__btn {
        padding: 35px;
    }
}


/* Создание программы питания */
.meal-new.layout {
    display: flex;
    flex-direction: row;
    height: 100vh;
    overflow: hidden;
}

.meal-new__left {
    overflow-y: auto;
    padding: 6px;
    flex: 1;
    border-right: 1px solid #dee2e6;
}

.meal-new__right {
    overflow-y: auto;
    padding: 6px;
    flex: 1;
    position: sticky;
    top: 0;
    height: 100vh;
}


.meal-new__macro-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meal-new__calc {
    min-width: 60px;
    text-align: center;
}

.meal-new__category {
    font-weight: bold;
    margin-top: 16px;
    margin-bottom: 8px;
}

.meal-new__products {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: scroll;
    height: 500px;
}

@media (max-width: 768px) {
    .meal-new__left .meal-new__products {
        gap: 5px;
    }

    .meal-new__left .meal-new__products.mb-3 {
        margin-bottom: 5px !important;
    }
}

.meal-new__product-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: grab;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.meal-new__product-card .meal-new__product-name {
    flex: 1;
}


.meal-new__product-macro {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
}

.meal-new__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 8px;
}

.meal-new__meal {
    border: 1px solid #ccc;
    padding: 12px;
    margin-bottom: 16px;
    border-radius: 6px;
}

.meal-new__meal-title {
    font-weight: bold;
    margin-bottom: 12px;
}

.meal-new__macro-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .meal-new__macro-line span {
        width: 55px;
    }

    .meal-new__span {
        width: 55px;
    }

    .meal-new__span--name {
        width: 125px;
    }
}

@media (max-width: 768px) {
    .meal-new__span--name {
        width: 80px;
    }
}


.meal-new__macro-info {
    min-width: 60px;
    text-align: center;
}

.meal-new__drop-zone {
    margin-bottom: 12px;
}

.meal-new__meals .accordion-item {
    border: none;
}

.meal-new__drop-title {
    font-weight: 500;
    margin-bottom: 6px;
}

@media (max-width: 768px) {
    .meal-new__drop-title {
        font-size: 12px;
    }

    .meal-new__drop-zone {
        margin-bottom: 5px;
    }
}

.meal-new__drop-target {
    min-height: 60px;
    background-color: #f8f9fa;
    border: 2px dashed #ccc;
    padding: 8px;
    border-radius: 6px;
}

.drag-over {
    border-color: #007bff;
    background-color: #e9f5ff;
}

.meal-new__remove-zone {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 100%;
    border: 2px dashed red;
    padding: 12px;
    text-align: center;
    background-color: #fff0f0;
    font-weight: bold;
    border-radius: 6px;
    display: none;
}

/* Показывать блок удаления, если класс active */
.meal-new__remove-zone.active {
    display: block;
}

/* Десктоп */
@media (min-width: 768px) {
    .meal-new.layout {
        flex-direction: row;
    }

    .meal-new__left,
    .meal-new__right {
        width: 50%;
        padding: 16px;
        max-width: 400px;
    }

    .meal-new__right .meal-new__product-card {
        flex-wrap: wrap;
    }

    .meal-new__right .meal-new__product-card .meal-new__product-name {
        flex: none;
        width: 100%;
    }
}

/* Мобильная версия — оставить две колонки */
@media (max-width: 767.98px) {

    .meal-new__product-macro--mobile-none {
        display: none;
    }

    .meal-new__left .input-group.mb-3 {
        margin-bottom: 3px !important;
    }

    .meal-new__macro-group {
        gap: 3px;
    }

    .meal-new.layout {
        flex-direction: row;
    }

    .meal-new__left,
    .meal-new__right {
        max-width: 50%;
        overflow-x: hidden;
    }

    .meal-new__left .input-group-text {
        font-size: 12px;
        padding: 2px;
    }


    .meal-new__left .meal-new__product-card .meal-new__product-name {
        flex: none;
        width: 100%;
        font-size: 12px;
    }

    .meal-new__right .meal-new__product-card {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 1px;
    }

    .meal-new__right .change-value {
        width: 25px;
    }

    .meal-new__macro-line {
        margin-bottom: 3px;
    }

    .meal-new__macro-line .input-group input, .meal-new__macro-line .input-group span {
        font-size: 10px;
    }

    .meal-new__macro-line .input-group span {
        width: 25px;
    }

    .meal-new__right .meal-new__product-macro--weight {
        font-size: 12px;
        padding: 5px;
    }

    .meal-new__left .meal-new__span {
        width: 30px;
        text-align: center;
    }

    .meal-new__drop-target {
        padding: 3px;
    }

    .meal-new__right .meal-new__product-card .meal-new__product-name {
        flex: none;
        font-size: 10px;
        width: 100%;
    }

    .meal-new__product-macro {
        font-size: 9px;
        padding: 2px;
    }

    .meal-new__product-macro.meal-new__product-macro--weight {
        font-size: 10px;
        font-weight: bold;
    }

    .meal-new__macro-line .input-group-text {
        padding: 3px;
    }

    .meal-new__macro-line .btn {
        padding: 3px;
    }
}
@media (max-width: 1200px) {
    .meal-new__left .meal-new__product-card {
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 90%;
    }
}
.meal__success {
    background-color: rgba(179, 229, 179, 0.35);
}

.meal__error {
    background-color: rgba(250, 120, 120, 0.75);
}

.meal-new__right .meal__error {
    animation: blink 0.8s infinite;
}

.meal-user {
    max-width: 100vw;
}

.meal-user__date--td {
    font-size: 10px;
    white-space: nowrap;
}

.meal-user__date--link {
    text-decoration: none;
    color: black;
}

.meal-user__date--link .meal-user__date--pfc {
    font-size: 12px;
}

.meal-user__date--link {
    flex: 1;
}

.meal-user__date--link .meal-user__date--pfc {
    font-size: 12px;
    justify-content: center;
}

.meal-user__date--link .meal-user__date--pfc div {
    padding: 5px 5px;
}

.meal-user__date--flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 10px;
}

@media (max-width: 768px) {
    .meal-user__date--flex {
        gap: 1px;
        padding: 1px;
    }

    .meal-user__date--link .meal-user__date--pfc {
        justify-content: left;
    }
}

.meal-user__pfc {
    gap: 1px;
}

.meal-user__pfc div {
    padding: 5px 5px;
    font-size: 10px;
}

.meal-user .btn.btn-danger {
    padding: 1px;
    font-size: 10px;
}

.row .meal-user__sidebar {
    padding: 1px;
}

.row .macronutrient-user__new {
    overflow-x: hidden;
}

.meal-user__date--link .card-title {
    font-size: 12px;
}

.meal-admin__item {
    font-size: 10px;
}

.meal-admin__item .card-title {
    font-size: 12px;
}


/* WorkPlace */
.content .workplace__message-handle {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.content .workplace__handle {
    cursor: move;
}

.content .workplace__toggle {
    cursor: pointer;
}

.content .workplace__queue-column--scroll {
    height: 80vh;
    overflow-y: auto;
}

.content .workplace__sticky {
    top: 1rem;
}

.content .workplace__date-input {
    max-width: 150px;
}

.content .workplace {
    display: grid;
    grid-template-columns: 500px 500px;
    gap: 8px;
}

.content .workplace__queue-header {
    padding: 0.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.content .workplace__queue-title {
    flex: 1;
}

.content .workplace__queue-body {
    padding: 1rem;
}

.content .workplace__message-controls {
    padding: 1rem;
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 0.5rem;
}

.content .workplace__message-text {
    grid-column: 1 / -1;
}

.content .workplace__message-text {
    font-size: 12px;
}

.content .workplace__message-date {
    grid-column: 2 / 3;
}

.content .workplace__message-switch {
    grid-column: 2 / 3;
}

.content .workplace__message-delete {
    grid-row: 1 / 2;
    grid-column: 4 / 5;
}

.content .workplace__queue-column {
    padding: 5px;
}

.content .workplace__users--select {
    width: 300px;
    max-width: 100%;
}

@media (max-width: 576px) {
    .content .workplace {
        grid-template-columns: 1fr 1fr;
        gap: 1px;
        width: 100%;
    }

    .content .workplace__queue-column {
        height: 70vh !important;
        max-width: 50vw;
        flex: 1;
        padding: 1px;
    }

    .content .workplace__title {
        font-size: 1rem;
    }

    .content .workplace__queue-header {
        padding: 0.25rem;
        display: grid;
        grid-template-columns: auto auto auto;
        grid-template-rows: auto auto;
        align-items: center;
        gap: 0.25rem;
    }

    .content .workplace__queue-handle {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .content .workplace__toggle-arrow {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .content .workplace__button--small.btn-danger {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }

    .content .workplace__queue-title {
        grid-column: 1 / -1;
        grid-row: 2 / 3;
        margin-top: 0.25rem;
    }

    .content .workplace__queue-body {
        padding: 0.25rem;
    }

    .content .workplace__message-item {
        padding-left: 0;
        padding-right: 0;
    }

    .content .workplace__message-controls {
        grid-template-columns: repeat(3, auto);
        grid-template-rows: repeat(5, auto);
        gap: 5px;
    }

    .content .workplace__message-handle {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .content .workplace__message-switch {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .content .workplace__message-switch .form-check-label {
        display: none;
    }

    .content .workplace__message-delete {
        grid-column: 3 / 3;
        grid-row: 1 / 2;
    }

    .content .workplace__message-date {
        grid-column: 1 / 4;
        grid-row: 4 / 5;
    }

    .content .workplace__message-time {
        grid-column: 1 / 4;
        grid-row: 5 / 6;
    }

    .content .workplace__message-text {
        grid-column: 1 / 4;
        grid-row: 6 / 7;
    }

    .content .workplace__queue-title,
    .content .workplace__button--small {
        font-size: 0.75rem;
    }

    .content .workplace__message-handle, .content .workplace__queue-handle {
        font-size: 0.9rem;
    }

    .content .workplace__toggle-arrow {
        font-size: 0.9rem;
    }
}

.main-nav__link--red img[src$=".svg"] {
    filter: invert(18%) sepia(92%) saturate(7474%) hue-rotate(358deg) brightness(96%) contrast(118%);
}
.profile-button__strategy--alert a{
    position: relative;
    animation: pulse-alert 3s ease-in-out infinite;
}

@keyframes pulse-alert {
    0% {
        box-shadow: 0 0 0 0 rgba(165, 165, 250, 0.6);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 40px 15px rgba(165, 165, 250, 0.3);
        transform: scale(1.03);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(165, 165, 250, 0);
        transform: scale(1);
    }
}
.personal-telegram__link {
    width: 100%;
    max-width: 315px;
    margin: auto;
    border-radius: 16px;
    height: 60px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'SF Pro Display';
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    background: #5B53FF;
    text-decoration: none;
    color: white;
}

/* notification */
#EDITOR_CONTAINER {
    min-height: 400px;
}
#EDITOR {
    height: 100%;
}
.ql-editor {
    min-height: 400px;
    padding: 1rem;
}

.color-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.color-grid__item {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
    border: 2px solid transparent;
}
.color-grid__radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.color-grid__radio:checked.parent-border {
    border-color: #000;
}
.notification-response{
    transition: 0.5s;
}
.notification-main{
    max-width: 534px;
    width: 100%;
}

.notification-main__image-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.notification-main__image-container {
    position: relative;
    cursor: pointer;
}

.notification-main__image {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.notification-main__image-container:hover .notification-main__image {
    transform: scale(1.05);
}
blockquote {
    margin: 1em 0;
    padding-left: 1em;
    border-left: 3px solid #ccc;
    color: #555;
    font-style: italic;
}

.notification-main__zoom-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 20px;
    color: white;
    text-shadow: 0 0 3px black;
    pointer-events: none;
}

.notification-main__modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 99999;
}

.notification-main__modal.show {
    opacity: 1;
    pointer-events: auto;
}

.notification-main__modal-image {
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.notification-main__modal.show .notification-main__modal-image {
    transform: scale(1);
}

.notification-main__modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 10000;
}
.notification-main pre.ql-syntax {
    background-color: #23241f;
    color: #f8f8f2;
    overflow: visible;
}
.notification-main pre {
    white-space: pre-wrap;
    margin-bottom: 5px;
    margin-top: 5px;
    padding: 5px 10px;
}
.settings .input-group-text{
    min-width: 190px;
}
@media (max-width: 768px) {

    .settings .input-group-text{
        min-width: 150px;
    }
}

.ii-response-chart__image{
    width: 100%;
}