* {
    box-sizing: border-box;
    font-family: Montserrat, Arial, sans-serif;
}

body {
    /*font-family: 'Arial', sans-serif;*/
    /*font-size: 18px;*/
    margin: 0;
    padding: 0;
    color: #000000;
    font-size: 14px;
    font-weight: 300;
    background-color: #f4f4f4;
    line-height: 1.4;
}
body.dish-editor {
    background-color: #fff;
}

input {
    height: 40px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

strong {
    font-weight: 500;
}

/* For WebKit browsers (Chrome, Safari, etc.) */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* For Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

a {
    cursor: pointer;
}

p {
    /*font-size: 16px;*/
    margin: 0;
}

h2 {
    margin-top: 0;
    font-size: 20px;
    font-weight: 400;
    color: #333;
}
h3 {
    font-weight: 500;
    font-size: 18px;
}

button {
    padding: 5px 20px;
    font-size: 16px;
    cursor: pointer;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: background-color 0.3s;
    /*min-height: 40px;*/
}
button:hover {
}

.invalid {
    color: #ff4d4d;
}
.w100 {
    width: 100%;
}

.flat-button {
    cursor: pointer;
    border: 1px solid #007bff;
    color: #007bff;
    background-color: transparent;
}



@media (max-width: 768px) {
    button {
        font-size: 12px;
    }
}

.hidden {
    display: none !important;
}

.body-container {
    display: flex;
}

.main-content {
    width: 100%;
}

/* Общие стили для sidebar */
.sidebar-header {
    margin-bottom: 40px;
}
.sidebar {
    background-color: #5e273c;
    color: white;
    width: 260px;
    display: flex;
    flex-direction: column;
    padding: 10px;
    /*box-shadow: rgba(0, 0, 0, 0.5) 0 0 6px;*/
    flex-shrink: 0;
    margin: 20px;
    border-radius: 10px;
    height: 95%;
    position: fixed;
    z-index: 1;
    overflow-y: auto;

}
.sidebar a {
    text-decoration: none;
}
.sidebar a:hover {
    text-decoration: none;
}
.sidebar a:active {
    text-decoration: none;
}
.sidebar h2 {
    font-family: "Advent Pro", "Courgette";
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 0;
    margin-block: 0;
    margin-top: 20px;
    margin-left: 10px;
    font-size: 24px;
    /*text-transform: uppercase;*/
    color: #ffffff;
}
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    /*margin-top: 40px;*/
}
.sidebar ul li {
    padding: 10px;
}
.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}
.sidebar ul li a i {
    color: #c8b2ba;
    font-size: 16px;
}
.sidebar ul li.active a {
    font-weight: 500;
}
.sidebar ul li.active {
    background-color: #4c2a37;
    border-radius: 4px;
}
.sidebar ul li:hover {
    background-color: #9f4266;
}

.sidebar hr {
    border-bottom: 1px solid #fff;
    border-top: none;
    width: 100%;
    display: block;
}
.sidebar h4 {
    font-size: 14px;
    font-weight: 500;
    margin: 20px 10px 5px    10px;
    text-transform: uppercase;
}

.section {
    /*margin-bottom: 20px;*/
}
.verify-phone-required {
    display: none;
    padding: 10px;
    font-size: 12px;
    border-radius: 5px;
    border: 1px solid #fff;
    background-color: #fff;
    color: #000;
    font-weight: 500;
}
.verify-phone-required img {
    margin-bottom: -4px;
}
.verify-phone-required button {
    font-size: 14px;
    margin-top: 10px;
}

.sidebar .verify-phone-required {
    display: block;
}

section.section {
    /*margin-bottom: 20px;*/
    /*margin-top: 20px;*/
}
section.section .verify-phone-required {
    background-color: #FFf7dd;
}

.lang-block {
    display: flex;
    justify-content: center;
}
ul.lang-block li {
    padding: 4px;
}
ul.lang-block li a {
    font-size: 10px;
}

