@font-face {
    font-family: 'kalameh';
    font-display: swap;
    src: url('/assets/fonts/KalamehWebFaNum-Regular.woff2') format('woff2');
    font-weight: 200;
}

@font-face {
    font-family: 'kalameh';
    font-display: swap;
    src: url('/assets/fonts/KalamehWebFaNum-Medium.woff2') format('woff2');
    font-weight: 300;
}

@font-face {
    font-family: 'kalameh';
    font-display: swap;
    src: url('/assets/fonts/KalamehWebFaNum-SemiBold.woff2') format('woff2');
    font-weight: 400;
}

@font-face {
    font-family: "Freight";
    src: url("../fonts/FreightSansProBold-Regular.eot");
    /* IE9 Compat Modes */
    src: url("../fonts/FreightSansProBold-Regular.eot?#iefix") format("embedded-opentype"),
        url("../fonts/FreightSansProBold-Regular.woff2") format("woff2"),
        url("../fonts/FreightSansProBold-Regular.woff") format("woff"),
        url("../fonts/FreightSansProBold-Regular.ttf") format("truetype");
    /* Safari, Android, iOS */
}

@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-Fat.eot');
    src: local('../fonts/YekanBakh-Fat'),
        url('../fonts/YekanBakh-Fat.eot?#iefix') format('embedded-opentype'),
        url('../fonts/YekanBakh-Fat.woff2') format('woff2'),
        url('../fonts/YekanBakh-Fat.woff') format('woff'),
        url('../fonts/YekanBakh-Fat.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-Medium.eot');
    src: local('../fonts/YekanBakh-Medium'),
        url('../fonts/YekanBakh-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/YekanBakh-Medium.woff2') format('woff2'),
        url('../fonts/YekanBakh-Medium.woff') format('woff'),
        url('../fonts/YekanBakh-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* @font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-Bold.eot');
    src: local('../fonts/YekanBakh-Bold'),
        url('../fonts/YekanBakh-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/YekanBakh-Bold.woff2') format('woff2'),
        url('../fonts/YekanBakh-Bold.woff') format('woff'),
        url('../fonts/YekanBakh-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
} */

/* @font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-Light.eot');
    src: local('../fonts/YekanBakh-Light'),
        url('../fonts/YekanBakh-Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/YekanBakh-Light.woff2') format('woff2'),
        url('../fonts/YekanBakh-Light.woff') format('woff'),
        url('../fonts/YekanBakh-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
} */

@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-Heavy.eot');
    src: local('../fonts/YekanBakh-Heavy'),
        url('../fonts/YekanBakh-Heavy.eot?#iefix') format('embedded-opentype'),
        url('../fonts/YekanBakh-Heavy.woff2') format('woff2'),
        url('../fonts/YekanBakh-Heavy.woff') format('woff'),
        url('../fonts/YekanBakh-Heavy.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* @font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-Thin.eot');
    src: local('../fonts/YekanBakh-Thin'),
        url('../fonts/YekanBakh-Thin.eot?#iefix') format('embedded-opentype'),
        url('../fonts/YekanBakh-Thin.woff2') format('woff2'),
        url('../fonts/YekanBakh-Thin.woff') format('woff'),
        url('../fonts/YekanBakh-Thin.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
} */

@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-Regular.eot');
    src: local('../fonts/YekanBakh-Regular'),
        url('../fonts/YekanBakh-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/YekanBakh-Regular.woff2') format('woff2'),
        url('../fonts/YekanBakh-Regular.woff') format('woff'),
        url('../fonts/YekanBakh-Regular.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* @font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-Hairline.eot');
    src: local('../fonts/YekanBakh-Hairline'),
        url('../fonts/YekanBakh-Hairline.eot?#iefix') format('embedded-opentype'),
        url('../fonts/YekanBakh-Hairline.woff2') format('woff2'),
        url('../fonts/YekanBakh-Hairline.woff') format('woff'),
        url('../fonts/YekanBakh-Hairline.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
} */

