/* - General Styles - */

:root {
    --mainColor: #2daae1;
    --blue: #2daae1;
    --green: #96c11f;
    --orange: #f3930b;
    --grey: #dbdbdb;
}

.serve-items-view, .order-overview-view {
    --mainColor: #96c11f;
}

@media screen and (orientation: portrait)
{
    .serve-items-view {
        transform: rotate(90deg);
        transform-origin: right top;
        width: 100vh;
        overflow-x: hidden;
        position: absolute;
        top: 100%;
        right: 0;
    }  
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overscroll-behavior: none;
}

body {
    font-family: 'Roboto';
    font-size: 1.8rem;
    color: black;
    background-color: white;
    font-weight: 400;
    line-height: normal;
    overflow-x: hidden;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    overscroll-behavior: none;
}

a {
    text-decoration: none;
    color: inherit;
}

h1 {
    font-size: 3rem;
    font-weight: 600;
    color: var(--mainColor);
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--mainColor);
}

h3 {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--mainColor);
}

h4 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--mainColor);
}

input, select {
    border: 0;
    background: none;
    font-family: inherit;
    font-size: inherit;
}


/* - elements - */

/* logo */

.logo img {
    width: 190px;
}

/* input field */

.input-field {
    position: relative;
}

    .input-field input {
        font-weight: bold;
        width: 100%;
        padding: 10px 0;
    }

    .input-field::after {
        content: ' ';
        position: absolute;
        bottom: 0;
        height: 3px;
        left: 0;
        background-color: var(--mainColor);
        border-radius: 3px;
        width: 100%;
    }

/* button */

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 41px;
    border-radius: 12px;
    border: 3px solid;
    padding: 0 20px;
    color: white;
    width: fit-content;
    transition: box-shadow 0.8s ease;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    color: var(--mainColor);
}

    .btn i {
        margin-right: 5px;
    }


.btn--full {
    background-color: var(--mainColor);
    color: white;
}

.btn--small {
}

.btn--big {
    font-size: 2rem;
    height: 51px;
    padding: 0 35px;
}

/* Navigation */

.nav {
    width: 100%;
    color: var(--mainColor);
    z-index: 102;
    position: fixed;
    top: 0;
    border-bottom: solid 1px #dbdbdb;
    padding: 0 18px;
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    background-color: white;
}

.nav__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 67px;
}

.serve-items-view .nav__top {
    height: 55px;
}

.nav__left {
    display: flex;
    width: 20%;
    cursor: pointer;
    background-image: url(../img/icon-back.svg);
    background-repeat: no-repeat;
    height: 21px;
}

.serve-items-view .nav__left {
    background-image: url(../img/icon-back-green.svg);
}

.nav__left:active {
    background-color: var(--grey);
}