.lang-option {
    /*font-size: 12px;*/
    color: black;
    /*padding: 8px 8px 10px 0;*/
    text-decoration: none;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.lang-option:hover {
    /*background-color: #ddd;*/
}
.lang-option img {
    width: 16px;
    height: 16px;
    margin-right: 10px;
}
.lang-option a {
    padding: 0;
    background-color: transparent;
}


.dish-editor .sidebar hr {
    border: none;
    border-bottom: 1px solid #f9f9f9;
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        margin: 0;
        transition: all .3s;
        margin-left: -350px;
        bottom: 0;
        border-radius: 0;
        height: unset;
    }
    .sidebar.active {
        margin-left: 0;
    }
}


.chef-main-content {
    max-width: 1024px;
    width: 1024px;
    margin: 0 auto;
    padding: 0 20px 0 260px;
}
.chef-main-content.dish-editor {
    padding: 0 0 0 0;
}
.menu-btn {
    border: none;
    background-color: transparent;
    /* width: 32px; */
    height: 32px;
    display: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .chef-main-content {
        padding: 0;
        margin: 0;
        width: 100%;
    }
    .menu-btn {
        display: block;
    }

    .dish-editor .chef-profile-header {
        flex-wrap: wrap;
        /*justify-content: space-between;*/
        padding-bottom: 5px;
    }
    .dish-editor .chef-profile-header h1 {
        order: 100;
        font-size: 14px;
    }
}

.chef-header {
    margin-bottom: 20px;
}
.chef-icon {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}
.chef-header h1 {
    font-size: 24px;
    margin: 0;
    color: #333;
}
.chef-header p {
    color: #666;
    margin: 5px 0 20px;
}
.chef-todo {
    text-align: left;
}
.chef-todo h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}
.chef-todo ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.chef-task {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: background 0.3s;
}
.chef-task:hover {
    background: #f0f0f0;
}
.chef-task-icon {
    width: 40px;
    height: auto;
    margin-right: 15px;
}
.chef-task-content {
    flex-grow: 1;
}
.chef-task-content h3 {
    font-size: 16px;
    margin: 0;
    color: #333;
}
.chef-task-content p {
    margin: 5px 0 0;
    color: #666;
}
.chef-arrow {
    font-size: 24px;
    color: #ccc;
    margin-left: auto;
}




.radioblock-container {
    /*background-color: white;*/
    /*padding: 20px;*/
    /*border-radius: 8px;*/
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
    /*max-width: 500px;*/
    /*width: 100%;*/
    /*margin: auto;*/
}
.radioblock-container h2 {
    /*font-size: 24px;*/
    /*margin-bottom: 10px;*/
}
.radioblock-container p {
    /*font-size: 16px;*/
    /*color: #666;*/
    /*margin-bottom: 20px;*/
}
.radioblock-option {
    margin-bottom: 20px;
}
.radioblock-option label {
    /*font-size: 18px;*/
    display: block;
    cursor: pointer;
    background: #f8f8f8;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}
.radioblock-option input {
    margin-right: 10px;
    vertical-align: middle;
}
.radioblock-option span {
    display: block;
    font-size: 14px;
    color: #888;
    margin-top: 5px;
    margin-left: 28px; /* Увеличенное отступление для выравнивания */
}
/* Стили для input radio */
.radioblock-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid black;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    margin-right: 10px;
    cursor: pointer;
}
.radioblock-option input[type="radio"]:checked::before {
    content: '';
    width: 10px;
    height: 10px;
    background-color: black;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}



.chef-menu {
    width: 100%;
    /*max-width: 1200px;*/
    /*margin: 0 auto;*/
    /*padding: 20px;*/
    /*background-color: #f8f8f8;*/
    /*box-sizing: border-box;*/
}
.chef-menu-filters {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.chef-menu-filters h2 {
    margin-top: 0;
    font-size: 20px;
    color: #333;
}
.chef-menu-filter-group {
    margin-bottom: 20px;
}
.chef-menu-filter-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}
.chef-menu-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}
.chef-menu-catalog {
    /*background-color: white;*/
    /*padding: 20px;*/
    /*border-radius: 8px;*/
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
}
.chef-menu-catalog h2 {
    margin-top: 0;
    font-size: 20px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chef-menu-catalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #ff4d4d;
    margin-bottom: 20px;
}
.chef-menu-add-dish {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 0 0 5px 0;
}
.chef-menu-add-dish i {
    margin-right: 5px;
}
.chef-menu-add-dish:hover {
    background-color: #e60000;
}

