:root {
    --primary: #5671f0;
    --primary-dark: #5671f0;
    --white: #fff;
    --gray: #98a6ad;
    --gray-dark: #343a40;
    --gray-100: #f3f7f9;
    --gray-150: #f5f7f8;
    --gray-200: #f7f7f7;
    --gray-250: #ebedef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #98a6ad;
    --gray-700: #6c757d;
    --gray-800: #343a40;
    --gray-900: #323a46;
    --menu-item: #6c757d;
    --sidebar-width: 260px;
    --header:  68px;
}
* {
    padding: 0;
    margin: 0;
    outline: none;
    box-sizing: border-box;
}
ul,ol {
    padding: 0;
    margin: 0;
    list-style: none;
}
a {
    text-decoration: none;
    color: #6c757d;
}
.ltr {
    direction: ltr !important;
}
body {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    font-family: 'Inter', sans-serif;
    background-color: #f7f7fc;
    color: #343a40;
    font-size: 15px;
}
.login {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
}
.login-logo {
    text-align: center;
}
.login-logo img {
    width: 200px;
}
.login-form {
    width: 450px;
    background: #fff;
    padding: 50px;
    border-radius: 12px;
}
.login-light-text {
    color: #99a6ad;
    text-align: center;
}
.form-holder {
    width: 100%;
}
.form-label {
    margin-bottom: 0.1rem !important;
    font-weight: 500 !important;
    opacity: 0.7 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block !important;
}
.login-social img {
    width: 18px;
}
.login-btn span {
    font-size: 13px;
}


input::placeholder {
    color: #99a6ad !important;
}

@media(max-width: 991px) {
   body {
    background-color: #fff;
   }
}

@media(max-width: 1124px) {
    .login {
        flex-direction: column;
        background: none;
    }
    .login-form {
        width: 100%;
        max-width: 440px;
    }
}

header {
    height: var(--header);
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: space-between;
    left: var(--sidebar-width);
    top: 0;
    right: 0;
    padding: 0.6rem 1.8rem;
    z-index: 99;
    background-color: #fff;
    transition: all 0.4s;
    box-shadow: 0 0.125rem 0.375rem 0 rgba(145, 152, 159, 0.12);
}
.header-profile {
    display: flex;
    gap: 10px;
    align-items: center;
}
.header-profile-text {
    display: flex;
    flex-direction: column;
    line-height: 16px;
}
.header-profile-text span{
    display: flex;
    font-size: 13px;
}
.header-profile-name {
    font-weight: 600;
}
.header-icon-button {
    padding: 0.3rem;
    border-radius: 4px;
    cursor: pointer;
}
.header-avatar {
    border-radius: 8px;
    width: 40px;
    height: 40px;
    background-color: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    color: white;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
    background-color: #fff;
    transition: left 0.4s;
    color: #6c757d;
    box-shadow: 0 0.125rem 0.375rem 0 rgba(145, 152, 159, 0.12);
    z-index: 100;
}
.sidebar .logo {
    height: 68px;
    padding-left: 30px;
    padding-right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar .logo img {
    width: 160px;
    object-fit: cover;
}
.sb-menu {
    margin-left: 10px;
    margin-right: 10px;
}

.sb-item {
    background-color: #f9f9f9;
    margin-bottom: 2px;
    border-radius: 0.45rem;
}

.sb-item .sb-item-link {
    border-radius: 0.45rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
}
.sb-item .sb-item-link .sb-item-link-text {
    display: flex;
    align-items: center;
    gap: 10px;
    }
.sb-item .sb-item-link .sb-item-link-text i {
    width: 20px;
    height: 20px;
    font-size: 20px;
    }
.sb-item .sb-item-link:hover {
    background-color: #f0f3fd;
    transition: all 0.4s;
}

.sb-submenu {
    display: none;
    padding: 0 10px;
    padding-bottom: 8px;
}

.sb-submenu .sb-submenu-link {
    border-radius: 0.25rem;
    display: flex;
    padding: 10px 15px;
    gap: 10px;
    align-items: center;
    background-color: #fff;
    margin-bottom: 2px;
    transition: all 0.3s;
}

.sb-submenu .sb-submenu-link.active {
    background-color: #5B73E8;
    color: #fff;
}

.sb-submenu .sb-submenu-link.active i {
    color: #fff;
}

.sb-submenu .sb-submenu-link:hover {
    background-color: #5B73E8;
    color: #fff;
}

.sb-submenu .sb-submenu-link .icon {
    width: 20px;
    height: 20px;
    font-size: 20px;
    text-align: center;
    line-height: 20px;
}

.sb-arrow {
    float: right;
    transition: transform 0.3s;
}
.sb-item.active {
    background-color: #f0f3fd;
    border-radius: 0.25rem;
}
.sb-item.active .sb-arrow {
    transform: rotate(90deg);
}

.settings-menu .active {
    background-color: #f0f3fd;
    color: var(--primary);
}

/*content*/
.content {
    margin-left: var(--sidebar-width);
    padding: 25px;
    margin-top: var(--header);
    transition: margin-left 0.4s;
}
.page-title {
    font-size: 1.125rem;
    font-weight: 500;
    padding: 0;
    margin: 0;
}
.header-pre {
    border-radius: 4px;
    display: inline-block!important;
    height: 20px;
    margin-bottom: 0;
    margin-right: 12px;
    width: 6px;
    background-color: var(--primary);
}
.card {
    box-shadow: 0 1px 5px rgba(56,65,74,.10);
    margin-bottom: 1.5rem;
    padding: 0;
}
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--gray-200);
    font-weight: 500;
    padding: 1.5rem;
    font-size: 18px;
}
.card-body {
    padding: 1.5rem;
}
.no-shadow {
    box-shadow: none !important;
}
.ch-icon {
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 20px;
}