.nav__hamburger {
    height: 24px;
    width: 24px;
    background-image: url(../img/nav-icon.svg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.nav__hamburger:active {
    background-color: #dbdbdb;
}

.nav__hamburger:hover
{
    cursor: pointer;
}


.serve-items-view .nav__hamburger, .order-overview-view .nav__hamburger {
    background-image: url(../img/nav-icon-green.svg);
}

.nav__center {
    display: flex;
    justify-content: center;
    text-align: center;
}


.nav__right {
    display: flex;
    width: 20%;
    justify-content: flex-end;
}

.nav__items {
    margin-bottom: 18px;
    display: none;
}

.nav__items.show
{
    display: block;
}


.nav__item {
    border-bottom: 2px solid #d9d9d9;
    padding: 5px 0;
    font-size: 1.8rem;
    cursor: pointer;
    text-align: right;
}

.nav__item-takeaway
{
    margin-top: 30px;
}


    .nav__item:active, nav__item:hover {
        color: var(--orange);
    }

.nav__info-items {
    font-size: 10px;
    text-align: right;
    margin-top: 20px;
    color: #d9d9d9;
}

/* category  */ 

.top-category {
    width: 100%;
    flex-shrink: 0;
    opacity: 0;
    pointer-events: none;
}

    .top-category.swiper-slide-active {
        opacity: 1;
        pointer-events: all;
    }

.category-wrapper {
    display: flex;
    align-items: flex-start;
}

.category {
    width: 100%;
    flex-shrink: 0;
    padding: 0 10px;
    height: calc(100vh - 230px);
    overflow-y: auto;
    background-color: white;
}


.section-order:has(.top-category-nav):has(.sub-category-nav) .category {
    height: calc(100vh - 270px);
}

.category-nav {
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    text-transform: uppercase;
    overflow-x: scroll;
    font-weight: 500;
    color: white;
    z-index: 100;
    background-color: white;
    cursor: pointer;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .category-nav::-webkit-scrollbar {
        display: none;
    }

.category-nav__item {
    padding: 15px 35px;
    text-align: center;
    flex-shrink: 0;
    flex-grow: 1;
}

.category-nav:has(.category-nav__item:nth-child(4)) .category-nav__item {
    min-width: 31%;
    width: initial;
    flex-grow: 0;
}

@media screen and (min-width: 550px) {
    .category-nav:has(.category-nav__item:nth-child(4)) .category-nav__item {
        width: 25%;
        min-width: initial;
    }

    .category-nav:has(.category-nav__item:nth-child(5)) .category-nav__item {
        min-width: 23%;
        width: initial;
    }
}

@media screen and (min-width: 835px) {
    .category-nav:has(.category-nav__item:nth-child(5)) .category-nav__item {
        width: 20%;
        min-width: initial;
    }

    .category-nav:has(.category-nav__item:nth-child(6)) .category-nav__item {
        min-width: 21%;
        width: initial;
    }
}

.category-nav__item:nth-child(1) {
    background-color: #f3930b;
}

.category-nav__item:nth-child(2) {
    background-color: var(--green);
}

.category-nav__item:nth-child(3) {
    background-color: var(--mainColor);
}

.category-nav__item:nth-child(4) {
    background-color: #E8D428;
}

.category-nav__item:nth-child(5) {
    background-color: #A6E129;
}

.category-nav__item:nth-child(6) {
    background-color: #34CEE3;
}

.category-nav__item--active {
    opacity: 0.5;
    position: relative;
}

    .category-nav__item--active::after {
        content: ' ';
        position: absolute;
        width: 100%;
        height: 3px;
        bottom: 0;
        left: 0;
        background-color: grey;
    }



.top-category:nth-child(1) .category-nav__item:nth-child(1) {
    background-color: #F5A109;
}

.top-category:nth-child(1) .category-nav__item:nth-child(2) {
    background-color: #F9B506;
}

.top-category:nth-child(1) .category-nav__item:nth-child(3) {
    background-color: #FDC902;
}

.top-category:nth-child(1) .category-nav__item:nth-child(4) {
    background-color: #FFD700;
}

.top-category:nth-child(2) .category-nav__item:nth-child(1) {
    background-color: #A4C93D;
}

.top-category:nth-child(2) .category-nav__item:nth-child(2) {
    background-color: #8ECC4E;
}

.top-category:nth-child(2) .category-nav__item:nth-child(3) {
    background-color: #88D672;
}

.top-category:nth-child(2) .category-nav__item:nth-child(4) {
    background-color: #88DF92;
}

.top-category:nth-child(3) .category-nav__item:nth-child(1) {
    background-color: #4CB4E2;
}

.top-category:nth-child(3) .category-nav__item:nth-child(2) {
    background-color: #65BFE3;
}

.top-category:nth-child(3) .category-nav__item:nth-child(3) {
    background-color: #7CC9E4;
}

.top-category:nth-child(3) .category-nav__item:nth-child(4) {
    background-color: #93D2E6;
}


.top-category-nav {
    border-bottom: 1px solid #dbdbdb;
}


/* item group */

.item-group {
    margin: 5px 0 53px 0px;
}

.section-overview .item-group {
    margin-bottom: 20px;
}

.item-group__icon {
    padding: 0 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    height: 21px !important;
}

    .item-group__icon:active {
        background-color: #dbdbdb;
    }

.items-container {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
}

.item-group__headline {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #f3930b;
    text-transform: uppercase;
    width: 100%;
    padding-top: 14px;
    padding-bottom: 14px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .item-group__headline::after {
        position: absolute;
        width: 100%;
        content: ' ';
        height: 3px;
        border-radius: 3px;
        left: 0;
        bottom: 0;
        background-color: #f3930b;
    }

/* special item */

.special-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    font-weight: bold;
    position: relative;
    margin-bottom: 3px;
    font-family: 'Inter';
    cursor: pointer
}

    .special-item::after {
        content: ' ';
        position: absolute;
        width: 100%;
        height: 3px;
        border-radius: 3px;
        bottom: -3px;
        left: 0;
        background-color: black;
    }

    .special-item:active, .special-item:hover {
        background-color: var(--grey);
    }

.special-item--disabled {
    pointer-events: none;
    color: var(--grey);
}

/* overview page */

.section-open-orders {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    
}

.open-orders-container {
    padding: 20px;
    width: calc(100% - 190px);
    display: flex;
    gap: 25px;
    align-items: flex-start;
    flex-wrap: wrap;
    height: calc(100vh - 67px);
    overflow-y: scroll;
}

.sum-open-orders {
    border-left: solid 1px #d9d9d9;
    width: 190px;
    height: calc(100vh - 67px);
    padding: 20px 10px;
    overflow-y: scroll;
}

.open-orders-item {
    display: flex;
    align-items: center;
    min-height: 30px;
    font-size: 1.6rem;
    font-weight: bold;
    position: relative;
    margin-bottom: 3px;
    font-family: 'Inter';
    flex-shrink: 0;
}

.sum-open-order .open-orders-item {
    min-height: inherit;
}

.open-orders-item::after {
    content: ' ';
    position: absolute;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    bottom: -3px;
    left: 0;
    background-color: black;
}

.deleted {
    opacity: 0;
    animation: fadeOut 0.3s forwards; /* Adjust the duration as needed */
}

@keyframes fadeOut {
    to {
        margin-left: -295px;
    }
}

.open-orders-item-group {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 270px;
    margin-bottom: 20px;
    border-radius: 18px;
    border: solid 3px #d9d9d9;
    padding: 8px 15px;
}

.open-orders-item__text {
    pointer-events: none;
    position: relative;
    z-index: 3;
    width: 80%;
    padding-left: 16px;
}

.open-orders-item__specialrequests {
    font-size: 15px;
    color: grey;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-height: 40px;
}

.open-orders-item-group__order-done {
    width: 200px;
    height: 40px;
    border-radius: 18px;
    border: solid 3px #96c11f;
    color: #96c11f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    font-weight: bold;
    flex-shrink: 0;
    cursor: pointer;
    margin-top: 14px;
}

.open-orders-item-group__order-done:active, .open-orders-item-group__order-done:hover
{
     background-color: #d9d9d9;   
}

.open-orders-item-group h2 {
    font-size: 3rem;
}

.open-orders-item-group__waiter, .open-orders-item-group__date {
    font-size: 1.5rem;
    color: grey;
}

.open-orders-item-group__waiter
{
    font-size: 1.9rem;
}

.open-orders-item-group__items-container {
    width: 100%;
    margin-top: 10px;
}


/* delivery page */

.deliver-item {
    display: flex;
    align-items: center;
    min-height: 33px;
    font-size: 1.8rem;
    font-weight: bold;
    position: relative;
    margin-bottom: 3px;
    font-family: 'Inter';
}

.deliver-item__quantity {
    margin-right: 20px;
}

.deliver-item::after {
    content: ' ';
    position: absolute;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    bottom: -3px;
    left: 0;
    background-color: black;
}

.deliver-item-group {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 40%;
    margin-bottom: 20px;
}

.deliver-item-group h2 {
   font-size: 3rem;
}

@media screen and (max-width: 550px) {
    .deliver-item-group {
        width: 100%;
    }
}

.deliver-item-group__waiter {
    font-size: 1.8rem;
    color: grey;
}

.deliver-item-group__items-container {
    width: 100%;
    margin-top: 10px;
}

/* order item */

.order-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    font-size: 1.8rem;
    font-weight: bold;
    position: relative;
    margin-bottom: 3px;
    font-family: 'Inter';
}

.order-item--disabled {
    pointer-events: none;
    color: var(--grey);
}

.category--disabled .order-item, .top-category--disabled .order-item {
    pointer-events: none;
    color: var(--grey);
}




@media screen and (min-width: 835px) {
    .order-item {
        width: 50%;
    }

    .section-order .order-item:nth-of-type(odd)::before {
        position: absolute;
        content: ' ';
        background-color: black;
        background-position: center center;
        background-repeat: no-repeat;
        right: 0;
        width: 3px;
        border-radius: 3px;
        height: 82%;
    }
}

.order-item::after {
    content: ' ';
    position: absolute;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    bottom: -3px;
    left: 0;
    background-color: black;
}

.order-item__text {
    pointer-events: none;
    position: relative;
    z-index: 3;
    width: 80%;
    padding-left: 16px;
}

.order-item__specialrequests {
    font-size: 15px;
    color: grey;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-height: 40px;
}

.summary-item__specialrequests, .billing-item__specialrequests {
    font-size: 15px;
    color: grey;
    display: flex;
    flex-wrap: wrap;
    max-height: 30px;
    line-height: 1;
}

    .summary-item__specialrequests div::after, .billing-item__specialrequests div::after {
        content: '; ';
    }

    .summary-item__specialrequests div:last-child::after, .billing-item__specialrequests div:last-child::after {
        content: '';
    }

.order-item__quantity {
    width: 20%;
    display: flex;
    justify-content: center;
}


.order-item__quantity-input {
    text-align: center;
    width: 40px;
    height: 50px;
}

    .order-item__quantity-input input {
        text-align: center;
        height: 100%;
    }

.order-item--disabled .order-item__quantity-input input,
.category--disabled .order-item__quantity-input input,
.top-category--disabled .order-item__quantity-input input {
    color: var(--grey);
}


.order-item__quantity-adj {
    position: absolute;
    width: 80%;
    height: 90%;
    transform: translateY(-50%);
    top: 50%;
    left: 0;
    z-index: 2;
    display: flex;
    opacity: 0.5;
}

.order-item__quantity-inc, .order-item__quantity-dec {
    width: 50%;
    height: 100%;
    cursor: pointer;
    border: dotted 1px #d9d9d9;
    background-position: center center;
    background-repeat: no-repeat;
}

.order-item__quantity-inc {
    background-image: url(../img/order-plus.svg);
}

.order-item__quantity-dec {
    background-image: url(../img/order-minus.svg);
}

    .order-item__quantity-inc:active, .order-item__quantity-dec:active {
        background-color: green;
    }

/* billing item, summary item */

.billing-item,
.summary-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    font-size: 1.8rem;
    position: relative;
    font-weight: bold;
    position: relative;
    margin-bottom: 3px;
    font-family: 'Inter';
    cursor: pointer;
}

.summary-item {
    cursor: auto;
}

.billing-item--deactivated {
    text-decoration: line-through;
    color: grey;
    pointer-events: none;
}


.billing-item:active {
    background-color: green;
}

.billing-item::after, .summary-item::after {
    content: ' ';
    position: absolute;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    bottom: -3px;
    left: 0;
    background-color: black;
}

.billing-item__text,
.summary-item__text {
    flex-grow: 5;
}

.billing-item__quantity,
.summary-item__quantity {
    width: 60px;
    flex-shrink: 0
}

.billing-item__price,
.summary-item__price {
    flex-grow: 1;
    flex-shrink: 0;
    text-align: right;
}

.billing-item__arrow {
    cursor: pointer;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 50px;
}

.billing-item__arrow--up {
    background-image: url(../img/icon-up.svg);
}

.billing-item--deactivated .billing-item__arrow--up {
    background-image: url(../img/icon-up-grey.svg);
}

.billing-item__arrow--down {
    background-image: url(../img/icon-down.svg);
}

.billing-item__arrow--disabled.billing-item__arrow--down {
    background-image: url(../img/icon-down-grey.svg);
}

.billing-item--deactivated .billing-item__arrow--down {
    background-image: url(../img/icon-down-grey.svg);
}

.billing-item__arrow:active {
    background-color: var(--grey);
}

.billing-items-selected .billing-item {
    background-color: var(--green);
}

/* table item */

.table-item {
    width: 25%;
    height: 66px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 10px;
    font-size: 2rem;
    position: relative;
    font-size: 1.8rem;
    font-weight: bold;
    border-bottom: 3px solid black;
    position: relative;
    cursor: pointer;
}

.table-item--disabled {
    color: var(--grey);
    pointer-events: none;
}
.table-item--fav-selected:before {
    position: absolute;
    transform: translate(-80%,-3%);
    content: "\2605";
    margin-right: 20px;
    color: var(--mainColor);
}

.category--disabled .table-item {
    color: var(--grey);
    pointer-events: none;
}

@media screen and (max-width: 550px) {
    .table-item:nth-child(4n)::after {
        content: none;
    }
}

@media screen and (min-width: 550px) and (max-width: 835px) {
    .section-table .items-container:has(.table-item:nth-child(5)) .table-item {
        width: 20%;
    }

        .section-table .items-container:has(.table-item:nth-child(5)) .table-item:nth-child(5n)::after {
            content: none;
        }
}

@media screen and (min-width: 835px) {
    .section-table .items-container:has(.table-item:nth-child(6)) .table-item {
        width: 16.6%;
    }

        .section-table .items-container:has(.table-item:nth-child(6)) .table-item:nth-child(6n)::after {
            content: none;
        }
}

.table-item:active, .table-item:focus, table.item:target {
    background-color: #dbdbdb;
}

.table-item::after {
    position: absolute;
    content: ' ';
    background-color: black;
    background-position: center center;
    background-repeat: no-repeat;
    right: 0;
    width: 3px;
    border-radius: 3px;
    height: 82%;
}

.table-item:last-child::after {
    content: none;
}

/* footer */

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 16px;
    display: flex;
    justify-content: space-between;
    z-index: 102;
    align-items: center;
    border-top: solid 1px #dbdbdb;
    padding: 24px 45px;
    background-color: white;
}

