.disable-select {
    user-select: none; /* supported by Chrome and Opera */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}

.gastro_row {
    display: block;
    min-height: 50px;
    color: black;
    font-size: 1.3rem;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 10px;
    position: relative;
    line-height: 1.2;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.9);
}

.gastro_row:last-child {
    margin-bottom: 0px;
}

.gastro_row1 {
}

.gastro_row2 {
    background-color: rgba(255, 255, 255, 0.8);
}

.gastro_row_flash {
    background-image:none !important;
    -o-animation: flash 1.5s ease-in-out;
    animation: flash 1.5s ease-in-out;
}

.gastro_title {
    font-weight: bold;
    position: relative;
}

.gastro_bigtitle {
    font-weight: bold;
    font-size: 46px;
    line-height: 50px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.gastro_subtitle {
    margin-top: 2px;
    font-size: 1.2rem;
    color: #878787;
}

.gastro_order_count_control {
    margin-left: auto;
    margin-right: auto;
}

.gastro_order_button {
    float: left;
    display: block;
    border-radius: 10px;
    background-color: #f07d00;
    color: white;
    font-weight: bold;
    font-size: 2.0rem;
    line-height: 50px;
    width: 50px;
    height: 50px;
    text-align: center;
    border: solid 1px #f07d00;
    cursor: pointer;
}

.gastro_order_button:hover {
    background-color: #ffa436;
    text-decoration: none;
}

.gastro_order_button_autowidth {
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 1.7rem;
}

.gastro_order_plus {

}

.gastro_order_count {
    font-family: 'Roboto', sans-serif;
    float: left;
    display: block;
    border-radius: 10px;
    line-height: 50px;
    font-weight: bold;
    color: black;
    font-size: 2.0rem;
    width: 50px;
    height: 50px;
    text-align: center;
    background-color: transparent;
    border: solid 1px #aaa;
    margin-left: 10px;
    margin-right: 10px;
}

.gastro_order_minus {

}

.gastro_order_items {
}

.gastro_order_item_container {
    margin-top: 10px;
}

.gastro_order_item_container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.gastro_order_item_comment {
    width: 100%;
    border-radius: .4rem;
    padding: .2rem;
    margin: .4rem 0;
    resize: vertical;
    min-height: 50px;
}

.gastro_order_item_name {
    font-family: 'Roboto', sans-serif;
    border: solid 1px #878787;
    margin-top: 10px;
    border-radius: 10px;
    position: relative;
    width: 100%;
    font-size: 1.1rem;
    padding: 10px;
}

.order-comment {
    font-style: italic;
    color: #000;
    margin: 5px 0;
    padding: 5px;
    background-color: #f0f0f0;
    border-radius: 4px;
}

.gastro_order_item_name:first-child {
    margin-top: 20px;
}

.gastro_submitbutton {
    display: block;
    float: none;
    width: 100%;
    text-transform: uppercase;
    font-size: 1.3rem;
}

.gastro_order_confirm {
    border: solid 1px green;
    background-color: #009e00;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
}

.gastro_order_confirm:hover {
    background-color: #74bb00;
}

.gastro_twocol {
    float: left;
    width: 49%;
    margin-bottom: 20px;
}

.gastro_twocol:first-child {
    margin-right: 2%;
}

.gastro_order_singleorders {
    float: left;
}

.gastro_teams {
    width: 100%;
    border-collapse: collapse;
}

.gastro_teams tbody tr:nth-of-type(2n) {
    background-color: rgba(22, 22, 22, 0.9);
}

.gastro_teams td, th {
    padding: 5px;
    border: solid 1px #444;
    text-align: left;
    vertical-align: top;
    line-height: 1.5;
    padding-left: 10px;
    padding-right: 10px;
}

.gastro_teams th {
    background-color: #f07d00;
    color: white;
    font-weight: bold;
    font-size: 1.4rem;
}

.gastro_teams td {
    font-size: 1.0rem;
}

.gastro_saldo {
    clear: both;
    margin-left: auto;
    margin-right: auto;
    width: 280px;
    background-color: rgba(117, 0, 0, 0.9);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.gastro_delete {
    background-color: red;
    position: absolute;
    right: -45px;
    top: 5px;
    bottom: 5px;
    display: block;
    vertical-align: middle;
    width: 40px;
    color: white;
    text-align: center;
    border-radius: 7px;
    text-decoration: none;
}

.gastro_delete:hover {
    text-decoration: none;
}

.gastro_delete > span {
    display: block;
    vertical-align: middle;
    text-align: center;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.gastro_sum {
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: black;
    color: white;
    text-align: right;
    padding: 10px;
    font-size: 1.6rem;
    font-weight: bold;
    display: none;
    text-align: center;
    z-index: 1000;
}

.massencounter_container {
    position: absolute;
    height: calc(100% - 580px);
    bottom: 40px;
    left: 10%;
    right: 10%;
    border-radius: 10px;
    background-color: white;
}

.massencounter {
    position: absolute;
    bottom: 0px;
    width: 100%;
    border-radius: 10px;
    height: 0%;
    background-color: #f07d00;
}

#massencount {
    font-size: 140px;
    line-height: 140px;
    display: block;
}

.massencount {
    position: absolute;
    z-index: 3;
    left: 0px;
    right: 0px;
    display: block;
    color: white;
    text-align: center;
    background-color: rgba(117, 0, 0, 0.9);
    font-weight: bold;
    padding: 5px;
    font-size: 14px;
}

.gastro_ok, .massencount_ok {
    background-color: rgba(0, 117, 0, 0.9);
}

label {
    display: inline;
}

.regular-checkbox {
    display: none;
}

.regular-checkbox + label {
    background-color: #fafafa;
    border: 1px solid #cacece;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
    padding: 9px;
    border-radius: 3px;
    display: block;
    position: relative;
    margin-bottom: 5px;
    cursor: pointer;
    border-radius: 10px;
}

.regular-checkbox + label:active, .regular-checkbox:checked + label:active {
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);
}

.regular-checkbox:checked + label {
    background-color: #009e00;
    border: 1px solid #048600;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
    color: white;
}

.regular-checkbox:checked + label:after {
    content: '\2714';
    font-size: 14px;
    position: absolute;
    top: 10px;
    left: 14px;
    color: white;
}


.big-checkbox + label {
    padding: 13px;
    padding-left: 40px;
    padding-right: 60px;
}

.big-checkbox:checked + label:after {
    font-size: 28px;
    left: 14px;
}

@media only screen and (max-width: 1279px) and (min-width: 901px) {
    .gastro_order_singleorders {
        float: none;
        clear: both;
        padding-top: 10px;
    }
}

@media only screen and (min-width: 0px) and (max-width: 900px) {
    .gastro_col_right {
        position: static;
        right: auto;
        top: auto;
        bottom: auto;
        margin-top: 10px;
    }

    .gastro_order_singleorders {
        float: right;
    }

    .gastro_twocol {
        float: none;
        width: auto;
    }

    .gastro_bigtitle {
        font-weight: bold;
        font-size: 2.5rem;
        line-height: 50px;
    }

    h1.second {
        margin-top: 30px;
    }

    .gastro_order_confirm {
        clear: left;
        float: left;
        margin-top: 10px;
    }

    .massencounter_container {
        position: relative;
        height: 500px;
        left: auto;
        right: auto;
        bottom: auto;
        margin-left: auto;
        margin-right: auto;
    }

    .gastro_bigtitle {
        font-size: 1.7rem;
    }

    .gastro_saldo {
        width: auto;
    }

    #content p img {
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
        width: auto !important;
        height: auto !important;
        float: none !important;
    }
}
.monacobar-page__main {
    display: block;
}

