@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Sora:wght@100..800&display=swap");

:root {
    --montserrat-font: "Montserrat", serif;
    --inter-font: "Inter", serif;
    --outfit-font: "Outfit", serif;
    --lato-font: "Lato", serif;
    --sora-font: "Sora", serif;
    --jakarta-font: "Plus Jakarta Sans", serif;
    --breadcrumb-icon-width: 24px;
    --cool-gray: 108 114 120; /* #6C7278 */
    --blue-strong: 77 129 231; /* #4D81E7 */
    --white: 255 255 255 /* #FFFFFF */;
    --dark-charcoal: 26 28 30; /* #1A1C1E */
    --light-gray: 237 241 243; /* #EDF1F3 */
    --charcoal: 17 24 39; /* #111827 */
    --gray-muted: 108 114 120; /* #6C7278 */
    --golden-beige: 208 159 124; /* #D09F7C */
    --gray-light: 105 103 103; /* #696767 */
    --gray-medium: 103 103 103; /* #676767 */
    --black: 0 0 0; /* #000000 */
    --gray-ash: 158 158 158; /* #9E9E9E */
    --taupe-gray: 139 132 128; /* #8B847F */
    --dark-brown: 69 67 67; /* #454343 */
    --emerald-green: 33 150 83; /* #219653 */
    --red-dark: 163 13 17; /* #A30D11 */
    --gray-very-light: 224 224 224; /* #E0E0E0 */
    --light-pink: 240 237 237; /* #F0EDED */
    --dark-gray: 80 77 77; /* #504D4D */
    --light-silver: 204 204 204; /* #CCCCCC */
    --mid-gray: 102 102 102; /* #666666 */
    --dark-background: 36 36 36; /* #242424 */
    --slate-gray: 51 51 51; /* #333333 */
    --olive-gray: 79 79 78; /* #4F4F4E */
    --off-white: 251 251 251; /* #FBFBFB */
    --slate-blue-gray: 75 85 99; /* #4B5563 */
    --golden-opacity: #d09f7c80; /* rgba(208 159 124 0.5) */
    --brown-opacity: #ca794054; /* rgba(202 121 64 0.33) */
    --bright-red: 239 17 17; /* #EF1111 */
    --muted-brown: 128 122 122; /* #807A7A */
    --vivid-red: 240 68 56; /* #F04438 */
    --soft-pink: 253 162 155; /* #FDA29B */
}

.montserrat-font {
    font-family: var(--montserrat-font);
}
.inter-font {
    font-family: var(--inter-font);
}
.outfit-font {
    font-family: var(--outfit-font);
}
.lato-font {
    font-family: var(--lato-font);
}
.sora-font {
    font-family: var(--sora-font);
}
.jakarta-font {
    font-family: var(--jakarta-font);
}
.cool-gray {
    color: rgb(var(--cool-gray));
}
.blue-strong {
    color: rgb(var(--blue-strong));
}
.white {
    color: rgb(var(--white));
}
.dark-charcoal {
    color: rgb(var(--dark-charcoal));
}
.light-gray {
    color: rgb(var(--light-gray));
}
.charcoal {
    color: rgb(var(--charcoal));
}
.gray-muted {
    color: rgb(var(--gray-muted));
}
.golden-beige {
    color: rgb(var(--golden-beige));
}
.gray-light {
    color: rgb(var(--gray-light));
}
.gray-medium {
    color: rgb(var(--gray-medium));
}
.black {
    color: rgb(var(--black));
}
.gray-ash {
    color: rgb(var(--gray-ash));
}
.taupe-gray {
    color: rgb(var(--taupe-gray));
}
.dark-brown {
    color: rgb(var(--dark-brown));
}
.emerald-green {
    color: rgb(var(--emerald-green));
}
.red-dark {
    color: rgb(var(--red-dark));
}
.gray-very-light {
    color: rgb(var(--gray-very-light));
}
.light-pink {
    color: rgb(var(--light-pink));
}
.dark-gray {
    color: rgb(var(--dark-gray));
}
.light-silver {
    color: rgb(var(--light-silver));
}
.mid-gray {
    color: rgb(var(--mid-gray));
}
.dark-background {
    color: rgb(var(--dark-background));
}
.slate-gray {
    color: rgb(var(--slate-gray));
}
.olive-gray {
    color: rgb(var(--olive-gray));
}
.bright-red {
    color: rgb(var(--bright-red));
}
.muted-brown {
    color: rgb(var(--muted-brown));
}
.vivid-red {
    color: rgb(var(--vivid-red));
}
.soft-pink {
    color: rgb(var(--soft-pink));
}