.footer__center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Inter';
    font-weight: bold;
    text-align: center;
}

.footer__order-sum {
    font-size: 2rem;
    font-weight: bold;
}

.footer__return-sum {
    color: rgba(0, 0, 0, 0.29);
    font-weight: bold;
}

.footer__right {
    display: flex;
    width: 20%;
    justify-content: flex-end;
}

.footer__left {
    display: flex;
    width: 20%;
}

.footer__icon {
    border-radius: 50%;
    background-color: var(--mainColor);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.2rem;
    font-weight: bold;
    flex-shrink: 0;
    cursor: pointer;
}

.footer__icon--disabled {
    pointer-events: none;
    background-color: var(--grey);
}

.footer__icon:active, .footer__icon:hover {
    background-color: #d9d9d9;
}

/* modal */
.modal {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: none;
    opacity: 0;
    z-index: 1000;
    overflow: scroll;
}

    .modal.show {
        opacity: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.modal__overlay /* easier with blazor onclick */ {
    background-color: rgba(54, 58, 58, 0.63);
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    position: absolute;
}

.modal__container /* work around z-index ::after bug */ {
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.modal__inner {
    width: 80%;
    color: black;
    display: flex;
    flex-direction: column;
    background-color: white;
    position: relative;
    padding: 31px 24px;
}

.modal__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.modal__headline {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--mainColor);
    text-transform: uppercase;
}

.modal__group-headline {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--orange);
    text-transform: uppercase;
    width: 100%;
    padding-bottom: 5px;
    position: relative;
}

    .modal__group-headline::after {
        position: absolute;
        width: 100%;
        content: ' ';
        height: 3px;
        border-radius: 3px;
        left: 0;
        bottom: 0;
        background-color: #f3930b;
    }