:root {
    --primary: #ff4000;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'YekanBakh';
    font-weight: normal;
    overflow-x: hidden;
}

.red {
    color: rgb(213, 0, 0) !important;
}

.success_alert {
    background: #06dc003d;
    padding: 0.4rem 1rem;
    margin-bottom: 1rem;
    display: inline-block;
    border-radius: 0.6rem;
    color: #23af00;
    font-weight: bold;
}

.error_alert {
    background: #ff272755;
    padding: 0.4rem 1rem;
    margin-bottom: 1rem;
    display: inline-block;
    border-radius: 0.6rem;
    color: #dc0000;
    font-weight: bold;
}

.green-bold {
    font-weight: bold;
    color: #00a12a;
}

.red-bold {
    font-weight: bold;
    color: #d72c2c;
}

.has-image .file-upload-content {
    display: block;
}

.has-image .image-upload-wrap {
    display: none;
}

#panel-header {
    height: 90px;
    /* background: rgb(242 242 242); */
    width: 100%;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-user-restaurant {
    display: flex;
    gap: 1rem;
}

.header-user,
.header-restaurant {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    border: 1px solid #00337229;
    background: #ffffff;
    padding: 0.4rem 0.6rem;
    border-radius: 0.9rem;
    box-shadow: 0px 0px 23px -8px #001f7621;
    display: flex;
    flex-direction: row-reverse;
    cursor: pointer;
    position: relative;
}

.header-user img,
.header-restaurant img {
    width: 45px;
    height: 45px;
    border-radius: 0.6rem;
    /* border: 1px solid #00337229; */
    object-fit: cover;
}

.user-info,
.restaurant-info,
.restaurant-info-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    gap: .2rem;
}

.user-info__role {
    font-size: 0.75rem;
    color: #a6a6a6;
}

.header-restaurant {
    flex-direction: row;
}

.restaurant-info,
.restaurant-info-header {
    align-items: flex-start;
}

.header-dropdown {
    position: absolute;
    top: 100%;
    width: 200px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.dropdown__inner {
    margin-top: 13px;
    width: 100%;
    background: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 1px 1px 28px -11px #001f7669;
    transition: all .2s ease-in-out;
    opacity: 0;
    display: none;
    position: relative;
    padding: 1rem 1.2rem 0.3rem;
}

.dropdown__inner::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ffffff;
    position: absolute;
    top: -9px;
    right: 48%;
}

.header-user:hover .dropdown__inner {
    display: flex;
    opacity: 1;
}

.header-restaurant:hover .dropdown__inner {
    display: flex;
    opacity: 1;
}

.dropdown__inner ul {
    padding: .4rem 0 0;
    margin: 0;
    font-size: 0.9rem;
    color: #7f7f7f;
    width: 100%;
    display: flex;
    flex-direction: column;
    list-style: none;
}

.dropdown__inner ul li {
    border-bottom: 1px solid #0000000f;
    margin-bottom: .2rem;
    padding-bottom: .2rem;
}

.dropdown__inner ul li:last-child {
    border: none;
}

.dropdown__inner ul li a {
    color: #656565;
}

.dropdown__inner ul li button {
    color: #656565;
    background: none;
    border: none;
    font-weight: bold;
}

.restaurant-info__servicename {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: .2rem;
}

.restaurant-info__servicename img {
    width: 23px;
    height: 23px;
    border: none;
}

.servic-status {
    display: flex;
    background: #ffeeeb;
    margin: 0.9rem;
    border-radius: 0.6rem;
    padding: 0.3rem 0.7rem;
    gap: 0.6rem;
    align-items: center;
}

.servic-status__right {
    max-width: 75px;
}

.servic-status__right img {
    width: 100%;
}

.servic-status__name {
    font-weight: bold;
    font-size: 1.1rem;
}

.remaining-dates {
    font-size: 0.9rem;
    font-weight: bold;
    color: #888888;
}

.manage-service-link {
    font-weight: bold;
    font-size: 0.9rem;
    padding-top: 0.4rem;
    color: #858585;
    display: block;
}