.golden-opacity {
    background-color: var(--golden-opacity);
}
.brown-opacity {
    background-color: var(--brown-opacity);
}

.off-white {
    color: rgb(var(--off-white));
}

body {
    font-family: var(--inter-font);
    overflow-x: hidden;
    overflow-y: auto;
}

body.is-modal {
    overflow-y: hidden !important;
}

.custom-container {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1236px;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.auth-layout {
    position: relative;
    display: flex;
    min-height: 100svh;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1.5rem;
}

.blur-box-1 {
    filter: blur(520px);
    position: absolute;
    right: -25%;
    bottom: -25%;
    height: 100dvh;
    width: 100dvw;
    border-radius: 9999px;
    background-color: #c5c5c5;
    -webkit-filter: blur(520px);
    -webkit-border-radius: 9999px;
    -moz-border-radius: 9999px;
    -ms-border-radius: 9999px;
    -o-border-radius: 9999px;
}

.blur-box-2 {
    filter: blur(328px);
    position: absolute;
    left: -50%;
    top: -25%;
    height: 100dvh;
    width: 100dvw;
    border-radius: 9999px;
    background-color: #ebc894;
    -webkit-filter: blur(328px);
    -webkit-border-radius: 9999px;
    -moz-border-radius: 9999px;
    -ms-border-radius: 9999px;
    -o-border-radius: 9999px;
}

.auth-layout form {
    position: relative;
    z-index: 50;
    width: 100%;
    max-width: 420px;
    border-radius: 0.75rem;
    border-width: 1px;
    border-style: solid;
    padding: 1.5rem;
    background-color: rgb(var(--white) / 0.6);
    border-color: rgb(var(--white));
}

.auth-layout form > :not([hidden]) ~ :not([hidden]) {
    margin-top: calc(1.5rem * calc(1 - 0));
    margin-bottom: calc(1.5rem * 0);
}

.btn-bg-gradient {
    background: linear-gradient(
            0deg,
            rgb(var(--golden-beige)),
            rgb(var(--golden-beige))
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0) 100%
        );
    color: white;
}

.btn-bg-gradient:hover,
.btn-bg-gradient:focus {
    opacity: 0.8;
}

.disabled-type {
    background: linear-gradient(
            0deg,
            rgba(208, 159, 124, 0.5),
            rgba(208, 159, 124, 0.5)
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0) 100%
        );
    color: rgb(var(--olive-gray));
    border-color: transparent;
}

.btn-regular {
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-width: 1px;
    border-style: solid;
    gap: 0.5rem;
    transition: 0.2s;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -ms-transition: 0.2s;
    -o-transition: 0.2s;
}

.btn-regular.fill {
    background-color: rgb(var(--golden-beige));
    color: rgb(var(--white));
    border-color: transparent;
}

.btn-regular.fill:hover,
.btn-regular.fill:focus {
    background-color: rgb(var(--white));
    color: rgb(var(--golden-beige));
    border-color: rgb(var(--golden-beige));
}

.btn-regular.outline {
    border-color: rgb(var(--golden-beige));
    color: rgb(var(--golden-beige));
}

.btn-regular.outline:hover,
.btn-regular.outline:focus {
    background-color: rgb(var(--golden-beige));
    color: rgb(var(--white));
    border-color: transparent;
}

.auth-layout form button[type="submit"] {
    font-weight: 700;
    font-size: 1rem;
}

.auth-layout form h1 {
    color: rgb(var(--charcoal));
    font-weight: 700;
    font-size: 2rem;
}

.auth-layout form h6 {
    font-weight: 500;
    font-size: 0.75rem;
    color: rgb(var(--cool-gray));
}

.auth-layout form input {
    background-color: rgb(var(--white));
    border-color: rgb(var(--light-gray));
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.875rem;
    color: rgb(var(--dark-charcoal));
    box-shadow: 0px 1px 2px 0px #e4e5e73d;
}

.customer-form input,
.customer-form .select2-selection {
    background-color: rgb(var(--white));
    border-color: rgb(var(--light-gray));
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.875rem;
    height: auto;
    color: rgb(var(--dark-charcoal));
    box-shadow: 0px 1px 2px 0px #e4e5e73d;
}

.select2-selection__rendered {
    line-height: 19px !important;
    padding: 0 !important;
}

.select2-selection__arrow {
    top: 50% !important;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.438rem;
    width: 100%;
}

.input-group .error-text {
    font-size: 0.9rem;
    display: none;
    color: rgb(var(--vivid-red));
}

.input-group.error .error-text {
    display: block;
}

.input-group .input {
    position: relative;
}