.modal__close {
    cursor: pointer;
    height: 20px;
    width: 20px;
    background-image: url(../img/modal-close.svg);
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.serve-items-view .modal__close, .order-overview-view .modal__close {
    background-image: url(../img/modal-close-green.svg);
}

.modal__close:active, .modal__close:hover {
    background-color: var(--grey);
}


.modal__inner::after {
    position: absolute;
    content: ' ';
    z-index: -1;
    background-color: var(--mainColor);
    width: calc(100% + 28px);
    height: calc(100% + 28px);
    border-radius: 15px;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}

.modal__input {
    font-size: 20px;
    margin-top: 10px;
}

.modal__buttons {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 20px;
}

.modal__btn {
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: var(--mainColor);
    text-transform: uppercase;
    padding: 7px 15px;
    border: 2px solid;
    border-radius: 8px;
}

.modal__btn--disabled {
    color: grey;
    pointer-events: none;
}

.modal__btn:active, .modal__btn:hover {
    color: var(--orange);
}

/* main section */

.section-main {
    width: 100%;
    overflow-x: hidden;
    margin-top: 67px;
    z-index: 90;
}

@media screen and (orientation: portrait)
{
    .serve-items-view .section-main {
        height: calc(100vw - 55px) !important;
    }
}

.content-container {
    width: 100%;
    flex-shrink: 0;
    padding: 0 10px;
    margin-bottom: 120px;
}


/* section order overview */

.section-receive-order {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 55px);
    justify-content: center;
    align-items: center;
    margin-top: 51px;
}