.bg-pending {
    background-color: #FDF4F0;
}
.bg-processing {
    background-color: #EEEDFD;
}
.bg-cancelled {
    background-color: #FCF0F0;
}
.bg-served {
    background-color: #E2FAF5;
}
.bg-soft-primary {
    background-color: #e1e6fd;
}
.bg-soft-rose {
    background-color: #f2e0e5;
}
.bg-soft-teal {
    background-color: #d5eff1;
}
.bg-soft-success {
    background-color: #d7f4e5;
}
.text-primary {
    color: #193324;
}
.text-rose {
    color: #b9516c;
}
.text-teal {
    color: #02a8b5;
}
.text-success {
    color: #0fc56a;
}
.fw-300 {
    font-weight: 600;
}
.fw-400 {
    font-weight: 600;
}
.fw-500 {
    font-weight: 600;
}
.fw-600 {
    font-weight: 600;
}
h4 {
    font-size: 1.125rem;
}
.hc-icon {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hc-icon span {
   font-size: 26px !important;
}

.table td,
.table th {
    padding: 1rem;
    border-color: var(--gray-300);
    vertical-align: middle;

}
.table-head th{
    background-color: #f1f6fd;
}
.table-btn {
    border: none;
    height: 38px;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
}
.table-icon {
    font-size: 18px;
}
.add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    white-space: nowrap;
}
.add-btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.breadcrumb .breadcrumb-item a {
    color: var(--primary);
}
.hand {
    cursor: pointer;
}
.textarea {
    height: 120px;
    resize: none;
}
.image-holder {
    max-width: 240px;
    min-height: 120px;
    border-radius: 6px;
    border: 1px dashed var(--gray-300);
    overflow: hidden;
    padding: 6px;
    background-size: 72px;
    background: url(../img/nophoto.png) center center no-repeat;
    background-size: 32px;
}
.image-holder img {
    width: 100%;
    border-radius: 6px;
}
.del-btn {
    width: 32px;
    height: 32px;
    color: #fff;
    background-color: #ff4560;
    text-align: center;
    line-height: 32px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}
.category-img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
}

.item-list {
    background-color: #fff;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 2px 2px 2px var(--gray-200);
    border:  1px solid var(--gray-100);
}
.item-list-image {
    min-height: 220px;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover;
    border-radius: 6px;
    position: relative;
}
.item-list-image .durum {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    background: #fff;
    border-radius: 24%;
}
.item-list-image .star {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    background: #fff;
    border-radius: 24%;
}
.item-list-price {
    font-weight: 600;
    padding: 0 6px;
    color: var(--primary-dark);
    font-size: 18px;
}
.item-list-price span {
    font-size: 13px;
    color: var(--bs-gray-600);
}
.item-list-title {
    font-weight: 400;
    padding: 10px 6px;
}
.item-list-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.item-list-buttons {
    display: flex;
    gap: 6px;
}
.nav-h {
    height: 38px;
}

.thumb {
    width: 48px;
    height: 48px;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
    object-fit: cover;
}
.divider {
    border-top: 1px dashed var(--gray-500);
    height: 1px;
    margin: 25px 0;
}
.idivider {
    border-bottom: 1px dashed var(--gray-500);
}
.settings-menu {
    padding: 6px;
}

.settings-menu a {
    display: block;
    padding: 11px 13px;
    border-bottom: 1px solid #f7f7f7;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.settings-menu i {
    font-size: 20px;
    width: 20px;
    height: 20px;

}
.settings-menu a:last-child {
    border-bottom: 0;
}

.invoice-ddm {
    border: 0;
    border-radius: 2px;
    box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.1);
    padding: 0;
}
.invoice-ddm li {
    display: block;
    padding: 8px 10px;
    border-bottom: 1px solid #f0f0f0;
}
.invoice-ddm li:last-child {
    border-bottom: 0;
}
.invoice-ddm li:hover {
    background: #f0f0f0;
}
.hide-mob {
    display: none;
}
@media(max-width: 991px) {
   .sidebar {
        left: -260px;
    }
    .content {
        margin-left: 0;
    }
    .hide-mob {
        display: block;
    }
    header {
        left: 0;
    }
}
.card-bg {
    height: 120px;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    border-radius: 4px;
}
.nowrap {
    white-space:nowrap;
}