.chef-menu-table-header {
    display: flex;
    margin-bottom: 10px;
}
.chef-menu-table {
    width: 100%;
    border-collapse: collapse;
    gap: 20px;
    display: flex;
    flex-direction: column;
}
.chef-menu-table h4 {
    padding: 0;
    margin: 0;
}
.chef-menu-table a {
    text-decoration: none;
    display: flex;
    gap: 5px;
    align-items: baseline;
}
.chef-menu-table th, .chef-menu-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}
.chef-menu-table th {
    background-color: #f9f9f9;
    font-weight: bold;
}
.chef-menu-table-row {
    display: flex;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.chef-menu-table-row-details {
    display: flex;
    flex-direction: column;
    width: calc(100% - 110px);
    flex-shrink: 1;
}
.chef-menu-table-row-common {
    display: flex;
}
.chef-menu-table-row-variants-first {
    width: 300px;
    display: flex;
    gap: 10px;
}
.chef-menu-table-row-variants {
    margin-top: 10px;
    width: 100%;
    margin-left: 110px;
}
.chef-menu-table-row-variants ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.chef-menu-table-row-variants li {
    display: flex;
    gap: 5px;
}
.chef-menu-table-row-variant-img {
    width: 60px;
    height: 60px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.chef-menu-table-row-image {
    width: 100px;
    margin-right: 10px;
}
.chef-menu-table-row-image>div {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.chef-menu-table-row-price {
    width: 100px;
    text-align: right;
    margin-right: 10px;
}
.chef-menu-table-row-price>div {
    line-height: 30px;
    font-weight: 500;
    font-size: 10px;

}
.chef-menu-table-row-actions {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.chef-menu-table-row-actions i {
    font-size: 10px;
    color: #666;
    width: 11px;
    text-align: center;
}
.chef-menu-table-row-status {
    width: 120px;
}
.chef-menu-table-row-status .dish-status {
    display: inline-block;
    text-align: center;
}

.chef-menu-placeholder {
    background-color: #f0f0f0;
    padding: 20px;
    /*border: 1px dashed #ccc;*/
    border-radius: 5px;
    color: #999;
}
.chef-menu-status {
    display: inline-block;
    padding: 0 10px;
    border-radius: 5px;
    background-color: #f0ad4e;
    color: white;
    height: 30px;
    line-height: 30px;
}
.chef-menu-availability {
    display: flex;
    justify-content: center;
    gap: 5px;
}
.chef-menu-day {
    display: inline-block;
    padding: 5px;
    border: 1px solid #ff4d4d;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    color: #ff4d4d;
}
.chef-menu-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
.chef-menu-prev, .chef-menu-next {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}
.chef-menu-prev i, .chef-menu-next i {
    font-size: 16px;
}
.chef-menu-page {
    margin: 0 10px;
    font-size: 16px;
    color: #333;
}
.chef-menu-delete {
    color: #ff4d4d;
}
.chef-menu-delete:hover {
    text-decoration: underline;
}


@media (max-width: 768px) {
    .chef-menu {
        /*padding: 10px;*/
    }

    .chef-menu-add-dish {
        padding: 8px 16px;
        font-size: 14px;
    }

    .chef-menu-select {
        padding: 8px;
    }

    .chef-menu-table th, .chef-menu-table td {
        padding: 8px;
    }

    .chef-menu-pagination {
        flex-direction: column;
    }

    .chef-menu-page {
        margin: 5px 0;
    }
}

.flex-row {
    display: flex;
    flex-direction: row;
    gap: 30px;
}
.flex-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dish-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}
.dish-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /*justify-content: center;*/
    margin-bottom: 20px;
    font-size: 12px;
    color: #333;
    font-weight: 500;
    margin-top: 20px;
    justify-content: space-between;
}
.dish-nav-item {
    text-decoration: none;
    color: #999;
    margin: 0 10px;
    cursor: pointer;
}
.dish-nav-item.active {
    font-weight: bold;
    color: #333;
}
.dish-nav span {
    color: #999;
}

.dish-title-input {
    font-size: 24px;
    font-weight: 400;
    margin: 0;
    padding: 5px 10px;
    border: none;
    border-bottom: 2px solid #ff4d4d;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    border-radius: 0;
}
.dish-title-input::placeholder {
    color: #aaa;
}
.dish-title-input:focus {
    border-color: #e60000;
}

.dish-example {
    text-align: center;
    font-size: 16px;
    color: #999;
    margin-top: 10px;
}

.dish-description {
    width: 100%;
    height: 250px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
    min-width: 100%;
    max-width: 100%;
}
.dish-description-counter {
    font-size: 12px;
    color: #999;
    text-align: right;
    margin-bottom: 20px;
}
.dish-description-fill-with-ai {
    display: flex;
    background-color: #e1f0ff;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #000;
    border: 1px solid #9cbcdc;
}

.dish-tips {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.dish-tip {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
}
.dish-tip i {
    font-size: 24px;
    color: #333;
}
.dish-tip h2 {
    font-size: 16px;
    margin: 0 0 5px 0;
}
.dish-tip p {
    font-size: 14px;
    color: #666;
    margin: 0;
}
.dish-tip a {
    color: #007bff;
    text-decoration: none;
}
.dish-tip a:hover {
    text-decoration: underline;
}

.dish-order-limit {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.dish-order-limit p {
    /*font-size: 14px;*/
    /*color: #666;*/
    /*margin: 0 0 10px 0;*/
}
.dish-order-limit input {
    /*min-width: 100px;*/
    text-align: right;
    font-size: 18px;
    font-weight: 500;
}

.dish-ordering-rules {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.dish-ordering-rules-item {
    display: flex;
    gap: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    padding: 10px;
}
.dish-ordering-rules-item p {
    font-weight: 300;
    color: #999;
}
.dish-order-limit-block {
    display: flex;
    gap: 30px;
}
.dish-order-limit-block p i {
    color: #666;
    margin-right: 5px;
}
.dish-order-limit-block>div:first-child {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dish-order-limit-block>div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 150px;
    flex-shrink: 0;
    align-items: baseline;
}
.dish-order-limit-preparation {
    display: flex;
    gap: 10px;
}
.dish-order-limit-preparation label {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
    /* text-align: right; */
    width: 100%;
    /* flex-shrink: 0; */
}
.dish-order-limit-block input {
    width: 50px;
}


.dish-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    height: 74px;
}
.dish-progress-bar {
    width: 100%;
    background-color: #f0f0f0;
    height: 5px;
    margin: 0 0;
    position: relative;
}
.dish-progress {
    background-color: #ff4d4d;
    height: 100%;
    width: 0;
    transition: width 0.3s;
}
.dish-back-button, .dish-next-button {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    position: absolute;
    bottom: 10px;
}
.dish-back-button {
    left: 20px;
}
.dish-next-button {
    right: 20px;
}

.dish-back-button:hover, .dish-next-button:hover {
    background-color: #e60000;
}
.dish-tab {
    display: none;
    margin-bottom: 80px;
}
.dish-tab.active {
    display: block;
}

.dish-nav-header {
    display: none;
}

.dish-save-button {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    position: absolute;
    bottom: 10px;
    right: 20px;
}
.dish-save-button:hover {
    background-color: #45a049;
}

.day-selector {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: #fff;
    color: #333;
    /*margin-top: 40px;*/
}
/*.day-selector h2 {*/
/*    font-size: 16px;*/
/*    font-weight: bold;*/
/*    margin-bottom: 5px;*/
/*}*/
.day-selector p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}
.day-selector-days {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.day-selector-day {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #777;
    border-radius: 50%;
    cursor: pointer;
    color: #777;
    font-weight: 400;
}
.day-selector-day.active {
    border-color: #007bff;
    background-color: #e1f0ff;
}

.dish-detail {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    /*padding: 20px;*/
    box-sizing: border-box;
    background-color: #fff;
    color: #333;
    /*font-family: Arial, sans-serif;*/
}
.dish-detail h2 {
    font-size: 24px;
    margin-bottom: 20px;
}
.dish-detail h3 {
    /*font-size: 16px;*/
    /*font-weight: bold;*/
    margin-bottom: 10px;
}
.dish-detail p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.food-type-options, .spice-level-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.food-type-option, .spice-level-option {
    width: 100px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #777;
    color: #777;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    background-color: #fff;
}
.food-type-option.active, .spice-level-option.active {
    border-color: #007bff;
    background-color: #e1f0ff;
}
.food-type-option i, .spice-level-option i {
    font-size: 24px;
    margin-bottom: 5px;
}
.food-type-option span, .spice-level-option span {
    font-size: 14px;
    color: #333;
}

.spice-customizable {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
}

.dish-portion-weight {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dish-price {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    /*padding: 20px;*/
    box-sizing: border-box;
    background-color: #fff;
    color: #333;
    /*font-family: Arial, sans-serif;*/
}
.dish-price-header {
    display: flex;
    justify-content: space-between;
}
.dish-price-header button {
    flex-shrink: 0;
}
.dish-price-header button.active {
    border-color: #007bff;
    background-color: #e1f0ff;
}
.dish-price-title {
    font-size: 24px;
    margin-bottom: 20px;
}
.dish-price-base-serving-size, .dish-price-additional-servings {
    margin-bottom: 20px;
}
.dish-price-additional-servings {
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 20px;
}
.dish-price-subtitle {
    margin-bottom: 20px;
    font-weight: 300;
    margin-top: 10px;
    width: 100%;
}
.dish-price-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}
.dish-price-serving-option {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    /* padding: 15px; */
    /* border: 2px solid #ccc; */
    border-radius: 10px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    color: #333;
    flex-direction: column;
    overflow: hidden;
}
.dish-price-serving-option-base {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
}
.dish-price-serving-description {
    display: flex;
    /* flex-direction: column; */
    line-height: 40px;
    background-color: #fff;
    padding: 20px 20px;
    justify-content: space-between;
}
.dish-price-serving-description-input-block {
    display: flex;
    gap: 10px;
}
.dish-price-size {
    font-size: 16px;
    font-weight: 500;
}
.dish-price-price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    background-color: #fff;
    /*border: none;*/
    outline: none;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.dish-price-serving-earn {
    display: flex;
    align-items: center;
    gap: 10px;
}
.dish-price-earn {
    font-size: 14px;
    padding: 10px 20px;
    border-top: 1px solid #e0e0e0;
    font-weight: 500;
}
.dish-price-earn>span {
    color: #058270;
}
.dish-price-recommended {
    color: #00c4a7;
    font-size: 14px;
}
.dish-price-serving-count {
    background-color: #ddd;
    /* border: 1px solid #ccc; */
    border-radius: 5px;
    padding: 0 10px;
    color: #000;
    font-weight: 400;
    height: 30px;
    line-height: 30px;
}
.dish-price-serving-option i {
    cursor: pointer;
    color: #333;
    font-size: 16px;
}
.dish-price-serving-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dish-price-currency {
    font-size: 14px;
}

.dish-price-serving-option-adding {
    display: flex;
    flex-direction: row;
    align-items: center;
    /*padding-right: 20px;*/
    position: relative;
}
.dish-price-serving-option-adding > .dish-price-serving-description {
    flex-direction: column;
    width: 100%;
    padding-top: 40px;
}
.dish-price-serving-option-adding .dish-price-serving-description-input-block {
    justify-content: end;
    align-items: baseline;
}
.dish-price-serving-option-adding .dish-price-price {
    width: 120px;
    text-align: right;
}
.dish-price-serving-option-adding .dish-price-serving-count {
    position: absolute;
    left: 5px;
    top: 5px;
}
.dish-price-serving-option-adding .you-earn {
    width: 170px;
    font-size: 10px;
    text-align: right;
}
.dish-price-serving-option-adding .dish-price-serving-description-input-block {
    /*margin-top: 20px;*/
}

.dish-diet {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    /*padding: 20px;*/
    box-sizing: border-box;
    background-color: #fff;
    color: #333;
    /*font-family: Arial, sans-serif;*/
}
.dish-diet-title {
    font-size: 24px;
    margin-bottom: 20px;
}
.dish-diet-subtitle {
    font-size: 18px;
    margin-bottom: 10px;
}
.dish-diet-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}
.dish-diet-description {
    display: flex;
    align-items: center;
    gap: 10px;
}
.dish-diet-description i {
    font-size: 32px;
    width: 40px;
    color: #ff9494;
}
.dish-diet-description .material-icons {
    font-size: 24px;
    color: #333;
}
.dish-diet-description div {
    display: flex;
    flex-direction: column;
}
.dish-diet-description strong {
    /*font-size: 16px;*/
    font-weight: 500;
}
.dish-diet-description p {
    font-size: 14px;
    color: #666;
    margin: 0;
}
.dish-diet-switch {
    position: relative;
    width: 40px;
    height: 20px;
    display: inline-block;
    flex-shrink: 0;
}
.dish-diet-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.dish-diet-switch label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ddd;
    border-radius: 20px;
    cursor: pointer;
    border: 1px solid #bbb;
    padding: 9px 0;
}
.dish-diet-switch label:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
    top: 1px;
}
.dish-diet-switch input:checked + label {
    background-color: #333;
}
.dish-diet-switch input:checked + label:before {
    transform: translateX(20px);
}
.dish-diet-tips {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 20px;
}
.dish-diet-tips .material-icons {
    font-size: 24px;
    color: #333;
}
.dish-diet-tips p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.dish-ingredients {
    width: 100%;
    /*max-width: 600px;*/
    /*margin: 0 auto;*/
    /*font-family: Arial, sans-serif;*/
    color: #333;
    position: relative; /* Добавляем это для относительного позиционирования */
    margin-top: 40px;
}
.dish-ingredients p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #666;
}