#gastro_order_container {
    display: flex;
    gap: 30px;
}

.menu {
    flex: 1;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.menu h2 {
    color: var(--secondary-color);
    margin-top: 0;
}

.menu__categories {
    margin-bottom: 30px;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style-type: none;
    padding: 0;
}

.category-list__item {
    padding: 10px 15px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: bold;
    color: #fff;
}

.category-list__item.active,
.category-list__item:hover {
    background-color: var(--secondary-color);
}

.menu__category {
    display: none;
}

.menu__category.active {
    display: block;
}

.menu__category-title {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-top: 0;
}

.item-list {
    list-style-type: none;
    padding: 0;
}

.item-list__item {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    transition: var(--transition);
}

.item__details {
    margin-bottom: 15px;
}

.item__name {
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 0 5px 0;
}

.item__description {
    color: #666;
    margin: 0 0 10px 0;
}

.item__price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.item__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item__decrease,
.item__increase,
.item__add-to-cart {
    background-color: var(--primary-color);
    color: var(--emoji-color);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    padding: 0;
}

.item__decrease:hover,
.item__increase:hover,
.item__add-to-cart:hover {
    background-color: var(--hover-color);
}

.emoji {
    color: transparent !important;
    text-shadow: 0 0 0 var(--emoji-color);
}

.item__quantity {
    width: 40px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 5px;
    font-size: 1rem;
    margin: 0 5px;
}

.item__comment {
    margin-top: 15px;
}

.item__comment-text {
    width: 100%;
    height: 60px;
    resize: vertical;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.9rem;
    padding: 10px;
}

.cart {
    width: 300px;
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
    align-self: flex-start;
    position: sticky;
    top: 20px;
}

.cart__title {
    color: var(--primary-color);
    margin-top: 0;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.cart__items {
    list-style-type: none;
    padding: 0;
    max-height: 400px;
    overflow-y: auto;
}

.cart__item {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.cart-item__details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cart-item__name {
    font-weight: bold;
}

.cart-item__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item__decrease,
.cart-item__increase,
.cart-item__remove {
    padding: 5px 8px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: bold;
}

.cart-item__decrease,
.cart-item__increase {
    background-color: var(--primary-color);
    color: #fff;
}

.cart-item__remove {
    background-color: #f44336;
    color: #fff;
}

.cart-item__remove:hover {
    background-color: #d32f2f;
}

.cart-item__quantity {
    font-weight: bold;
}

.cart-item__comment {
    margin-top: 10px;
}

.cart-item__comment-text {
    width: 100%;
    border: none;
    background: transparent;
    resize: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    padding: 0;
}

.cart-item__comment-text:focus {
    outline: none;
    border-bottom: 1px dashed var(--border-color);
}

.cart__summary {
    margin-top: 20px;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
}

.cart__submit {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
}

.cart__submit:hover {
    background-color: var(--secondary-color);
}

.order-page__footer {
    margin-top: 40px;
    text-align: center;
    color: #666;
}

.visually-hidden {
    display: none;
}

@media (max-width: 1024px) {
    #gastro_order_container {
        flex-direction: column;
    }

    .cart {
        width: 100%;
        padding: 0;
        box-shadow: none;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .menu,
    .cart {
        padding: 20px;
    }

    .cart {
        width: 100%;
        box-sizing: border-box;
    }

    .category-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .category-list__item {
        white-space: nowrap;
    }
}:root {
    --color-bg: #f5f5f5;
    --color-card: #fff;
    --color-text: #333;
    --color-primary: #007bff;
    --color-success: #28a745;
    --color-danger: #dc3545;
    --color-warning: #ffc107;
    --color-new: #e3f2fd;
    --color-in-progress: #fff484;
    --color-completed: #e8f5e9;
    --color-cancelled: #ffebee;
    --color-urgent: #ffdd00;
    --color-very-urgent: #d51e1e;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    background-color: var(--color-bg);
    color: var(--color-text);
    margin: 0;
    padding: 1rem;
}

.kitchen-plan {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.75rem;
}

.table-card {
    background-color: var(--color-card);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    margin-bottom: auto;
}

.table-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.table-card-header {
    background-color: var(--color-primary);
    color: white;
    padding: 0.5rem 0.75rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-card-body {
    padding: 0.5rem;
    padding-bottom: 0;
}

.order-item {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    border-left: 4px solid transparent;
    transition: background-color 0.2s ease;
}

.order-item:last-child {
    margin-bottom: 0.5rem;
}

.order-item:hover {
    background-color: rgba(0,0,0,0.03);
}

.order-item h6 {
    margin: 0;
    font-size: 0.95em;
    font-weight: 600;
}

.order-item p {
    margin: 0.2em 0;
    font-size: 0.85em;
}

.order-item small {
    font-size: 0.75em;
    color: #666;
}

.order-actions {
    margin-top: 0.3rem;
    display: flex;
    justify-content: flex-end;
}

.btn {
    padding: 0.25rem 0.4rem;
    margin-left: 0.25rem;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.8em;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-confirm { background-color: var(--color-success); color: white; }
.btn-delete { background-color: var(--color-danger); color: white; }
.btn-complete { background-color: var(--color-success); color: white; }
.btn-star, .btn-plus { background-color: transparent; color: var(--color-warning); font-size: 1.2em; padding: 0; }

.status-new { background-color: var(--color-new); }
.status-in-progress { background-color: var(--color-in-progress); }
.status-completed { background-color: var(--color-completed); }
.status-cancelled { background-color: var(--color-cancelled); }

.urgent { border-left-color: var(--color-urgent); }
.very-urgent { border-left-color: var(--color-very-urgent); }

.order-count {
    font-weight: bold;
    color: var(--color-primary);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--color-primary);
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.order-history-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--color-card);
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.order-history-sidebar.open {
    right: 0;
}

.order-history-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.order-history-content {
    padding: 1rem;
}

.history-item {
    border-bottom: 1px solid #eee;
    padding: 0.5rem 0;
}

.history-item:last-child {
    border-bottom: none;
}

.modal {
    display: block;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.table-timer {
    font-size: 0.8em;
    padding: 2px 5px;
    text-align: center;
    color: white;
    font-weight: bold;
}

@media (max-width: 600px) {
    .kitchen-plan {
        grid-template-columns: 1fr;
    }
}