.open-orders-text {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* section deliver order */

.section-deliver {
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 0 10px;
}

@media screen and (max-height: 600px) {
    .section-deliver {
        flex-direction: column;
        align-items: center;
    }
}


.btn-delivery-done {
    border-radius: 50%;
    background-color: var(--mainColor);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.2rem;
    font-weight: bold;
    flex-shrink: 0;
    cursor: pointer;
    position: fixed;
    bottom: 30px;
    right: 15px;
}



/* login view */

.login-container {
    display: flex;
    width: 80%;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    height: 100vh;
    flex-direction: column;
    margin-top: -40px;
    max-width: 600px
}

@media screen and (max-height: 500px) {
    .login-container {
        height: inherit;
    }
}

.login-btn {
    font-size: 2rem;
    font-weight: bold;
    color: var(--mainColor);
    cursor: pointer;
    text-transform: uppercase;
}

    .login-btn:active {
        color: var(--orange);
    }

.login-input {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 33px;
}

    .login-input.disabled { /*Baumi09*/
        pointer-events: none;
    }

.login-input__input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    font-size: inherit;
    font-family: inherit;
    width: 100%;
    padding: 13px 21px 13px 22px;
    border-radius: 18px;
    border: solid 3px black;
    color: black;
    text-align: center;
    line-height: normal;
}