.tag-edit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}
.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tag {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    background-color: #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}
.tag .remove-tag {
    margin-left: 10px;
    cursor: pointer;
}
.tag-input {
    flex: 1;
    min-width: 80px;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 5px;
}

.dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 150px;
    overflow-y: auto;
    display: none;
    position: absolute; /* Добавляем это для абсолютного позиционирования */
    top: 100%; /* Помещаем под тегами */
    left: 0;
    right: 0;
    background-color: #fff; /* Фон для списка */
    z-index: 1000; /* Поверх остальных элементов */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Добавляем тень */
}
.dropdown-menu.active {
    display: block;
}
.dropdown-item {
    padding: 10px;
    cursor: pointer;
}
.dropdown-item.active {
    background-color: #f0f0f0;
}
.dropdown-item:hover {
    background-color: #f0f0f0;
}

.nutrition-table {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-radius: 15px;
    overflow: hidden;
    background-color: #f0f0f0;
    padding: 20px;
}
.nutrition-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 10px;
    color: #000;
    /*font-family: Arial, sans-serif;*/
    font-size: 16px;
    /*font-weight: bold;*/
    border-radius: 8px;
    background-color: #fff;
}
.nutrition-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    /*flex-grow: 1;*/
    width: 100%;
}

.nutrition-portion {
    font-size: 12px;
    font-weight: 500;
}
.nutrition-percent {
    font-size: 12px;
    font-weight: 500;
}
.nutrition-title {
    margin-left: 10px;
    margin-bottom: 4px;
    font-weight: 600;
}
.nutrition-per-person i {
    font-size: 10px;
    display: none;
}
.nutrition-input {
    width: 90px;
    height: 40px;
    /*border: none;*/
    border-radius: 10px;
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-left: 10px;
    background-color: #fff;
    position: relative;
    right: 45px;
}
.nutrition-input:focus {
    outline: none;
    border-color: currentColor;
}
.nutrition-input::-webkit-outer-spin-button,
.nutrition-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.nutrition-input[type=number] {
    -moz-appearance: textfield;
}
.nutrition-subtext {
    font-size: 12px;
}