.modal .modal-header i {
    font-size: 1.5rem;
    line-height: 1.1;
}


/* media library */
.modal-container {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: #0000009c;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
    opacity: 0;
    transition: all .4s ease-in-out;
    z-index: 1500;
}

.media-library-wrapper {
    top: 0;
    width: 80%;
    max-width: 800px;
    z-index: 1000;
    height: 70%;
    min-height: 480px;
    background: #FDFDFD;
    border: 1px solid #d5d5d5;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(-50px);
    transition: all .4s ease-in-out;
}


/* .modal-hide {
    opacity: 0;
} */

.modal-show {
    opacity: 1;
    display: flex;
}

.modal-show .media-library-wrapper {
    transform: translateY(0);
}

.media-library__title {
    padding: 1rem 1.5rem 0.3rem;
    height: 50px;
    border-bottom: 1px solid #e7e7e7;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.media-library__title h5 {
    margin: 0;
}

.media-library-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding-top: 1rem;
    /* height: calc(100% - 50px); */
    height: inherit;
}

.media-library-body .note {
    padding: 0 2rem;
    font-size: 0.8rem;
    line-height: 1;
}

.media-library-right {
    padding: 1rem 1.5rem;
    width: 100%;
    height: 100%;
    position: relative;
    /* height: 100%; */
}

.media-library-right h6,
.media-library-left h6 {
    color: #7e7e7e;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.medias {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    overflow-y: scroll;
    padding-bottom: 3.7rem;
    height: 100%;
}

.media-size {
    width: calc((100% - 6rem) / 5);
    aspect-ratio: 1/1;
    overflow: hidden;
    max-height: 140px;
}

.media {
    position: relative;
}

.media .media-checkbox-input{
    position: absolute;
    z-index: 22222;
    width: 18px;
    height: 18px;
    border-radius: 7px;
    top: 0.7rem;
    right: 0.7rem;
    cursor: pointer;
}

.media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.6rem;
}

.media-library-left {
    padding: 1rem 1.5rem;
    width: 30%;
    border-right: 1px solid rgb(225, 225, 225);
}

.image-holder {
    display: flex;
    justify-content: center;
}

.image-holder__placeholder {
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.7rem;
    border: 3px dotted var(--primary);
    border-radius: 1.6rem;
    width: 100%;
    /* max-width: 200px; */
    cursor: pointer;
    padding-top: .3rem;
    user-select: none;
    position: relative;
}

.choose_media_button {
    width: 95%;
    background: var(--primary);
    color: #ffffff;
    font-weight: bold;
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    bottom: -50px;
    border-radius: 1rem;
    transition: all .6s ease-in-out;
}

.choose_media_button-active {
    bottom: 33px;
    box-shadow: 0 -4px 17px -5px #631b006e;
}

.image-holder__placeholder img {
    width: 50px;
}

.image-holder__placeholder__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #7e7e7e;
    font-size: .85rem;
    line-height: 1.2;
}

.modal_close_button {
    /* width: 24px; */
    height: 24px;
    display: flex;
    justify-content: center;
    cursor: pointer;
    padding-top: .1rem;
    font-weight: bold;
    font-size: 0.9rem;
}

#add-new-media-input {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    outline: none;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.media-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #00000012;
    border-radius: 1.6rem;
    color: #959595;
    font-size: 0.9rem;
}

.media-loading svg {
    width: 80px;
}

.media-radio-input {
    display: none;
}

.media-label {
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: padding .1s ease-in-out;
}

.active-media-label {}

.media-radio-input:checked+.media-label {

    border: 3px solid var(--primary);
    border-radius: 1.1rem;
    padding: 0.2rem;
}

.sidebar-logo-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;

}

.sidebar-logo-link h1 {
    font-size: 1.8rem;
    color: #302c38;
    margin: 0;
    margin-top: 0.8rem;
}

