@font-face {
    font-family: "MyCustomFont"; /* Choose a name for your font */
    src: url("../font/DB-Helvethaica-X-Med-v3.2.ttf") format("truetype"); /* Specify the file path and format */
    font-weight: normal; /* Define the weight (e.g., normal, bold, 400, 700) */
    font-style: normal; /* Define the style (e.g., normal, italic) */
}

body {
    font-family: "MyCustomFont", sans-serif;
    margin: auto;
}
.container-hight-backgroud-ios {
    height: 50px;
    background-color: #d90000;
}
/* main page */
.container-main {
    position: relative;
    width: 100%;
    height: 100px;
    background-color: #d90000;
}
.arrow-back-screen {
    position: absolute;
    left: 10px;
    top: 10px;
}
.image-bell-main-stock {
    width: 100%;
}
.position-back {
    position: absolute;
    top: 20px;
    left: 10px;
    color: white;
}
.user-login-position {
    position: absolute;
    top: 10px;
    right: 10px;
}
.container-main > .container-logo-main {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: black;
    border-radius: 50%;
    bottom: -40px;
    left: 50%;
    transform: translate(-50%);
    border: 2px solid #d90000;
}
.container-main > .container-logo-main > .text-moo-ood {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 900;
}
.box-shadow {
    width: 100%;
    border: 1px solid #d90000;
    border-radius: 10px;
    padding: 5px;
}
.image-food {
    width: 100%;
    border-radius: 10px;
    height: 100%;
    object-fit: cover;
}
.p-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
.c-pink {
    background-color: pink;
}
.c-green {
    background-color: green;
}
.c-blue {
    background-color: blue;
}
.c-orange {
    background-color: orange;
}
.container-branch-list {
    position: relative;
    height: 250px;
    background-color: #eeeff3;
    border-radius: 10px;
    box-shadow: #f37e7e 0px 7px 29px 0px;
}
.icon-branch-setting-cog {
    position: absolute;
    width: 10%;
    right: 1%;
    top: -5%;
}
.container-branch-alarm-red {
    position: relative;
    background-color: #f4f4f6;
    padding: 10px;
    border-radius: 50%;
    width: 170px;
    height: 170px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    margin: 0 auto;
}
.branch-alarm-red {
    position: absolute;
    width: 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.branch-finger-blue {
    position: absolute;
    right: 10px;
    width: 10%;
    text-align: right;
    bottom: 10px;
}
.branch-text-phone {
    font-size: 22px;
}
.main-content-wrapper {
    -ms-overflow-style: none; /* สำหรับ Internet Explorer และ Edge */
    scrollbar-width: none; /* สำหรับ Firefox */
}
.modal-category-image {
    width: 20px;
    height: 20px;
}
/* สำหรับ Chrome, Safari และ Opera */
.main-content-wrapper::-webkit-scrollbar {
    display: none;
}
/* setting page */
.container-page-setting {
    width: 100%;

    background-color: #d90000;
}
.img-logo-setting {
    width: 50%;
}
.container-menu-setting {
    width: 100%;
    height: auto;
    padding: 25px 10px;
    border: 2px solid #d90000;
    border-radius: 10px;
}
.card-red {
    position: relative;
    border: 2px solid #d90000;
    border-radius: 10px;
}
.card-red > .poit-main {
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: green;
    right: 10px;
    top: 10px;
    animation: blink 1.5s ease-in-out infinite none;
}
.text-setting {
    color: white;
    font-size: 12px;
    font-weight: 900;
    margin-top: 10px;
}
/* product */
.category-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 5px;
}
.category-item {
    background-color: white;
    border-radius: 10px;

    padding: 10px;
    border: 2px solid #d90000;
}
.category-icon {
    position: relative;
    width: 120px;
    height: 100px;
    margin: 0 auto;
}
.category-icon > img {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.category-item > .category-label {
    font-size: 14px;
    white-space: nowrap;
    padding-top: 10px;
    font-weight: bold;
}
.product-category-list {
    width: 50px;
    height: 50px;
    border-radius: 50%;

    object-fit: fill;
}
.img-category-preview {
    width: 100%;
}
.container-product {
    position: relative;
}
.container-product > .alert-stock {
    position: absolute;
    right: -10px;
    top: -20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #d5e0e3;
}
.container-product > .alert-stock > .fa {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.product-unit-label {
    padding-left: 40%;
    margin-top: -10px;
}
.img-card-product {
    border-radius: 10px 10px 0 0;
    width: 100%;
    object-fit: cover;
    height: 200px;
}
.category-in-container-product {
    position: absolute;
    top: 0;
    padding: 10px;
    background-color: whitesmoke;
    border-radius: 10px 0 10px 0;
    border-bottom: 1px solid #d90000;
    border-right: 1px solid #d90000;
    font-size: 12px;
}
.category-in-product {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
.product-name {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: whitesmoke;
    padding: 10px;
    border-radius: 10px 0 0 0;
    font-weight: bold;
    border-left: 1px solid #d90000;
    border-top: 1px solid #d90000;
    border-bottom: 1px solid #d90000;
}
.setting-product {
    position: absolute;
    top: 5px;
    right: 5px;
    color: white;
}
/* withdraw start */
.img-scan {
    width: 100%;
    object-fit: cover;
}
/* withdraw stop */
/* footer */
.footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    padding: 15px 10px;
    border: 2px solid white;
    border-radius: 10px 10px 0 0;
    z-index: 1;
    background-color: #d90000;
}

/* etc */
.separator {
    display: flex;
    align-items: center; /* จัดให้อยู่กึ่งกลางแนวตั้ง */
    text-align: center;
}
.container-create {
    position: fixed;
    bottom: 80px;
    right: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid black;
    background-color: #d90000;
}
.container-create > .fa {
    position: absolute;

    color: white;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.left-circle {
    border-radius: 10px 0 0 10px;
}
.right-circle {
    border-radius: 0 10px 10px 0;
}
.bg-active {
    background-color: #d90000;
}
.bg-unactive {
    background-color: black;
}
.separator::before,
.separator::after {
    content: "";
    flex: 1; /* ให้เส้นยืดเต็มพื้นที่ที่เหลือ */
    border-bottom: 1px solid #ccc; /* ความหนาและสีของเส้น */
}

.separator-text {
    padding: 0 15px; /* เว้นระยะห่างระหว่างตัวหนังสือกับเส้น */
    color: white;
    font-size: 14px;
    font-weight: bold;
}
.selection-branch-top {
    width: auto;
    border-radius: 20px;
    border: 2px solid #d90000;
    margin-top: 1%;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    padding: 5px;
}
.box-minus {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: black;
    color: white;
}
.box-minus .fa {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.box-plus {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #d90000;
    color: white;
}
.box-plus .fa {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.input-label-number-input {
    text-align: center;
    color: #d90000;
    font-weight: bold;
    font-size: 22px;
    width: 100%;
    border: 1px solid black;
    border-radius: 20px;
}

@keyframes blink {
    0% {
        box-shadow: 0 0 0 0 rgba(18, 232, 168, 0.4);
    }
    100% {
        box-shadow: 0 0 0 16px rgba(25, 206, 152, 0.3);
    }
}
@media only screen and (max-width: 1024px) {
    .container-branch-alarm-red {
        position: relative;
        background-color: #f4f4f6;
        padding: 10px;
        border-radius: 50%;
        width: 100px;
        height: 100px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        margin: 0 auto;
    }
    .branch-alarm-red {
        width: 70%;
    }
    .branch-text-phone {
        font-size: 12px;
    }
    .branch-finger-blue {
        width: 10%;
    }
    .container-create {
        width: 80px;
        height: 80px;
    }
    .container-create > .fa {
        font-size: 30px;
    }
    .img-logo-setting {
        width: 100%;
    }
}
@media only screen and (max-width: 600px) {
    .container-branch-alarm-red {
        position: relative;
        background-color: #f4f4f6;
        padding: 10px;
        border-radius: 50%;
        width: 100px;
        height: 100px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        margin: 0 auto;
    }
    .logo-bel-front {
        display: none;
    }
    .branch-alarm-red {
        width: 70%;
    }
    .branch-text-phone {
        font-size: 12px;
    }
    .branch-finger-blue {
        width: 10%;
    }
    .container-create {
        width: 50px;
        height: 50px;
    }
    .container-create > .fa {
        font-size: 20px;
    }
    .input-label-number-input {
        font-size: 20px;
    }
    .box-minus {
        position: relative;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-color: black;
        color: white;
    }
    .box-minus .fa {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .box-plus {
        position: relative;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-color: #d90000;
        color: white;
    }
    .box-plus .fa {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}