.dish-photo {
    display: flex;
    gap: 20px;
}
.dish-photo .image-upload-preview {
    width: 200px;
    height: 200px;
}

.cuisine-type .cuisine-input {
    width: 100%;
}
.cuisine-type .dropdown ul {
    margin-top: 0;
}

.dish-status {
    display: flex;
    padding: 6px 10px;
    background-color: #f5f5f5;
    /* height: 20px; */
    border-radius: 5px;
    line-height: 16px;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #777;
    flex-shrink: 0;
}

.hint {
    display: flex;
    background-color: #f5f5f5;
    padding: 5px 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    align-items: center;
    font-weight: 500;
    color: #333;
    justify-content: space-between;
}


.dish-adding-options .dish-adding-list .clear-button {
    display: none;
}
.dropdown-control.dish-adding-creator {
    width: unset;
    display: inline-block;
    border: 1px solid #e0e0e0;
    border-radius: 20px;

}
.dropdown-control.dish-adding-creator input {
    background: transparent;
}
.dish-adding-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.dish-adding-item {
    display: inline-flex;
    align-items: center;
    border: 1px solid #007bff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    padding: 5px 10px;
    background-color: #e1f0ff;
    color: #000;
}
.dish-adding-item button {
    background: none;
    border: none;
    width: 16px;
    font-size: 9px;
    color: #000;
    padding: 0;
}