.sidebar-logo-link p {
    font-size: 0.8rem;
    color: #111111;
    line-height: 1;
}

.sidebar-wrapper .sidebar-header img {
    height: 60px;
    margin-top: -0.8rem;
}

.header-notif-bar {
    display: flex;
    gap: 1rem;
}

.open-orders-notifs,
.waiter-notifs {
    /* padding: 0.5rem 0.5rem; */
    background: #ffffff;
    border-radius: 0.7rem;
    border: 1px solid #e2e2e2;
    display: flex;
    gap: 0.2rem;
    align-items: center;
    box-shadow: 0 0 12px -5px #0000002b;
    background: #ff4000;
    color: #FFF;
    height: 44px;
    cursor: pointer;
    display: flex;
    width: 206px;
    position: relative;
    background: #FFF;
    color: #2f2f2f;
    padding-right: 57px;
    height: 37px;
    box-shadow: -4px 2px 12px -3px #0000002b;
    border: 1px solid #dddddd;
}

.open-orders-count {
    color: #2f2f2f;
}

.header-notif-bar svg,
.header-notif-bar img {
    width: 26px;
    height: 100%;
    fill: #ffffff;
    margin-left: 0.3rem;
    padding-left: 0.3rem;
    background: #ff4000;
    height: 45px;
    width: 45px;
    padding: 0.7rem;
    border-radius: 0.8rem;
    right: 0px;
    position: absolute;
    animation: notif-bar-shake 1.7s ease-in-out infinite;
}


@keyframes notif-bar-shake {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.header-notif-bar img {
    filter: invert(1)
}

.count {
    font-weight: bold;
    font-family: 'kalameh';
    color: #ff4000;
    margin-top: .1rem;
    color: #2f2f2f;
}

.text-notifbar {
    font-size: 0.9rem;
    margin-top: .1rem;
    text-wrap: nowrap;
}

.requests-list {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.request-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.7rem;
    background: #f7f7f7;
    border-radius: 1.5rem;
    border: 2px solid #0000001f;
}

.request__table {
    font-weight: bold;
    font-family: 'kalameh';
}

.request__action-btn {
    font-weight: bold;
    border-radius: 0.8rem;
}

.waiter-notifs,
.open-orders-notifs {
    transition: all .4s ease-in-out;
    /* width: 0; */
    /* overflow: hidden; */
    display: none;
    padding: 0.5rem 0.5rem;
    padding-right: 55px;
}

.open-orders-notifs:hover {
    color: var(--primary);
}

.show-notifs-bar {
    display: flex;
    /* width: 185px; */
}



.request__title {
    display: flex;
    gap: 0.6rem;
}

.request-time {
    font-size: 0.8rem;
}



/* .hide-waiter-notifs-bar {
    display: none;
    width: 0;
} */


.upload-single-image-container {
    display: flex;
    width: 110px;
    height: 110px;
    border: 3px solid var(--primary);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.upload-single-image-container input {
    opacity: 0;
    position: absolute;
    z-index: 11;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.upload-single-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clear-image {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 111;
}

.loading-element {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    display: none;
}

.loading-element svg {
    width: 60px;
}

.upload-single-image-directly input[type="file"] {
    height: 100%;
}


/* popup */
.popup-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgb(255 255 255 / 56%);
    z-index: 9;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: all .45s ease-in-out;
    display: none
}

.popup-backdrop--show {
    opacity: 1
}

.popup {
    width: 80%;
    background: #ff7300;
    max-width: 380px;
    padding: 1rem;
    position: fixed;
    border-radius: 3rem;
    z-index: 9;
    overflow: hidden;
    transition: all 0.45s ease-in-out;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -58%) scale(1);
    opacity: 0;
    display: none
}

.popup--show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1
}

.popup-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem
}