.login-input select {
    background-image: url(../img/dropdown_arrow.svg);
    background-position: 95% center;
    background-repeat: no-repeat;
    cursor: pointer;
    text-transform: uppercase;
}

.login-input__validation-message {
    font-size: 12px;
    color: var(--orange);
    text-align: center;
    padding: 2px;
}

.login-error {
    margin-top: 10px;
    color: var(--orange);
}

select::-ms-expand {
    display: none;
}

/* info banner */

.info-banner {
    width: 100%;
    padding: 10px 20px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s;
}

    .info-banner.Info {
        background-color: #0099ff;
        color: black;
    }

    .info-banner.Warning {
        background-color: #ffcc00;
        color: black;
    }

    .info-banner.Error {
        background-color: #f44336;
    }

    .info-banner.Failure {
        background-color: #8413FF;
    }

.close-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
}

    .close-btn:hover {
        opacity: 1;
    }


/* loading bar*/

@keyframes loadingbar {
    0% {
        left: 0%;
    }

    50% {
        left: 80%;
    }

    100% {
        left: 0%;
    }
}

.loading-bar {
    height: 5px;
    background-color: var(--grey);
    border-radius: 5px;
    position: relative;
    width: 90%;
    margin-top: 20px;
}

    .loading-bar::after {
        position: absolute;
        width: 20%;
        background-color: var(--blue);
        height: 100%;
        top: 0;
        left: 0;
        content: '';
        animation: loadingbar 2s infinite ease-in-out;
    }