@media (max-width: 600px) {
    .nutrition-table {
        /*max-width: 90%;*/
    }
}

@media (max-width: 768px) {
    .verify-phone-required {
        display: block;
    }

    .dish-container {
    }

    .dish-nav {
        font-size: 16px;
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        margin-left: -500px;
        margin-top: 0;
        z-index: 1;
        background-color: #fff;
        flex-direction: column;
        text-align: left;
        justify-content: left;
        justify-items: left;
        align-items: unset;
        /*padding: 10px;*/
        opacity: 0;
        transition: all .3s;
    }
    .dish-nav.active {
        margin-left: 0;
        opacity: 1;
    }
    .dish-nav span {
        display: none;
    }
    .dish-nav a {
        padding: 10px 10px;
        font-size: 18px;
    }
    .dish-nav-header {
        display: flex;
        align-items: center;
        justify-items: center;
        justify-content: center;
        margin-top: 20px;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 10px;
    }
    .dish-nav-header h2 {
        text-align: center;
        width: 100%;
        justify-content: center;
        display: flex;
        flex-direction: column;
        margin: 0;
    }
    .dish-nav-close {
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        font-weight: 600;
        font-size: 16px;
        flex-shrink: 0;
    }

    .dish-bottom {
        box-shadow: rgba(0, 0, 0, 0.1) 0 -1px 7px;
        border-top: 1px solid #e0e0e0;
    }

    .dish-description-fill-with-ai {
        flex-direction: column;
        align-items: flex-end;
    }

    .dish-title-input {
        font-size: 19px;
    }
    .dish-example {
        font-size: 14px;
    }

    .dish-price-serving-description {
        padding: 10px 10px;
        gap: 10px;
    }
    .dish-price-price {
        width: 100%;
    }
    .dish-price-size {
        font-size: 10px;
        text-wrap: nowrap;
    }
    .dish-price-serving-controls {
        font-size: 10px;
        text-wrap: nowrap;
    }

    .day-selector-day {
        width: 40px;
        height: 40px;
    }

    .dish-photo {
        justify-content: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hint {
        margin: 0;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid #ddd;
        padding: 10px 20px;
        flex-direction: column;
        align-items: end;
        font-size: 12px;
    }

    .chef-menu-table-row-variants {
        margin-left: 0;
    }

    .chef-menu-table-row-common {
        flex-wrap: wrap;
        justify-content: end;
    }
    .chef-menu-table-row-actions {
        /*order: 10;*/
    }
    .chef-menu-table-row-price {
        width: unset;
    }
    .chef-menu-table-row-variants li {
        flex-wrap: wrap;
        justify-content: end;
    }
    .chef-menu-table-row-variants-first {
        width: 100%;
    }
    .chef-menu-table-row-status {
        width: unset;
    }

    .dish-order-limit-block {
        flex-direction: column;
    }
    .dish-order-limit-block>div:last-child {
        flex-shrink: 0;
        align-items: baseline;
        flex-direction: row;
        justify-content: flex-start;
    }
    .dish-order-limit-preparation label {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .dish-nav {
        /*font-size: 12px;*/
    }

    .dish-title-input {
        font-size: 19px;
    }

    .dish-example {
        font-size: 12px;
    }
}

.element-hint {
    position: fixed;
    background-color: #333;
    color: #fff;
    padding: 5px;
    display: none;
    z-index: 1000;
    max-width: 200px;
    /*border: 1px solid #aaa;*/
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.5) 1px 1px 5px ;
    font-size: 12px;
    line-height: 1.3;
}

.popup-info {
    cursor: pointer;
}


@media (max-width: 768px) {
    .dish-price-header button {
        font-size: 12px;
        padding: 0 5px;
        min-height: unset;
        height: 30px;
        margin: 0;
        /*width: 45%;*/
    }
    .dish-price-header h4 {
        margin: 0;
    }
    .dish-price-header {
        flex-wrap: wrap;
        line-height: 1;
        gap: 10px;
        margin-bottom: 10px;
    }
    .dish-price-serving-description-input-block {
        flex-wrap: wrap;
        gap: 3px;
    }
    .dish-price-serving-option-adding .you-earn {
        width: unset;
        margin: 0;

    }

}

#image-container-file-panels li.ghost {
    opacity: 0.4; /* Прозрачность элемента при перетаскивании */
}