.popup-body img {
    width: 70%;
    max-width: 250px;
    filter: drop-shadow(2px 8px 8px #e06500)
}

.popup__title {
    font-weight: 700;
    font-size: 2rem;
    color: #FDFDFD;
    text-shadow: 3px 3px 1px #e76800
}

.popup__text {
    font-weight: 700;
    font-size: 1.2rem;
    color: #FDFDFD;
    text-shadow: 3px 3px 1px #e76800
}

.popup__close {
    text-align: right;
    margin: 1rem 1rem 0 0
}

.popup__close svg {
    width: 30px;
    height: 30px;
    cursor: pointer;
    fill: #fff;
    filter: drop-shadow(3px 4px 1px #da6200)
}

.popup-contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
    margin-top: .5rem
}

.popup-contact span {
    color: #636363
}

.popup-contact svg {
    width: 30px;
    height: 30px;
    fill: #555
}

.popup-contact {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: .4rem;
    font-weight: 700;
    color: #FFF;
    background: #FFF;
    padding: .7rem 1.3rem;
    border-radius: 1.8rem;
    justify-content: space-between;
    border-bottom: 4px solid #e26600
}

.dir-ltr {
    direction: ltr;
}

.dir-rtl {
    direction: rtl;
}

.restaurant-open {
    text-align: center;
}

.empty-orders {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
    font-size: 1.7rem;
    color: #a7a7a7;
}

.empty-orders img {
    width: 60%;
    max-width: 380px;
}

.hide {
    display: none;
}

.mb-1 {
    margin-bottom: 1rem !important;
}

.mb-2 {
    margin-bottom: 2rem !important;
}

.mt-1 {
    margin-top: 1rem !important;
}

.mt-2 {
    margin-top: 2rem !important;
}

.error-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1re;
    padding: 4rem 2rem;
}

.error-wrapper h1 {
    margin-top: 1.5rem;
}

.error-wrapper img {
    margin-right: -2rem;
    width: 80%;
    max-width: 250px;
}

.burger-btn {
    display: flex;
    align-items: center;
    width: 40px;
    height: 40px;
}

.burger-btn i {
    display: flex;
    font-size: 2.6rem !important;
}

.waiter-notifs {
    /* background: #0095ff; */
}

.text-orders-notif::before {
    content: attr(data-long);
}

.text-waiter-notif::before {
    content: attr(data-long);
}

#sidebar.active .sidebar-wrapper {
    position: fixed;
}

.manage-branches {
    display: flex;
    background: #ffeeeb;
    margin: 0.9rem;
    border-radius: 0.6rem;
    padding: 0.3rem 0.7rem;
    gap: 0.8rem;
    align-items: center;
    padding-top: 0.6rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.active-branch-logo img {
    width: 60px;
    /* height: 60px; */
    object-fit: cover;
    border-radius: 0.4rem;
}

.manage-branches-left {
    width: 100%;
}

.active-branch-name {
    display: flex;
    flex-direction: column;
}

.active-branch-name span:first-child {
    line-height: 0.8;
    font-size: 0.8rem;
}

.active-branch-name span:last-child {
    font-weight: bold;
}

.change-branch-link {
    width: 100%;
    display: block;
    border-top: 1px solid #dcdcdc;
    padding-top: 0.2rem;
    font-weight: bold;
}

.star {
    color: #ff0000;
}

#intro-header {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    flex-direction: row-reverse;
}

#intro-header .signout {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-direction: row-reverse;
    background: none;
    border: none;
}

#intro-header .signout svg {
    width: 21px;
    height: 21px;
    fill: #636363;
}

@media (max-width: 1300px) {
    #panel-header {
        padding-right: 0;
        padding-left: 0;
    }
}

@media (max-width: 1200px) {
    .sidebar-wrapper .sidebar-header {
        padding-top: .5rem;
    }

    .sidebar-header-wrapper {
        flex-direction: column-reverse;
        align-items: flex-end;
    }

    .logo {
        align-self: flex-start;
    }
}