/* info banner */

@keyframes infoBanner {
    0% {
        transform: translate(-50%, -120%);
    }

    4% {
        transform: translate(-50%, 20px);
    }

    96% {
        transform: translate(-50%, 20px);
    }

    100% {
        transform: translate(-50%, -120%);
    }
}

.info-banner-validation {
    position: absolute;
    top: 0;
    width: 90%;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    background-color: var(--orange);
    border-radius: 12px;
    color: white;
    transform: translate(-50%, -120%);
    left: 50%;
    text-align: center;
    animation: infoBanner 5s ease;
    webkit-box-shadow: 0px 0px 13px -2px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 13px -2px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 13px -2px rgba(0,0,0,0.75);
}

/* on-off switch */
   .switch {
      position: relative;
      display: inline-block;
      width: 50px;
      height: 28px;
    }

    .switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #ccc;
      transition: 0.4s;
      border-radius: 34px;
    }

    .slider::before {
      position: absolute;
      content: "";
      height: 22px;
      width: 22px;
      left: 3px;
      bottom: 3px;
      background-color: white;
      transition: 0.4s;
      border-radius: 50%;
    }

    input:checked + .slider {
      background-color: var(--mainColor);
    }

    input:checked + .slider::before {
      transform: translateX(22px);
    }


/* blazor specific */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: fixed;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100vh;
    top: 0;
    z-index: 3000;
}

.loading-progress--overlay {
    background-color: rgba(0,0,0,0.5);
}

.loading-progress-text .loading-progress-text-percentage {
    font-size: 15px;
}

.loading-progress-text-percentage:after {
    content: var(--blazor-load-percentage-text, "Wird geladen");
}

@keyframes preloaderlogo {
    0% {
        transform: scale(0.8);
    }

    10% {
        transform: scale(0.85);
    }

    20% {
        transform: scale(0.9);
    }

    30% {
        transform: scale(0.95);
    }

    40% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.95);
    }

    60% {
        transform: scale(0.9);
    }

    70% {
        transform: scale(0.85);
    }

    80% {
        transform: scale(0.8);
    }

    90% {
        transform: scale(0.8);
    }

    100% {
        transform: scale(0.8);
    }
}

.loading-progress img {
    animation: preloaderlogo 1s infinite ease-in-out;
    -webkit-animation: preloaderlogo 1s infinite ease-in-out;
    -moz-animation: preloaderlogo 1s infinite ease-in-out;
    -o-animation: preloaderlogo 1s infinite ease-in-out;
    -ms-animation: preloaderlogo 1s infinite ease-in-out;
}

.swiper-container {
    transform: none;
}


/* - Admin Page */

.section-admin, .section-station-monitor {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    overflow-x: hidden;
    margin-top: 67px;
    z-index: 90;
}

.section-admin-overview__container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    height: calc(100vh - 67px);
    justify-content: center;
    margin-bottom: 0;
}

.admin-table-groups-wrapper {
    width: 100%;
    margin-top: 10px;
}

.admin-table-item, .station-monitor-item {
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 20px;
    padding: 5px 0;
    position: relative;
    font-weight: bold;
}

    .admin-table-item div {
        cursor: pointer;
    }

        .admin-table-item div:active {
            background-color: var(--grey)
        }

    .admin-table-item i, .station-monitor-item i {
        cursor: pointer;
        font-size: 2.8rem;
        padding: 0 5px;
    }

    .admin-table-item::after, .station-monitor-item::after {
        content: ' ';
        position: absolute;
        width: 100%;
        height: 3px;
        border-radius: 3px;
        bottom: -3px;
        left: 0;
        background-color: black;
    }

.admin-input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

    .admin-input-group .label {
        font-size: 15px;
        color: grey;
    }

    .admin-input-group input {
        padding: 5px;
        font-weight: normal;
        background-color: #eee;
        font-size: 2rem;
    }

        .admin-input-group input[type=checkbox] {
            width: fit-content;
        }