.input-group label {
    font-size: 0.875rem;
    display: block;
    color: #414651;
}

.input-group .input input,
.input-group .input textarea {
    width: 100%;
    border-width: 1px;
    border-style: solid;
}

.input-group.error .input input,
.input-group.error .input textarea {
    border-color: rgb(var(--soft-pink));
    padding-right: 2rem;
    position: relative;
}

.input-group.error.icon .input input,
.input-group.error.icon .input textarea {
    padding-right: 3.8rem;
}

.input-group.icon input,
.input-group.icon textarea {
    padding-right: 2rem;
}

.input-group.error.icon .input::after {
    content: "";
    right: 32px;
}

.input-group.error .input input:focus {
    outline-color: rgb(var(--vivid-red));
}

.input-group.error .input::after {
    content: "";
    position: absolute;
    inset-block: 0;
    right: 4px;
    background-position: center;
    width: 1.75rem;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><g clip-path="url(%23clip0_261_10665)"><path d="M7.99967 5.33337V8.00004M7.99967 10.6667H8.00634M14.6663 8.00004C14.6663 11.6819 11.6816 14.6667 7.99967 14.6667C4.31778 14.6667 1.33301 11.6819 1.33301 8.00004C1.33301 4.31814 4.31778 1.33337 7.99967 1.33337C11.6816 1.33337 14.6663 4.31814 14.6663 8.00004Z" stroke="%23F04438" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_261_10665"><rect width="16" height="16" fill="white"/></clipPath></defs></svg>');
}

.layout-wrapper {
    display: flex;
    height: 100dvh;
    width: 100%;
    flex-direction: column;
}