@media (max-width: 900px) {
    .text-orders-notif::before {
        content: attr(data-short);
    }

    .text-waiter-notif::before {
        content: attr(data-short);
    }

    .show-notifs-bar {
        width: 115px;
    }

    .count {
        width: 17px;
        height: 17px;
        position: absolute;
        border-radius: 1rem;
        right: 4px;
        bottom: -2px;
        background: #FFF;
        display: flex;
        justify-content: center;
        font-size: 0.8rem;
    }

    #main {
        padding: 1rem 1.5rem !important;
    }
}

@media (max-width: 800px) {
    .medias {
        gap: 1rem;
    }

    .media-size {
        width: calc((100% - 4rem) / 5);
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }
}

@media (max-width: 710px) {
    .header-user {
        padding: 0;
        height: unset;
        background: none;
        border: none;
    }

    .header-user .user-info {
        display: none;
    }

    .header-restaurant {
        padding: 0;
        border: none;
    }

    .header-restaurant .restaurant-info,
    .header-restaurant .restaurant-info-header {
        display: none;
    }

    .header-user img,
    .header-restaurant img {
        width: 50px;
        height: 50px;
    }

    .header-dropdown {
        width: 160px;
        left: 0;
        transform: unset;
    }

    .dropdown__inner::before {
        right: unset;
        left: 16px;
    }

    .header-user img,
    .header-restaurant img {
        filter: drop-shadow(2px 2px 3px #0000001a);
    }

    .toastify {
        max-width: 75%;
    }
}

@media (max-width: 650px) {
    .medias {
        gap: 1.2rem;
    }

    .media-size {
        width: calc((100% - 3.6rem) / 4);
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }
}

@media (max-width: 580px) {
    .medias {
        gap: 0.8rem;
    }

    .media-size {
        width: calc((100% - 2.4rem) / 4);
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

    .media-library-body .note {
        padding: 0 1rem;
        font-size: 0.75rem;
    }

    .image-holder__placeholder img {
        width: 38px;
    }

    .image-holder__placeholder__text {
        font-size: 0.75rem;
        line-height: 0.2;
    }

    #main {
        padding: 0 1rem !important;
    }
}

@media (max-width: 500px) {

    .media-size {
        width: calc((100% - 1.6rem) / 3);
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

    .media-library-right {
        padding: 1rem 1rem 1.5rem;
    }

    .show-notifs-bar {
        width: 45px;
        padding: 0;
    }
}

@media (max-width: 475px) {}

@media (max-width: 400px) {
    .medias {
        gap: 0.6rem;
    }

    .media-size {
        width: calc((100% - 1.2rem) / 3);
    }

    .media-library-right {
        padding: 1rem 1rem 1.5rem;
    }

    .media img {
        border-radius: 0.9rem;
    }

    .image-holder__placeholder {
        gap: 0.4rem;
    }

    .image-holder__placeholder img {
        width: 35px;
    }

    .image-holder__placeholder__text {
        font-size: 0.7rem;
        line-height: 0.6;
    }
}

/* System Health Indicator */
.system-health-notifs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.4s ease;
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: #dc3545;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    z-index: 999;
}

.system-health-notifs.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.system-health-notifs.critical {
    background: #dc3545;
}

.system-health-notifs.warning {
    background: #ffc107;
}

.system-health-notifs svg {
    width: 34px;
    height: 34px;
    fill: white;
    transition: transform 0.3s;
}

.system-health-notifs:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.system-health-notifs:hover svg {
    transform: scale(1.1);
}

.system-health-notifs:hover .health-tooltip {
    display: block;
    opacity: 1;
}

.text-health-notif {
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.health-tooltip {
    position: absolute;
    top: 50%;
    left: calc(100% + 15px);
    transform: translateY(-50%);
    background: #2d3748;
    color: white;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 2;
    white-space: normal;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    pointer-events: none;
    display: none;
    min-width: 280px;
    max-width: 400px;
}

.system-health-notifs:hover .health-tooltip {
    display: block;
}

.health-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -16px;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: #2d3748;
}

.health-tooltip ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.health-tooltip li {
    margin: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.health-tooltip li::before {
    content: '•';
    color: #ffc107;
    font-weight: bold;
}