/*   MAP   */

.map-settings .autocomplete-wrapper {
    position: relative;
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    align-items: center;
}
#addressInput {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    position: relative;
    background: none;
    z-index: 2;
    color: black;
    border: none;
    outline: none;

}
#autocompleteText {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    color: #ccc;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}
#suggestions {
    position: absolute;
    border: 1px solid #ccc;
    background-color: #fff;
    max-height: 200px;
    width: 100%;
    overflow-y: auto;
    display: none;
    z-index: 3;
}
#suggestions div {
    padding: 10px;
    cursor: pointer;
}
#suggestions div:hover, #suggestions div.active {
    background-color: #f0f0f0;
}
#map {
    width: 100%;
    height: 400px;
    margin-top: 20px;
    position: relative;
}
#map .center-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1000;
}
#map .center-marker img {
    height: 50px;
    margin-top: -50px;
}
.map-settings .controls {
    margin-bottom: 10px;
}
.map-settings .controls label {
    margin-right: 10px;
}
.map-search-btn {
    position: relative;
    overflow: hidden;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.map-search-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease-out;
    border-radius: 50%;
}

.map-search-btn:active::before {
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.4s ease-out;
}


.dist-tarif-table {
    display: grid;
    grid-template-columns: 50px repeat(3, 1fr) 50px;
    gap: 10px;
    padding: 10px;
    align-items: center;
}
.dist-tarif-header, .dist-tarif-row {
    display: contents;
}
.dist-tarif-header > div {
    font-weight: bold;
    text-align: center;
}
.dist-tarif-row {
    border-bottom: 1px solid #ccc;
}
.dist-tarif-checkbox,
.dist-tarif-remove {
    text-align: center;
}
.dist-tarif-remove {
    color: red;
    cursor: pointer;
}
.dist-tarif-row input[type="number"] {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    text-align: right;
}
.dist-tarif-row input[disabled] {
    background-color: #f0f0f0;
}
.dist-tarif-add-row {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}
.dist-tarif-add-row button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .dist-tarif-table {
        grid-template-columns: 30px repeat(3, 1fr) 30px;
        gap: 5px;
        padding: 0px;
    }
    .dist-tarif-checkbox, .dist-tarif-remove {
        width: 29px;
    }
    .dist-tarif-row .dist-tarif-col {
        /*width: 60px;*/
    }
    .dist-tarif-row {
        /*grid-template-columns: 50px 1fr 1fr 1fr 50px;*/
    }
}