.content-wrapper {
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.main-content {
    flex: 1;
}

.layout-footer {
    width: 100%;
    background-color: rgb(var(--light-pink));
    padding: 1rem 0;
    text-align: center;
}

.layout-footer p {
    color: rgb(var(--dark-gray));
    font-size: 1rem;
    font-family: var(--jakarta-font);
}

.layout-header {
    width: 100%;
    background-color: rgb(var(--off-white));
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-list a {
    padding: 0.25rem;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
    color: rgb(var(--slate-blue-gray));
}

.nav-list a:hover,
.nav-list a:focus,
.nav-list a.active {
    color: rgb(var(--golden-beige));
}

.layout-header .avatar img {
    width: 28px;
    height: 28px;
}

.custom-dropdown {
    position: relative;
}

.custom-dropdown .dropdown-content {
    position: absolute;
    z-index: 100;
    top: 100%;
    right: 0;
    min-width: 220px;
    box-shadow: 0px 1px 2px 0px #00000040;
    background-color: rgb(var(--white));
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    overflow: hidden;
}

.custom-dropdown .dropdown-content .dropdown-item {
    width: 100%;
    padding: 0.5rem 1rem;
    font-family: var(--montserrat-font);
    color: rgb(var(--black));
    font-size: 0.75rem;
    font-weight: 500;
}

.custom-dropdown .dropdown-content .dropdown-item:hover {
    background-color: rgb(var(--golden-beige) / 0.2);
}

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.search-wrapper .icon {
    position: absolute;
    left: 0.375rem;
    inset-block: 0;
    display: flex;
    align-items: center;
}

.search-wrapper .icon svg {
    margin-top: -3px;
}

.search-wrapper input {
    border-radius: 8px;
    border: 1px solid rgb(var(--gray-ash));
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-family: var(--montserrat-font);
    padding-left: 1.8rem;
    width: 100%;
}

.search-wrapper input::placeholder {
    color: rgb(var(--gray-ash));
}

.paginations {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-btn-list {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
}

.page-btn-list button {
    display: flex;
    max-height: 2rem;
    min-height: 2rem;
    min-width: 2rem;
    max-width: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background-color: rgb(var(--gray-very-light));
    font-family: var(--montserrat-font);
    color: rgb(var(--black));
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 500;
}

.page-btn-list button.active {
    background-color: rgb(var(--golden-beige));
    color: rgb(var(--white));
}

.paginations .step-btn {
    border-radius: 0.5rem;
    padding: 0.375rem;
    font-family: var(--montserrat-font);
    color: rgb(var(--gray-ash));
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 500;
}

.paginations .step-btn:hover {
    background-color: rgb(var(--light-gray));
    color: rgb(var(--dark-background));
}

.table-content {
    width: 100%;
    overflow-x: auto;
}

.table-content table {
    width: 100%;
}

.table-content table tr:nth-child(even) {
    background-color: #8b848012;
}

.table-content table thead {
    background-color: #8b848012;
}

.table-action-btn {
    display: flex;
    min-height: 2rem;
    min-width: 2rem;
    align-items: center;
    justify-content: center;
}

.table-content table td,
.table-content table th {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    text-align: left;
}
button {
    cursor: pointer;
}
.modal {
    display: none;
    position: fixed;
    inset: 0;
    height: 100%;
    width: 100%;
    flex-direction: column;
    background-color: rgb(var(--black) / 0.12);
    padding: 1rem;
    overflow-y: auto;
    align-items: center;
    /* justify-content: center; */
}

.select2-container {
    width: 100% !important;
}

.modal.show {
    display: flex;
}

.modal-body {
    width: 100%;
    border-radius: 0.5rem;
    background-color: rgb(var(--white));
    padding: 1.5rem 2rem;
}

.modal-body.sm {
    max-width: 36rem;
}

.modal-title {
    font-family: var(--outfit-font);
    font-size: 1.75rem;
    font-weight: 500;
    color: rgb(var(--golden-beige));
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breadcrumbs .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(var(--dark-background));
    width: var(--breadcrumb-icon-width);
    height: var(--breadcrumb-icon-width);
}

.breadcrumbs .title {
    color: rgb(var(--dark-background));
    font-family: var(--sora-font);
    font-weight: 600;
    font-size: 1.2rem;
}

.form-page-content {
    padding-left: calc(var(--breadcrumb-icon-width) + 10px);
    width: 100%;
}

.order-form label {
    color: rgb(var(--mid-gray));
    font-weight: 600;
    font-family: var(--jakarta-font);
}

.order-form input,
.order-form textarea,
.order-form .select2-selection {
    background-color: rgb(var(--white));
    border-color: rgb(var(--light-silver));
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.875rem;
    color: rgb(var(--dark-charcoal));
    height: auto;
}

.order-form textarea {
    min-height: 120px;
}

.category-table {
    border: 1px solid rgb(var(--mid-gray));
    border-radius: 1.25rem;
    -webkit-border-radius: 1.25rem;
    -moz-border-radius: 1.25rem;
    -ms-border-radius: 1.25rem;
    -o-border-radius: 1.25rem;
    overflow-x: auto;
    width: 100%;
}

.category-table .table-head {
    background-color: #8b848012;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.category-table .table-head p {
    color: rgb(var(--black));
    font-weight: 700;
    font-family: var(--montserrat-font);
    font-size: 0.875rem;
}

.border-black {
    border-color: rgb(var(--black));
}

.btn-icon-category {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: rgb(var(--gray-very-light));
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.btn-icon-category.big {
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
}

.btn-icon-category.small {
    min-width: 30px;
    min-height: 30px;
    max-width: 30px;
    max-height: 30px;
}

.category-list {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.category-list .category-item:nth-child(1) {
    border-top-right-radius: 1rem;
    border-top: 1px solid rgb(var(--mid-gray));
}

.category-list .category-item:nth-last-child(1) {
    border-bottom-right-radius: 1rem;
}

.category-list .category-item:nth-child(1) {
    border-top-left-radius: 1rem;
}

.category-list .category-item:nth-last-child(1) {
    border-bottom-left-radius: 1rem;
}

.category-list .category-item {
    border: 1px solid rgb(var(--mid-gray));
    border-top: 0;
    overflow: hidden;
}

.category-list .category-head {
    width: 100%;
    background-color: #8b848012;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 1rem;
}

.category-list .category-body {
    border-top: 1px solid rgb(var(--mid-gray));
    padding: 1.5rem;
}

.category-list .category-body .category-items-list {
    padding: 1rem;
    max-width: 920px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.category-list .category-body .category-items-list li {
    width: 100%;
    background-color: #8b848012;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 1rem;
}

.category-list .category-body .category-items-list li:nth-child(1) {
    border-top-right-radius: 1rem;
}

.category-list .category-body .category-items-list li:nth-last-child(1) {
    border-bottom-right-radius: 1rem;
}

.category-list .category-body .category-items-list li:nth-child(1) {
    border-top-left-radius: 1rem;
}

.category-list .category-body .category-items-list li:nth-last-child(1) {
    border-bottom-left-radius: 1rem;
}

.category-items-image-list {
    display: flex;
    align-items: stretch;
    gap: 0.3rem;
}

.category-items-image-list img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
    object-fit: cover;
}

@media (max-width: 480px) {
    .custom-container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .modal {
        padding: 0.5rem;
    }
    .modal-title {
        font-size: 1rem;
    }
    :root {
        --breadcrumb-icon-width: 12px;
    }
    .form-page-content {
        padding-left: 0;
    }
    .modal-body {
        padding: 1rem 1.5rem;
    }
}