/*Pager*/
.pagenav {
    display: block;
    padding: 15px;
}
.pagenav ul {
    display: flex;
    gap: 2px;
}
.pagenav ul li a {
    padding: 8px 14px;
    display: inline-block;
    background: #f0f0f0;
    color: #999;
    border-radius: 4px;
}
.pagenav ul li a:hover {
    background: var(--bs-primary);
    color: #fff;
}
.pagenav ul li a.pgn_die {
    background: var(--bs-primary);
    color: #fff;
}

.hide-obj {
    display: none;
}

.dashboard-widget {
    display: flex;
    align-items: center;
}
.dashboard-widget .icon {
    font-size: 44px;
}
.dashboard-widget h5 {
    margin: 0;
    padding: 0;
}

.widget-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}
.widget-icon i {
    color: #fff;
    font-size: 32px;
}
.icon-pending {
    background: #ED7239;
}
.icon-served {
    background-color: #4FAF94;
}
.icon-cancelled {
    background-color: #E63325;
}

.text-gray {
    color: var(--gray-400);
}
.profile-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 20px;
    gap: 20px;
}
.profile-grid-item {
    background: #f9f9f9;
    width: 130px;
    padding: 15px 0;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
}
.profile-grid-item img {
    width: 57px;
    height: 57px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
}
.profile-grid-item-name {
    display: block;
    padding: 4px 6px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    margin-top: 10px;
}

@media(max-width: 576px) {
    .profile-grid-item {
        width: calc(50% - 12px);
    }
}

@media(max-width: 360px) {
    .profile-grid-item {
        width: 100%;
    }
}

.cursor-default,
.cursor-default span,
.cursor-default a,
.cursor-default div {
    cursor: default !important;
}
.thumb-img {
    width: 57px;
    height: 57px;
    object-fit: cover;
    border-radius: 12%;
    border: 1px solid #f0f0f0;
}

.table-status-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.table-status {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 6px;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}
.table-no {
    font-weight: bold;
    font-size: 16px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100px;
    text-align: center;
}
.table-time {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    background: #67DF9C;
    color: #fff;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 2px 6px;
    border-radius: 10px;
}
.table-time,
.table-time i {
    font-size: 13px;
}
/*.table-status i {
    font-size: 15px;
}*/

.yes-print {
    display: none;
}
@media print {
    .no-print {
        display: none !important;
    }
    .yes-print {
        display: block !important;
    }
    header {
        display: none !important;
    }
    body {
        padding: 0 !important;
        margin: 0 !important;
    }
    @page {
        size: A4;
        margin: 0 !important;
    }
    .card {
        margin: 0 !important;
        box-shadow: none !important;
    }
    .sidebar {
        display: none !important;
    }
    .print-black-text {
        color: #000 !important;
        font-size: 18px !important;
        padding: 15px 0 !important;
    }
    .bg-danger,
    .bg-success {
        background-color: #fff !important;
        background: #fff !important;
    }
    h6 {
        text-align: center !important;
        font-size: 20px;
        text-align: center;
    }
    td {
        padding: 3px !important;
    }
}

.item-card {
    border: 1px solid #f0f0f0;
    padding: 6px;
    border-radius: 6px;
}

.item-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
}
.image-preview-container {
    width: 140px;
    height: 140px;
    border: 2px solid #e9edf1;
    border-radius: 6px;
    cursor: pointer;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-preview-container:hover {
    border-color: #999;
}

.image-preview-container.empty::after {
    content: '+';
    font-size: 32px;
    color: #aaa;
}

.remove-image-btn {
    position: absolute;
    top: 4px;
    left: 4px;
    background: rgba(255, 0, 0, 0.8);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    display: none;
}

.image-preview-container.has-image .remove-image-btn {
    display: block;
}
.error {
    border: 1px solid red;
    background-color: #ffe6e6;
}
.tvbox-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
}
/*BS*/
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
button:focus,
button:active {
    outline: none !important;
    box-shadow: none !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:active {
    color: #fff;
}
.custom-dropdown {
    border: 0;
    box-shadow: 0 0 5px rgba(56,65,74,.15);
    padding: 6px;
}

.custom-dropdown .dropdown-item {
    padding: 8px;
    display: block;
    border-radius: 4px;
    background-color: #f9f9f9;
    margin-bottom: 2px;
}
.custom-dropdown .dropdown-item:hover {
    background-color: var(--gray-700);
    color: #fff;
}
.input-group-text {
    padding: unset;
    line-height: unset;
    white-space: nowrap;
    line-height: unset;
    width: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-header {
    background-color: #fff;
}
.form-control-color {
    padding: .375rem .75rem;
    line-height: 1.5;
    width: 100%;
}
.money-icon-size {
    font-size: 18px;
}
.access-holder {
    width: 160px;
    padding: 8px;
    border: 2px solid #e1e6fd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 6px;
}
.access-holder span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sube-logo-preview {
    background: #f0f0f0;
    border: 2px solid #e9edf1;
    border-radius: 4px;
    height: 240px;
    align-content: center;
    align-items: center;
    padding: 10px;
}
.sube-logo-preview img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}