label.invalid {
    width: 100% !important;
    margin-top: 0.50rem !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #F64E60 !important;
}

.fv-help-block {
    font-size: 1rem !important;
}

input.invalid, select.invalid, textarea.invalid, input.is-invalid, select.is-invalid, textarea.is-invalid  {
    border-color: #F64E60 !important;
    padding-right: calc(1.5em + 1.3rem);
    background-image: url('../images/invalid.svg');
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.325rem) center;
    background-size: calc(0.75em + 0.65rem) calc(0.75em + 0.65rem);
}

select.invalid, select.is-invalid {
    background-position: right 1.5rem center !important;
}

input[type="file"] {
    padding: 0.40rem 0.70rem !important;
}

.datepicker-days .disabled {
    cursor: not-allowed !important;
}

input[type="file"] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.product_listing td {
    vertical-align: middle !important;
}

.purchase_inventory_section td {
    padding: 0.25rem 0.75rem !important;
    vertical-align: middle !important;
}

.purchase_inventory_section .form-control {
    height: 30px;
    margin: 2px 0;
}

.hidden {
    display: none;
}

.fc-unthemed .fc-event.fc-start .fc-content:before, .fc-unthemed .fc-event-dot.fc-start .fc-content:before {
    display: none;
}

.fc-unthemed .fc-event .fc-content, .fc-unthemed .fc-event-dot .fc-content {
    padding: 0.55rem 0.55rem 0.55rem 0.55rem;
}

.aside-minimize .brand .brand-logo span {
    display: none;
}

.calories_container {
    height: 50px;
    display: flex;
    flex-flow: row wrap;
    position: relative;
}

.calories_item {
    border: 1px solid #EBEDF3;
    background: transparent;
    flex: 0 1 calc(20%); /* <-- adjusting for margin */
    text-align: center;
    display: flex;
    flex-direction: column;
    padding-top: 5px;
}

.swal2-container .swal2-html-container {
    max-height: 350px;
}

.custom_subscription_detail.dropdown-menu.dropdown-menu-sm {
    width: 240px;
}

.form-label {
    font-weight: 500 !important;
}

.individual_menu_builder_html .card-label {
    font-size: 1.10rem !important;
}

.aside-menu .menu-nav > .menu-item > .menu-link {
    display: flex !important;
    align-items: center !important;
}

.aside-menu .menu-nav > .menu-item > .menu-link .menu-text,
.aside-menu .menu-nav > .menu-item .menu-submenu .menu-item > .menu-link .menu-text,
.aside-menu .menu-nav > .menu-section > .menu-text
{
    font-weight: 600;
    font-size: 14px;
}

.blinking {
    animation: blinkingText 1s infinite;
    color: #fc030b;
}

.logo {
    position: absolute;
    left: 25px;
    top: 25px;
    z-index: 9;
}

.left_card_form {
    width: 60%;
}

.carousel-indicators {
    bottom: 10px !important;
}

.banner_caption_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, .25);
}

.hide_on_mobile {
    display: block;
}

.datepicker-days .disabled {
    background-color: #FFE2E5 !important;
}

/* Specifies the animation and transparency for the blinking text */
@keyframes blinkingText {
    0% {
        opacity: 0;
    }
    50% {
        opacity: .5;
    }
    100% {
        opacity: 1;
    }
}

@media print {
    .hide_print {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .left_card {
        width: 100% !important;
    }

    .left_card_form {
        width: 75%;
    }

    .right_card {
        display: none;
    }

    .logo {
        display: block !important;
    }

    .hide_on_mobile {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .header-fixed.subheader-fixed.subheader-enabled .wrapper {
        padding-top: 100px;
    }
}

/* --------------------------------------------------------------------------
   Safe UI modernization (Laravel 13 upgrade)
   Additive styles only — existing IDs/classes preserved for JS/CSS selectors.
   -------------------------------------------------------------------------- */

:root {
    --kic-radius: 0.65rem;
    --kic-radius-sm: 0.45rem;
    --kic-shadow: 0 0.35rem 1.25rem rgba(24, 28, 50, 0.06);
    --kic-border: #E4E6EF;
    --kic-text: #3F4254;
    --kic-muted: #7E8299;
    --kic-primary: #3699FF;
    --kic-primary-hover: #187DE4;
    --kic-focus: rgba(54, 153, 255, 0.22);
}

body {
    color: var(--kic-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Cards / content panels */
.card {
    border-radius: var(--kic-radius) !important;
    box-shadow: var(--kic-shadow);
    border-color: var(--kic-border) !important;
}

.card-header {
    border-top-left-radius: var(--kic-radius) !important;
    border-top-right-radius: var(--kic-radius) !important;
}

.card.card-custom > .card-header {
    min-height: 60px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.card-body {
    padding: 1.35rem 1.5rem;
}

/* Forms */
.form-control,
.custom-select,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border-radius: var(--kic-radius-sm) !important;
    border-color: var(--kic-border) !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus,
.custom-select:focus {
    border-color: var(--kic-primary) !important;
    box-shadow: 0 0 0 0.2rem var(--kic-focus) !important;
}

.form-group label,
.form-label {
    color: var(--kic-text);
    letter-spacing: 0.01em;
}

/* Buttons — keep Bootstrap/Metronic btn-* classes intact */
.btn {
    border-radius: var(--kic-radius-sm) !important;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.btn:not(.btn-icon):hover {
    transform: translateY(-1px);
}

.btn-primary {
    box-shadow: 0 0.25rem 0.75rem rgba(54, 153, 255, 0.28);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--kic-primary-hover) !important;
    border-color: var(--kic-primary-hover) !important;
}

.btn:focus,
.btn.focus {
    box-shadow: 0 0 0 0.2rem var(--kic-focus) !important;
}

/* Tables */
.table {
    color: var(--kic-text);
}

.table thead th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--kic-muted);
    border-bottom-width: 1px !important;
    vertical-align: middle;
}

.table tbody td {
    vertical-align: middle;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.table-responsive {
    border-radius: var(--kic-radius);
}

/* Alerts / notifications */
.alert {
    border-radius: var(--kic-radius-sm) !important;
    border: 0;
    box-shadow: none;
}

/* Modals */
.modal-content {
    border-radius: var(--kic-radius) !important;
    border: 0;
    box-shadow: 0 1rem 2.5rem rgba(24, 28, 50, 0.18);
}

.modal-header,
.modal-footer {
    padding: 1.1rem 1.35rem;
}

/* Login / guest */
.login_form .left_card_form,
.left_card_form {
    border-radius: var(--kic-radius) !important;
    box-shadow: var(--kic-shadow);
    border-color: var(--kic-border) !important;
    padding: 0.5rem;
}

.login_form .form-control {
    min-height: 46px;
}

.login_form .btn-primary {
    min-height: 46px;
    font-size: 1rem;
}

/* Sidebar readability */
.aside-menu .menu-nav > .menu-item > .menu-link {
    border-radius: var(--kic-radius-sm);
    margin: 0 0.35rem;
}

.aside-menu .menu-nav > .menu-item.menu-item-active > .menu-link,
.aside-menu .menu-nav > .menu-item:not(.menu-item-parent):not(.menu-item-open):not(.menu-item-here):not(.menu-item-active):hover > .menu-link {
    transition: background-color 0.15s ease;
}

/* Content spacing */
#kt_content {
    padding-top: 1.25rem;
}

.subheader {
    box-shadow: none;
}

/* Empty / muted helper text */
.text-muted {
    color: var(--kic-muted) !important;
}

/* Pagination polish */
.pagination .page-link {
    border-radius: var(--kic-radius-sm) !important;
    margin: 0 0.15rem;
}

/* DataTables */
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border-radius: var(--kic-radius-sm) !important;
    border: 1px solid var(--kic-border);
    padding: 0.35rem 0.65rem;
}

/* Touch-friendly targets on small screens */
@media (max-width: 768px) {
    .btn:not(.btn-xs):not(.btn-sm):not(.btn-icon) {
        min-height: 42px;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .card-body {
        padding: 1rem;
    }

    .left_card_form {
        width: 90% !important;
        max-width: 420px;
    }
}

/* --------------------------------------------------------------------------
   Expanded UI modernization — applies across all Metronic CRUD pages
   -------------------------------------------------------------------------- */

body.kic-modern {
    background-color: #F5F7FB;
}

body.kic-modern .content {
    background: transparent;
}

/* Page content breathing room */
body.kic-modern .container-fluid,
body.kic-modern .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Listing / manage cards */
body.kic-modern .card.card-custom {
    border: 1px solid var(--kic-border) !important;
    overflow: hidden;
}

body.kic-modern .card.card-custom.page-modern-card {
    border: 1px solid var(--kic-border) !important;
}

body.kic-modern .card.card-custom > .card-header {
    background: #fff;
    border-bottom: 1px solid var(--kic-border) !important;
    align-items: center;
}

body.kic-modern .card.card-custom > .card-header .card-label {
    font-size: 1.15rem;
    font-weight: 700;
    color: #181C32;
    margin: 0;
}

body.kic-modern .card.card-custom > .card-header .card-toolbar .btn {
    margin-left: 0.35rem;
}

body.kic-modern .card.card-custom > .card-body {
    background: #fff;
}

/* Tables on every index page */
body.kic-modern .card-body:has(> .table),
body.kic-modern .card-body:has(> .dataTables_wrapper) {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body.kic-modern .table.table-bordered {
    border-collapse: separate !important;
    border-spacing: 0;
    border: 1px solid var(--kic-border) !important;
    border-radius: var(--kic-radius-sm);
    overflow: hidden;
}

body.kic-modern .table.table-bordered thead th {
    background: #F8F9FC;
    border-color: var(--kic-border) !important;
    white-space: nowrap;
    padding: 0.9rem 0.85rem;
}

body.kic-modern .table.table-bordered tbody tr {
    transition: background-color 0.12s ease;
}

body.kic-modern .table.table-bordered tbody tr:hover {
    background-color: #F3F8FF;
}

body.kic-modern .table.table-bordered td {
    border-color: #EEF0F4 !important;
}

body.kic-modern .table a:not(.btn) {
    font-weight: 500;
}

/* Action links in listing tables */
body.kic-modern td[nowrap] a,
body.kic-modern td a.reset_password {
    display: inline-block;
    padding: 0.15rem 0.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.12s ease, color 0.12s ease;
}

body.kic-modern td[nowrap] a:hover,
body.kic-modern td a.reset_password:hover {
    background: #E1F0FF;
    color: var(--kic-primary-hover);
    text-decoration: none;
}

/* Forms on manage pages */
body.kic-modern .form-group {
    margin-bottom: 1.35rem;
}

body.kic-modern .form-control {
    min-height: 42px;
    padding: 0.55rem 0.9rem;
}

body.kic-modern textarea.form-control {
    min-height: 110px;
}

body.kic-modern .checkbox > span,
body.kic-modern .radio > span {
    border-radius: 0.3rem !important;
}

/* Subheader */
body.kic-modern .subheader {
    background: #fff !important;
    border-bottom: 1px solid var(--kic-border);
    margin-bottom: 0.5rem;
}

body.kic-modern .subheader h5 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Top header quick actions */
body.kic-modern #kt_header .menu-link.border,
body.kic-modern #kt_header .btn.border {
    border-radius: var(--kic-radius-sm) !important;
    border-color: var(--kic-border) !important;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

body.kic-modern #kt_header .menu-link.border:hover,
body.kic-modern #kt_header .btn.border:hover {
    border-color: var(--kic-primary) !important;
    box-shadow: 0 0.25rem 0.75rem rgba(54, 153, 255, 0.12);
}

/* Footer */
body.kic-modern #kt_footer {
    border-top: 1px solid var(--kic-border);
    background: #fff !important;
}

/* Dashboard statistics */
body.kic-modern .list-group-item {
    border-color: #EEF0F4 !important;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    transition: background-color 0.12s ease;
}

body.kic-modern .list-group-item:hover {
    background: #F8FBFF;
}

body.kic-modern .list-group-item .text-secondary {
    background: #F3F6F9;
    color: #3F4254 !important;
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    min-width: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Alerts — clearer hierarchy */
body.kic-modern .alert {
    padding: 0.95rem 1.15rem;
    font-weight: 500;
}

body.kic-modern .alert-success {
    background: #E8FFF3;
    color: #0BB783;
}

body.kic-modern .alert-danger {
    background: #FFE2E5;
    color: #F64E60;
}

body.kic-modern .alert-warning {
    background: #FFF4DE;
    color: #FFA800;
}

body.kic-modern .alert-info,
body.kic-modern .alert-primary {
    background: #E1F0FF;
    color: #3699FF;
}

/* Auth pages */
body.kic-modern .auth-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(54, 153, 255, 0.12), transparent 42%),
        radial-gradient(circle at bottom right, rgba(27, 197, 189, 0.10), transparent 40%),
        #F5F7FB;
}

body.kic-modern .auth-shell .left_card {
    background: transparent;
}

body.kic-modern .auth-shell .left_card_form {
    width: min(440px, 92%);
    background: #fff;
    border: 1px solid var(--kic-border) !important;
    border-radius: 1rem !important;
    box-shadow: 0 1rem 2.5rem rgba(24, 28, 50, 0.08);
    padding: 1.25rem 1.1rem;
}

body.kic-modern .auth-shell .left_card_form .card-body {
    padding: 1.5rem 1.35rem;
}

body.kic-modern .auth-shell .font-size-h2 {
    font-size: 1.75rem !important;
    letter-spacing: -0.02em;
    color: #181C32;
}

body.kic-modern .auth-shell .form-control {
    background: #F9FAFC;
}

body.kic-modern .auth-shell .form-control:focus {
    background: #fff;
}

body.kic-modern .auth-shell .btn-primary {
    width: 100%;
    border-radius: 0.55rem !important;
}

body.kic-modern .auth-shell .right_card {
    background:
        linear-gradient(160deg, rgba(24, 28, 50, 0.55), rgba(24, 28, 50, 0.25)),
        #1B1F3B;
}

body.kic-modern .auth-shell .right_card > p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    z-index: 2;
}

/* Select2 polish */
body.kic-modern .select2-container--default .select2-selection--single {
    min-height: 42px;
    padding-top: 0.35rem;
}

body.kic-modern .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px;
}

body.kic-modern .select2-dropdown {
    border-radius: var(--kic-radius-sm) !important;
    border-color: var(--kic-border) !important;
    box-shadow: var(--kic-shadow);
}

/* DataTables controls alignment */
body.kic-modern .dataTables_wrapper .dataTables_filter,
body.kic-modern .dataTables_wrapper .dataTables_length {
    margin-bottom: 1rem;
}

body.kic-modern .dataTables_wrapper .dataTables_info,
body.kic-modern .dataTables_wrapper .dataTables_paginate {
    margin-top: 1rem;
}

body.kic-modern .dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: var(--kic-radius-sm) !important;
}

/* Empty-ish separators */
body.kic-modern .separator.separator-dashed {
    opacity: 0.7;
}

@media (max-width: 991.98px) {
    body.kic-modern .auth-shell .left_card {
        width: 100% !important;
    }

    body.kic-modern .container-fluid,
    body.kic-modern .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Dashboard metric cards + charts */
body.kic-modern .dashboard-metric-card {
    border: 0 !important;
    overflow: hidden;
    position: relative;
}

body.kic-modern .dashboard-metric-card::after {
    content: "";
    position: absolute;
    right: -18px;
    top: -18px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

body.kic-modern .dashboard-metric-card .card-body {
    position: relative;
    z-index: 1;
    padding: 1.35rem 1.4rem;
}

body.kic-modern .dashboard-metric-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 0.45rem;
}

body.kic-modern .dashboard-metric-value {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

body.kic-modern .dashboard-metric-hint {
    font-size: 0.85rem;
    opacity: 0.85;
}

body.kic-modern .dashboard-metric-card.metric-users {
    background: linear-gradient(135deg, #0e8f92, #0b6e8a) !important;
    color: #fff !important;
}

body.kic-modern .dashboard-metric-card.metric-menu {
    background: linear-gradient(135deg, #3699FF, #1B64D8) !important;
    color: #fff !important;
}

body.kic-modern .dashboard-metric-card.metric-inventory {
    background: linear-gradient(135deg, #1BC5BD, #0EA5A8) !important;
    color: #fff !important;
}

body.kic-modern .dashboard-metric-card.metric-employees {
    background: linear-gradient(135deg, #8950FC, #5E35B1) !important;
    color: #fff !important;
}

body.kic-modern .dashboard-metric-card .dashboard-metric-label,
body.kic-modern .dashboard-metric-card .dashboard-metric-value,
body.kic-modern .dashboard-metric-card .dashboard-metric-hint {
    color: #fff !important;
}

body.kic-modern .dashboard-metric-card .card-body {
    background: transparent !important;
}

body.kic-modern #dashboard_overview_chart,
body.kic-modern #dashboard_mix_chart {
    max-width: 100%;
}




/* ==========================================================================
   KIC Chrome — Sidebar + Header + Quick User
   Themes: body.kic-theme-dark | body.kic-theme-light
   ========================================================================== */

body.kic-modern.aside-enabled {
    --kic-header-height: 65px;
    --kic-aside-active: #0e8f92;
}

/* ---------- DARK THEME ASIDE ---------- */
body.kic-modern.kic-theme-dark {
    --kic-aside-bg: linear-gradient(180deg, rgba(7, 21, 40, 0.78) 0%, rgba(11, 31, 54, 0.72) 42%, rgba(10, 36, 56, 0.68) 100%);
    --kic-aside-border: rgba(255, 255, 255, 0.1);
    --kic-aside-text: rgba(255, 255, 255, 0.82);
    --kic-aside-muted: rgba(255, 255, 255, 0.42);
    --kic-aside-active-soft: rgba(14, 143, 146, 0.18);
    --kic-aside-icon: rgba(255, 255, 255, 0.55);
    --kic-aside-hover: rgba(255, 255, 255, 0.07);
    --kic-aside-submenu: rgba(255, 255, 255, 0.7);
    --kic-aside-glow: rgba(14, 143, 146, 0.18);
    --kic-toggle-bg: rgba(255, 255, 255, 0.06);
    --kic-toggle-border: rgba(255, 255, 255, 0.08);
    --kic-toggle-icon: #fff;
}

/* ---------- LIGHT THEME ASIDE ---------- */
body.kic-modern.kic-theme-light {
    --kic-aside-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(247, 250, 252, 0.84) 100%);
    --kic-aside-border: rgba(15, 23, 42, 0.08);
    --kic-aside-text: #334155;
    --kic-aside-muted: #94A3B8;
    --kic-aside-active-soft: rgba(14, 143, 146, 0.12);
    --kic-aside-icon: #64748B;
    --kic-aside-hover: rgba(14, 143, 146, 0.08);
    --kic-aside-submenu: #475569;
    --kic-aside-glow: rgba(14, 143, 146, 0.1);
    --kic-toggle-bg: #F1F5F9;
    --kic-toggle-border: #E2E8F0;
    --kic-toggle-icon: #334155;
}

/* ----- Sidebar ----- */
body.kic-modern #kt_aside.kic-aside,
body.kic-modern .aside.kic-aside {
    background: var(--kic-aside-bg) !important;
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    border-right: 1px solid var(--kic-aside-border) !important;
    box-shadow: 8px 0 32px rgba(7, 17, 31, 0.12);
}

body.kic-modern #kt_aside .aside-menu-wrapper,
body.kic-modern #kt_aside_menu {
    background: transparent !important;
}

body.kic-modern #kt_brand.kic-brand {
    background: transparent !important;
    border-bottom: 1px solid var(--kic-aside-border) !important;
    min-height: 75px;
    padding: 0.85rem 1rem !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body.kic-modern #kt_brand .kic-brand-logo-img {
    max-width: 138px !important;
    max-height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

body.kic-modern #kt_brand .kic-brand-text {
    font-size: 1.05rem !important;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

body.kic-modern.kic-theme-dark #kt_aside.kic-aside .kic-brand-text,
body.kic-modern.kic-theme-dark #kt_aside.kic-aside .brand-logo .text-dark {
    color: #fff !important;
}

body.kic-modern.kic-theme-light #kt_aside.kic-aside .kic-brand-text,
body.kic-modern.kic-theme-light #kt_aside.kic-aside .brand-logo .text-white,
body.kic-modern.kic-theme-light #kt_aside.kic-aside .brand-logo .text-dark {
    color: #0F172A !important;
}

body.kic-modern #kt_aside_toggle {
    width: 34px;
    height: 34px;
    border-radius: 10px !important;
    background: var(--kic-toggle-bg) !important;
    border: 1px solid var(--kic-toggle-border) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.15s ease;
}

body.kic-modern #kt_aside_toggle:hover {
    background: rgba(14, 143, 146, 0.2) !important;
    transform: translateY(-1px);
}

body.kic-modern #kt_aside_toggle .svg-icon svg g [fill] {
    fill: var(--kic-toggle-icon) !important;
}

body.kic-modern .kic-aside-menu {
    padding: 0.5rem 0.65rem 1.5rem !important;
}

body.kic-modern .kic-aside-menu .menu-nav > .menu-item > .menu-link {
    border-radius: 0.75rem !important;
    margin: 0.12rem 0.15rem !important;
    padding: 0.7rem 0.9rem !important;
    min-height: 44px;
    color: var(--kic-aside-text) !important;
    transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

body.kic-modern .kic-aside-menu .menu-nav > .menu-item > .menu-link .menu-text {
    color: inherit !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    letter-spacing: 0.01em;
}

body.kic-modern .kic-aside-menu .menu-nav > .menu-item > .menu-link i,
body.kic-modern .kic-aside-menu .menu-nav > .menu-item > .menu-link .svg-icon {
    color: var(--kic-aside-icon) !important;
    transition: color 0.15s ease;
}

body.kic-modern .kic-aside-menu .menu-nav > .menu-item:not(.menu-item-parent):not(.menu-item-open):not(.menu-item-here):not(.menu-item-active):hover > .menu-link {
    background: var(--kic-aside-hover) !important;
    color: var(--kic-aside-active) !important;
    transform: translateX(2px);
}

body.kic-modern.kic-theme-dark .kic-aside-menu .menu-nav > .menu-item:not(.menu-item-parent):not(.menu-item-open):not(.menu-item-here):not(.menu-item-active):hover > .menu-link {
    color: #fff !important;
}

body.kic-modern .kic-aside-menu .menu-nav > .menu-item:hover > .menu-link i {
    color: #0e8f92 !important;
}

body.kic-modern.kic-theme-dark .kic-aside-menu .menu-nav > .menu-item:hover > .menu-link i {
    color: #7dd3d5 !important;
}

body.kic-modern .kic-aside-menu .menu-nav > .menu-item.menu-item-active > .menu-link,
body.kic-modern .kic-aside-menu .menu-nav > .menu-item.menu-item-here > .menu-link,
body.kic-modern .kic-aside-menu .menu-nav > .menu-item.menu-item-open > .menu-link {
    background: linear-gradient(135deg, rgba(14, 143, 146, 0.95), rgba(11, 110, 138, 0.95)) !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(14, 143, 146, 0.28);
}

body.kic-modern .kic-aside-menu .menu-nav > .menu-item.menu-item-active > .menu-link i,
body.kic-modern .kic-aside-menu .menu-nav > .menu-item.menu-item-here > .menu-link i,
body.kic-modern .kic-aside-menu .menu-nav > .menu-item.menu-item-open > .menu-link i {
    color: #fff !important;
}

body.kic-modern .kic-aside-menu .menu-nav > .menu-item.menu-item-submenu > .menu-submenu {
    background: transparent !important;
}

body.kic-modern .kic-aside-menu .menu-nav .menu-submenu .menu-item > .menu-link {
    border-radius: 0.65rem !important;
    margin: 0.08rem 0.35rem !important;
    padding: 0.55rem 0.85rem 0.55rem 1.1rem !important;
    color: var(--kic-aside-submenu) !important;
}

body.kic-modern .kic-aside-menu .menu-nav .menu-submenu .menu-item > .menu-link:hover,
body.kic-modern .kic-aside-menu .menu-nav .menu-submenu .menu-item.menu-item-active > .menu-link {
    background: var(--kic-aside-active-soft) !important;
    color: var(--kic-aside-active) !important;
}

body.kic-modern.kic-theme-dark .kic-aside-menu .menu-nav .menu-submenu .menu-item > .menu-link:hover,
body.kic-modern.kic-theme-dark .kic-aside-menu .menu-nav .menu-submenu .menu-item.menu-item-active > .menu-link {
    color: #fff !important;
}

body.kic-modern .kic-aside-menu .menu-section {
    margin: 1.15rem 0.65rem 0.45rem !important;
    padding: 0.35rem 0.5rem !important;
}

body.kic-modern .kic-aside-menu .menu-section .menu-text {
    color: var(--kic-aside-muted) !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
}

body.aside-minimize #kt_aside .kic-brand-logo-img,
body.aside-minimize #kt_aside .kic-brand-text {
    opacity: 0;
}

body.kic-modern #kt_aside.kic-aside::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 160px;
    pointer-events: none;
    background: radial-gradient(ellipse at top left, var(--kic-aside-glow), transparent 70%);
    z-index: 0;
}

body.kic-modern #kt_aside.kic-aside > * {
    position: relative;
    z-index: 1;
}

body.kic-modern #kt_aside.kic-aside .scroll,
body.kic-modern #kt_aside_menu_wrapper {
    scrollbar-width: thin;
    scrollbar-color: rgba(14, 143, 146, 0.45) transparent;
}

/* ----- Top header ----- */
body.kic-modern #kt_header.kic-header {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid #E8ECF3 !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    height: var(--kic-header-height);
}

body.kic-modern #kt_header.kic-header .container-fluid {
    height: 100%;
}

body.kic-modern #kt_header .kic-header-chip {
    border-radius: 999px !important;
    border: 1px solid #E4E8F0 !important;
    background: #F7F9FC !important;
    padding: 0.45rem 0.95rem !important;
    min-height: 38px;
    color: #334155 !important;
    box-shadow: none !important;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

body.kic-modern #kt_header .kic-header-chip .menu-text {
    color: inherit !important;
    font-weight: 700 !important;
    font-size: 0.86rem !important;
}

body.kic-modern #kt_header .kic-header-chip:hover {
    border-color: rgba(14, 143, 146, 0.45) !important;
    background: #fff !important;
    color: #0e8f92 !important;
    box-shadow: 0 8px 18px rgba(14, 143, 146, 0.12);
    transform: translateY(-1px);
}

body.kic-modern #kt_header .kic-header-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    border: 1px solid #E4E8F0 !important;
    background: #F7F9FC !important;
    color: #475569 !important;
    transition: all 0.15s ease;
}

body.kic-modern #kt_header .kic-header-icon:hover {
    border-color: rgba(14, 143, 146, 0.45) !important;
    background: #fff !important;
    color: #0e8f92 !important;
    box-shadow: 0 8px 18px rgba(14, 143, 146, 0.12);
}

body.kic-modern #kt_header .kic-user-chip {
    border-radius: 999px !important;
    border: 1px solid #E4E8F0 !important;
    background: linear-gradient(180deg, #ffffff, #F7F9FC) !important;
    padding: 0.35rem 0.75rem 0.35rem 0.4rem !important;
    min-height: 46px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

body.kic-modern #kt_header .kic-user-chip:hover {
    border-color: rgba(14, 143, 146, 0.4) !important;
    box-shadow: 0 10px 22px rgba(14, 143, 146, 0.14);
    transform: translateY(-1px);
}

body.kic-modern #kt_header .kic-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0e8f92, #0b6e8a);
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 6px 14px rgba(14, 143, 146, 0.35);
}

body.kic-modern #kt_header .kic-user-chip .text-muted {
    color: #94A3B8 !important;
    line-height: 1.1;
}

body.kic-modern #kt_header .kic-user-chip .text-dark-50 {
    color: #0F172A !important;
    line-height: 1.15;
}

/* ----- Mobile header ----- */
body.kic-modern.kic-theme-dark #kt_header_mobile.kic-header-mobile {
    background: linear-gradient(135deg, #071528, #0b2438) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 24px rgba(7, 17, 31, 0.25);
}

body.kic-modern.kic-theme-light #kt_header_mobile.kic-header-mobile {
    background: linear-gradient(135deg, #ffffff, #F7F9FC) !important;
    border-bottom: 1px solid #E8ECF3;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

body.kic-modern.kic-theme-dark #kt_header_mobile .kic-mobile-brand span {
    color: #fff !important;
}

body.kic-modern.kic-theme-light #kt_header_mobile .kic-mobile-brand span {
    color: #0F172A !important;
}

body.kic-modern.kic-theme-dark #kt_header_mobile .burger-icon span,
body.kic-modern.kic-theme-dark #kt_header_mobile .burger-icon span::before,
body.kic-modern.kic-theme-dark #kt_header_mobile .burger-icon span::after {
    background-color: #fff !important;
}

body.kic-modern.kic-theme-light #kt_header_mobile .burger-icon span,
body.kic-modern.kic-theme-light #kt_header_mobile .burger-icon span::before,
body.kic-modern.kic-theme-light #kt_header_mobile .burger-icon span::after {
    background-color: #0F172A !important;
}

body.kic-modern.kic-theme-dark #kt_header_mobile .svg-icon svg g [fill] {
    fill: #fff !important;
}

body.kic-modern.kic-theme-light #kt_header_mobile .svg-icon svg g [fill] {
    fill: #0F172A !important;
}

body.kic-modern.header-fixed.subheader-fixed.subheader-enabled .wrapper {
    padding-top: 100px;
}

@media (max-width: 991.98px) {
    body.kic-modern #kt_aside.kic-aside {
        box-shadow: 12px 0 40px rgba(7, 17, 31, 0.28);
    }
}

/* ==========================================================================
   Quick User Profile Offcanvas
   ========================================================================== */

body.kic-modern #kt_quick_user.kic-quick-user {
    background:
        radial-gradient(ellipse at top right, rgba(14, 143, 146, 0.12), transparent 45%),
        linear-gradient(180deg, #ffffff 0%, #f7fafc 100%) !important;
    border-left: 1px solid #E8ECF3;
    box-shadow: -18px 0 48px rgba(15, 23, 42, 0.14);
    width: 380px;
    max-width: 92vw;
}

body.kic-modern #kt_quick_user .kic-quick-user-header {
    border-bottom: 1px solid #EEF2F7;
    margin-bottom: 0.25rem;
    padding-bottom: 1rem !important;
}

body.kic-modern #kt_quick_user .kic-quick-user-eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0e8f92;
    margin-bottom: 0.2rem;
}

body.kic-modern #kt_quick_user .kic-quick-user-title {
    letter-spacing: -0.02em;
    color: #0F172A;
    font-size: 1.25rem;
}

body.kic-modern #kt_quick_user .kic-quick-user-close {
    width: 34px;
    height: 34px;
    border-radius: 10px !important;
    border: 1px solid #E4E8F0 !important;
    background: #F7F9FC !important;
}

body.kic-modern #kt_quick_user .kic-quick-user-card {
    padding: 1rem;
    border-radius: 1.1rem;
    border: 1px solid #E8ECF3;
    background: linear-gradient(180deg, #ffffff, #F8FAFC);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

body.kic-modern #kt_quick_user .kic-quick-user-avatar {
    position: relative;
    flex-shrink: 0;
}

body.kic-modern #kt_quick_user .kic-quick-user-avatar .symbol-label {
    border-radius: 1rem !important;
    box-shadow: 0 12px 28px rgba(14, 143, 146, 0.22);
    border: 3px solid #fff;
}

body.kic-modern #kt_quick_user .kic-quick-user-initial {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0e8f92, #0b6e8a);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    border: 2px solid #fff;
    box-shadow: 0 6px 14px rgba(14, 143, 146, 0.35);
}

body.kic-modern #kt_quick_user .kic-quick-user-name {
    letter-spacing: -0.02em;
    color: #0F172A !important;
}

body.kic-modern #kt_quick_user .kic-quick-user-email .navi-text {
    font-size: 0.86rem;
}

body.kic-modern #kt_quick_user .kic-quick-user-signout {
    border-radius: 999px !important;
    font-weight: 700 !important;
    margin-top: 0.35rem;
    background: rgba(14, 143, 146, 0.1) !important;
    color: #0e8f92 !important;
    border: 1px solid rgba(14, 143, 146, 0.18) !important;
}

body.kic-modern #kt_quick_user .kic-quick-user-signout:hover {
    background: #0e8f92 !important;
    color: #fff !important;
}

body.kic-modern #kt_quick_user .kic-quick-user-links .navi-item {
    margin-bottom: 0.55rem;
}

body.kic-modern #kt_quick_user .kic-quick-user-links .navi-link {
    display: flex !important;
    align-items: center;
    gap: 0.85rem;
    border-radius: 1rem !important;
    border: 1px solid #E8ECF3;
    background: #fff;
    padding: 0.95rem 1rem !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.03);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

body.kic-modern #kt_quick_user .kic-quick-user-links .navi-link:hover {
    border-color: rgba(14, 143, 146, 0.35);
    background: #fff;
    box-shadow: 0 12px 26px rgba(14, 143, 146, 0.12);
    transform: translateY(-1px);
}

body.kic-modern #kt_quick_user .kic-quick-user-link-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 143, 146, 0.14), rgba(11, 110, 138, 0.1));
    color: #0e8f92;
    flex-shrink: 0;
}

body.kic-modern #kt_quick_user .kic-quick-user-links .navi-text {
    flex: 1;
    min-width: 0;
}

body.kic-modern #kt_quick_user .kic-quick-user-links .font-weight-bold {
    color: #0F172A;
    letter-spacing: -0.01em;
}

body.kic-modern #kt_quick_user .kic-quick-user-links .text-muted {
    font-size: 0.8rem;
    line-height: 1.35;
}

body.kic-modern #kt_quick_user .kic-quick-user-chevron {
    color: #CBD5E1;
    font-size: 0.75rem;
}

body.kic-modern #kt_quick_user .kic-quick-user-links .navi-link:hover .kic-quick-user-chevron {
    color: #0e8f92;
}

/* ==========================================================================
   Menu Builders — listing pages
   ========================================================================== */

body.kic-modern .kic-list-page.kic-menu-builders {
    padding-bottom: 1.5rem;
}

body.kic-modern .kic-list-intro {
    margin-bottom: 1.15rem;
    padding: 1.15rem 1.25rem;
    border-radius: 1.15rem;
    border: 1px solid #E8ECF3;
    background:
        radial-gradient(ellipse at top left, rgba(14, 143, 146, 0.1), transparent 55%),
        linear-gradient(135deg, #ffffff 0%, #F7F9FC 100%);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

body.kic-modern .kic-list-eyebrow {
    display: inline-block;
    margin-bottom: 0.55rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0e8f92;
}

body.kic-modern .kic-list-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 143, 146, 0.16), rgba(11, 110, 138, 0.12));
    color: #0e8f92;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(14, 143, 146, 0.12);
}

body.kic-modern .kic-list-title {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0F172A;
    line-height: 1.2;
}

body.kic-modern .kic-list-subtitle {
    margin-top: 0.2rem;
    color: #64748B;
    font-size: 0.9rem;
    line-height: 1.4;
}

body.kic-modern .kic-list-count {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0.65rem 0.95rem;
    border-radius: 0.95rem;
    border: 1px solid #E4E8F0;
    background: #fff;
    min-width: 92px;
}

body.kic-modern .kic-list-count-value {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0e8f92;
    line-height: 1;
}

body.kic-modern .kic-list-count-label {
    margin-top: 0.2rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94A3B8;
}

body.kic-modern .kic-list-card > .card-header {
    background: linear-gradient(180deg, #ffffff, #FBFCFD) !important;
}

body.kic-modern .kic-list-card > .card-header .card-label {
    letter-spacing: -0.02em;
}

body.kic-modern .kic-list-card .card-toolbar .btn {
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
}

body.kic-modern .kic-list-card .card-toolbar .btn-primary {
    background: linear-gradient(135deg, #0e8f92, #0b6e8a) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 18px rgba(14, 143, 146, 0.25);
}

body.kic-modern .kic-list-card .card-toolbar .btn-outline-dark {
    border-color: #E2E8F0 !important;
    color: #334155 !important;
    background: #fff !important;
}

body.kic-modern .kic-list-card .card-toolbar .btn-outline-dark:hover {
    border-color: rgba(14, 143, 146, 0.4) !important;
    color: #0e8f92 !important;
}

body.kic-modern .kic-list-table thead th {
    background: #F4F7FB !important;
    color: #475569 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
}

body.kic-modern .kic-list-table tbody td {
    vertical-align: middle !important;
    color: #334155;
    padding-top: 0.9rem !important;
    padding-bottom: 0.9rem !important;
}

body.kic-modern .kic-list-table tbody tr {
    transition: background 0.12s ease;
}

body.kic-modern .kic-list-table tbody tr:hover {
    background: rgba(14, 143, 146, 0.04) !important;
}

body.kic-modern .kic-list-index {
    display: inline-flex;
    min-width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #F1F5F9;
    color: #64748B;
    font-weight: 700;
    font-size: 0.8rem;
}

body.kic-modern .kic-list-primary {
    font-weight: 700;
    color: #0F172A;
    letter-spacing: -0.01em;
}

body.kic-modern .kic-list-muted {
    color: #64748B;
}

body.kic-modern .kic-list-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: rgba(14, 143, 146, 0.12);
    color: #0e8f92;
    font-weight: 700;
    font-size: 0.82rem;
}

body.kic-modern .kic-list-pill-soft {
    background: #F1F5F9;
    color: #475569;
}

body.kic-modern .kic-list-desc {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(54, 153, 255, 0.1);
}

body.kic-modern .kic-list-rating .fa-stack {
    color: #CBD5E1;
}

body.kic-modern .kic-list-empty {
    text-align: center;
    padding: 2.5rem 1rem !important;
    color: #94A3B8;
    font-weight: 600;
}

/* Soften DataTables chrome inside Menu Builders lists */
body.kic-modern .kic-list-page .dataTables_wrapper .dataTables_filter input,
body.kic-modern .kic-list-page .dataTables_wrapper .dataTables_length select {
    border-radius: 0.7rem !important;
    border-color: #E2E8F0 !important;
}

body.kic-modern .kic-list-page .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #0e8f92, #0b6e8a) !important;
    border-color: transparent !important;
    color: #fff !important;
    border-radius: 0.55rem !important;
}

/* ==========================================================================
   Configurations (Administrative Links — settings form)
   ========================================================================== */

body.kic-modern .kic-config-page .kic-config-hint {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94A3B8;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
}

body.kic-modern .kic-config-card .kic-config-tabs {
    border-bottom: 1px solid #E8ECF3 !important;
    gap: 0.35rem;
    flex-wrap: wrap;
}

body.kic-modern .kic-config-card .kic-config-tabs .nav-item {
    margin-bottom: 0.35rem;
}

body.kic-modern .kic-config-card .kic-config-tabs .nav-link {
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    padding: 0.55rem 1rem !important;
    color: #64748B !important;
    font-weight: 700 !important;
    font-size: 0.86rem !important;
    background: transparent !important;
    transition: all 0.15s ease;
}

body.kic-modern .kic-config-card .kic-config-tabs .nav-link:hover {
    color: #0e8f92 !important;
    background: rgba(14, 143, 146, 0.08) !important;
}

body.kic-modern .kic-config-card .kic-config-tabs .nav-link.active {
    color: #fff !important;
    background: linear-gradient(135deg, #0e8f92, #0b6e8a) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 18px rgba(14, 143, 146, 0.22);
}

body.kic-modern .kic-config-card .kic-config-tab-content {
    padding-top: 1.5rem !important;
}

body.kic-modern .kic-config-card .form-label {
    font-weight: 700;
    color: #334155;
    font-size: 0.86rem;
}

body.kic-modern .kic-config-card .form-control {
    border-radius: 0.75rem !important;
    border-color: #E2E8F0 !important;
    min-height: 42px;
}

body.kic-modern .kic-config-card .form-control:focus {
    border-color: rgba(14, 143, 146, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(14, 143, 146, 0.12) !important;
}

body.kic-modern .kic-config-card input[type="color"].form-control {
    padding: 0.25rem;
    min-height: 46px;
}

body.kic-modern .kic-config-card .kic-config-sms-btn {
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
    border-color: rgba(14, 143, 146, 0.35) !important;
    color: #0e8f92 !important;
}

body.kic-modern .kic-config-card .kic-config-footer {
    background: linear-gradient(180deg, #FBFCFD, #F7F9FC);
    border-top: 1px solid #E8ECF3 !important;
    padding: 1rem 1.5rem;
}

body.kic-modern .kic-config-card .kic-config-footer .btn-primary {
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
    min-width: 120px;
    background: linear-gradient(135deg, #0e8f92, #0b6e8a) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 18px rgba(14, 143, 146, 0.25);
}

/* ==========================================================================
   Manage / Show / Form pages (Menu Builders + Administrative Links)
   ========================================================================== */

body.kic-modern .kic-form-page .kic-form-card > .card-header,
body.kic-modern .kic-show-page .kic-show-card > .card-header {
    background: linear-gradient(180deg, #ffffff, #FBFCFD) !important;
}

body.kic-modern .kic-form-page .kic-form-card .card-toolbar .btn,
body.kic-modern .kic-show-page .kic-show-card .card-toolbar .btn {
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
}

body.kic-modern .kic-form-page .kic-form-card .card-toolbar .btn-primary,
body.kic-modern .kic-show-page .kic-show-card .card-toolbar .btn-primary {
    background: linear-gradient(135deg, #0e8f92, #0b6e8a) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 18px rgba(14, 143, 146, 0.25);
}

body.kic-modern .kic-form-page .kic-form-card .card-toolbar .btn-outline-dark,
body.kic-modern .kic-show-page .kic-show-card .card-toolbar .btn-outline-dark {
    border-color: #E2E8F0 !important;
    color: #334155 !important;
    background: #fff !important;
}

/* Form fields */
body.kic-modern .kic-form-page .kic-form-fields .form-label,
body.kic-modern .kic-form-page .form-label {
    font-weight: 700;
    color: #334155;
    font-size: 0.86rem;
}

body.kic-modern .kic-form-page .kic-form-fields .form-control,
body.kic-modern .kic-form-page .form-control,
body.kic-modern .kic-form-page .kic-form-fields select.form-control,
body.kic-modern .kic-form-page .kic-form-fields textarea.form-control {
    border-radius: 0.75rem !important;
    border-color: #E2E8F0 !important;
    min-height: 42px;
}

body.kic-modern .kic-form-page .form-control:focus {
    border-color: rgba(14, 143, 146, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(14, 143, 146, 0.12) !important;
}

body.kic-modern .kic-form-page .kic-form-submit,
body.kic-modern .kic-form-page button[type="submit"].btn-primary {
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
    min-width: 120px;
    background: linear-gradient(135deg, #0e8f92, #0b6e8a) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 18px rgba(14, 143, 146, 0.25);
    margin-top: 0.35rem;
}

/* Wizard steps on complex manage pages */
body.kic-modern .kic-form-page .wizard .wizard-step[data-wizard-state="current"] .wizard-label,
body.kic-modern .kic-form-page .wizard .wizard-step[data-wizard-state="done"] .wizard-label {
    color: #0e8f92;
}

body.kic-modern .kic-form-page .wizard-nav {
    border-radius: 0.85rem;
    background: #F8FAFC;
}

/* Show detail fields */
body.kic-modern .kic-show-page .kic-show-card .card-body > .row > [class*="col-"] {
    margin-bottom: 1rem !important;
}

body.kic-modern .kic-show-page .kic-show-card .card-body > .row > [class*="col-"] > strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94A3B8;
    margin-bottom: 0.35rem;
}

body.kic-modern .kic-show-page .kic-show-card .card-body > .row > [class*="col-"] {
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid #EEF2F7;
    background: linear-gradient(180deg, #ffffff, #FBFCFD);
}

body.kic-modern .kic-show-page .kic-show-card .list-group-item {
    border-color: #EEF2F7 !important;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

body.kic-modern .kic-show-page .kic-show-card .list-group-item .font-weight-bold {
    color: #64748B;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

body.kic-modern .kic-show-page .kic-list-table thead th,
body.kic-modern .kic-show-page .table.table-bordered thead th {
    background: #F4F7FB !important;
    color: #475569 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.kic-modern .kic-show-page .table.table-bordered tbody tr:hover {
    background: rgba(14, 143, 146, 0.04) !important;
}

/* Nested cards on multi-card show/manage */
body.kic-modern .kic-form-page .kic-form-card + .kic-form-card,
body.kic-modern .kic-show-page .kic-show-card + .kic-show-card,
body.kic-modern .kic-show-page .row .kic-show-card {
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

/* ==========================================================================
   Reports — Stock Summary (+ shared report chrome)
   ========================================================================== */

body.kic-modern .kic-reports-page .kic-report-card .card-toolbar .btn-outline-dark {
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
    border-color: #E2E8F0 !important;
    color: #334155 !important;
    background: #fff !important;
}

body.kic-modern .kic-reports-page .kic-report-card .card-toolbar .btn-outline-dark:hover {
    border-color: rgba(14, 143, 146, 0.4) !important;
    color: #0e8f92 !important;
}

body.kic-modern .kic-reports-page .stock_reports_table thead th {
    background: #F4F7FB !important;
    color: #475569 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.kic-modern .kic-reports-page .stock_reports_table tbody tr:hover {
    background: rgba(14, 143, 146, 0.04) !important;
}

body.kic-modern .kic-reports-page .dataTables_wrapper .dataTables_filter input {
    border-radius: 0.7rem !important;
    border-color: #E2E8F0 !important;
}

body.kic-modern .kic-reports-page .kic-report-filters {
    border: 1px solid #E8ECF3 !important;
    border-radius: 1rem !important;
    background: linear-gradient(180deg, #F8FAFC, #F1F5F9) !important;
    overflow: hidden;
}

body.kic-modern .kic-reports-page .kic-report-filters > .card-header {
    background: transparent !important;
    border-bottom: 1px solid #E8ECF3 !important;
}

body.kic-modern .kic-reports-page .kic-report-filters .form-control,
body.kic-modern .kic-reports-page .kic-report-filters .select2-container--default .select2-selection--single {
    border-radius: 0.75rem !important;
}

body.kic-modern .kic-reports-page .sales_reports_table thead th,
body.kic-modern .kic-reports-page .pre_order_reports_table thead th {
    background: #F4F7FB !important;
    color: #475569 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.kic-modern .kic-reports-page .sales_reports_table tbody tr:hover,
body.kic-modern .kic-reports-page .pre_order_reports_table tbody tr:hover {
    background: rgba(14, 143, 146, 0.04) !important;
}

body.kic-modern .kic-reports-page .kic-report-card .card-toolbar .btn {
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   Calendar / Menu Builder
   ========================================================================== */

body.kic-modern .kic-calendar-builder .kic-builder-date-chip {
    display: inline-flex;
    align-items: center;
    margin-left: 0.45rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #0e8f92;
    background: rgba(14, 143, 146, 0.1);
    border: 1px solid rgba(14, 143, 146, 0.18);
    vertical-align: middle;
}

body.kic-modern .kic-calendar-builder .kic-builder-compose {
    margin-bottom: 1.35rem;
    padding: 1.15rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid #E8ECF3;
    background:
        radial-gradient(ellipse at top right, rgba(14, 143, 146, 0.08), transparent 50%),
        linear-gradient(180deg, #FBFCFD, #F4F7FB);
}

body.kic-modern .kic-calendar-builder .kic-builder-compose-label {
    margin-bottom: 0.95rem;
}

body.kic-modern .kic-calendar-builder .kic-builder-compose-eyebrow {
    display: inline-block;
    margin-bottom: 0.25rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0e8f92;
}

body.kic-modern .kic-calendar-builder .kic-builder-compose-label p {
    color: #64748B;
    font-size: 0.88rem;
}

body.kic-modern .kic-calendar-builder .kic-builder-compose .form-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #475569;
}

body.kic-modern .kic-calendar-builder .kic-builder-compose .select2-container .select2-selection--single {
    height: 42px !important;
    border-radius: 0.75rem !important;
    border-color: #E2E8F0 !important;
    display: flex;
    align-items: center;
}

body.kic-modern .kic-calendar-builder .kic-builder-compose .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important;
    padding-left: 0.85rem;
    color: #0F172A;
}

body.kic-modern .kic-calendar-builder .kic-builder-compose .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
}

body.kic-modern .kic-calendar-builder .kic-builder-list-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0.25rem 0 0.85rem;
    padding: 0 0.15rem;
}

body.kic-modern .kic-calendar-builder .kic-builder-list-title {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748B;
}

body.kic-modern .kic-calendar-builder .kic-builder-list-meta {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94A3B8;
}

body.kic-modern .kic-calendar-builder .menu_builder_section {
    min-height: 4rem;
}

body.kic-modern .kic-calendar-builder .menu_builder_section:has(.individual_menu_builder_html) .kic-builder-empty-state {
    display: none;
}

body.kic-modern .kic-calendar-builder .kic-builder-item {
    border: 1px solid #E8ECF3 !important;
    border-radius: 1rem !important;
    background: #fff !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    margin-bottom: 0.85rem !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

body.kic-modern .kic-calendar-builder .kic-builder-item:hover {
    border-color: rgba(14, 143, 146, 0.35) !important;
    box-shadow: 0 12px 28px rgba(14, 143, 146, 0.1);
}

body.kic-modern .kic-calendar-builder .kic-builder-item > .card-header {
    background: linear-gradient(180deg, #ffffff, #F8FAFC) !important;
    border-bottom: 1px solid #EEF2F7 !important;
    min-height: 58px;
    padding: 0.85rem 1.1rem !important;
}

body.kic-modern .kic-calendar-builder .kic-builder-item .card-label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: #0F172A;
    letter-spacing: -0.01em;
}

body.kic-modern .kic-calendar-builder .kic-builder-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(14, 143, 146, 0.16), rgba(11, 110, 138, 0.12));
    color: #0e8f92;
    font-size: 0.78rem;
    font-weight: 800;
    flex-shrink: 0;
}

body.kic-modern .kic-calendar-builder .menu_item_name {
    white-space: nowrap;
}

body.kic-modern .kic-calendar-builder .kic-builder-chevron {
    color: #94A3B8;
    font-size: 0.75rem;
    transition: transform 0.18s ease;
}

body.kic-modern .kic-calendar-builder .card-title:not(.collapsed) .kic-builder-chevron {
    transform: rotate(180deg);
}

body.kic-modern .kic-calendar-builder .kic-builder-remove {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.35rem 0.7rem;
    border-radius: 0.65rem;
    background: rgba(239, 68, 68, 0.08);
    text-decoration: none !important;
}

body.kic-modern .kic-calendar-builder .kic-builder-remove:hover {
    background: rgba(239, 68, 68, 0.14);
}

body.kic-modern .kic-calendar-builder .kic-builder-item > .card-body {
    padding: 1.1rem 1.2rem !important;
    background: #fff;
}

body.kic-modern .kic-calendar-builder .kic-builder-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

body.kic-modern .kic-calendar-builder .menu_item_heading {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94A3B8;
}

body.kic-modern .kic-calendar-builder .menu_item_value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0F172A;
}

body.kic-modern .kic-calendar-builder .menu_item_pictures {
    display: flex;
    justify-content: flex-end;
}

body.kic-modern .kic-calendar-builder .menu_item_picture {
    max-width: 160px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: cover;
    border-radius: 0.85rem;
    border: 1px solid #E8ECF3;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

body.kic-modern .kic-calendar-builder .kic-builder-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 2.5rem 1.5rem;
    border-radius: 1rem;
    border: 1px dashed #D8DEE8;
    background: #F8FAFC;
    color: #64748B;
    text-align: center;
}

body.kic-modern .kic-calendar-builder .kic-builder-empty-state i {
    font-size: 1.4rem;
    color: #0e8f92;
    opacity: 0.7;
}

body.kic-modern .kic-calendar-builder .kic-builder-footer {
    background: linear-gradient(180deg, #FBFCFD, #F4F7FB) !important;
    border-top: 1px solid #E8ECF3 !important;
    padding: 1rem 1.35rem !important;
}

body.kic-modern .kic-calendar-builder .kic-builder-footer .btn-primary {
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
    min-width: 140px;
    background: linear-gradient(135deg, #0e8f92, #0b6e8a) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 18px rgba(14, 143, 146, 0.25);
}

body.kic-modern .kic-calendar-builder .kic-calendar-shell {
    padding: 1rem 1.15rem 1.35rem !important;
}

body.kic-modern .kic-calendar-builder #kt_calendar {
    border-radius: 1rem;
    overflow: hidden;
}

body.kic-modern.kic-theme-dark .kic-calendar-builder .kic-builder-compose,
body.kic-modern.kic-theme-dark .kic-calendar-builder .kic-builder-empty-state,
body.kic-modern.kic-theme-dark .kic-calendar-builder .kic-builder-footer {
    background: rgba(15, 23, 42, 0.45) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.kic-modern.kic-theme-dark .kic-calendar-builder .kic-builder-item {
    background: rgba(15, 23, 42, 0.55) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.kic-modern.kic-theme-dark .kic-calendar-builder .kic-builder-item > .card-header {
    background: rgba(15, 23, 42, 0.35) !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

body.kic-modern.kic-theme-dark .kic-calendar-builder .kic-builder-item .card-label,
body.kic-modern.kic-theme-dark .kic-calendar-builder .menu_item_value {
    color: #F8FAFC;
}

body.kic-modern.kic-theme-dark .kic-calendar-builder .kic-builder-compose-label p,
body.kic-modern.kic-theme-dark .kic-calendar-builder .kic-builder-list-title,
body.kic-modern.kic-theme-dark .kic-calendar-builder .menu_item_heading {
    color: #94A3B8;
}

/* ---------- Calendar grid + menu-item pills ---------- */

body.kic-modern .kic-calendar-builder .fc-toolbar.fc-header-toolbar {
    margin-bottom: 1rem !important;
    padding: 0 0.15rem;
}

body.kic-modern .kic-calendar-builder .fc-toolbar h2 {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    color: #0F172A !important;
}

body.kic-modern .kic-calendar-builder .fc-button-primary {
    background: #fff !important;
    border: 1px solid #E2E8F0 !important;
    color: #334155 !important;
    border-radius: 0.65rem !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    text-transform: none !important;
}

body.kic-modern .kic-calendar-builder .fc-button-primary:hover,
body.kic-modern .kic-calendar-builder .fc-button-primary:not(:disabled).fc-button-active,
body.kic-modern .kic-calendar-builder .fc-button-primary:focus {
    background: rgba(14, 143, 146, 0.1) !important;
    border-color: rgba(14, 143, 146, 0.35) !important;
    color: #0e8f92 !important;
}

body.kic-modern .kic-calendar-builder .fc-day-header {
    padding: 0.7rem 0.35rem !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748B !important;
    background: #F8FAFC !important;
    border-color: #E8ECF3 !important;
}

body.kic-modern .kic-calendar-builder .fc-dayGrid-view .fc-day-top .fc-day-number {
    float: right;
    margin: 0.35rem 0.45rem 0.2rem 0;
    padding: 0.15rem 0.4rem;
    min-width: 1.6rem;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748B;
    border-radius: 0.5rem;
}

body.kic-modern .kic-calendar-builder .fc-day-today {
    background: rgba(14, 143, 146, 0.06) !important;
}

body.kic-modern .kic-calendar-builder .fc-day-today .fc-day-number {
    background: linear-gradient(135deg, #0e8f92, #0b6e8a) !important;
    color: #fff !important;
}

body.kic-modern .kic-calendar-builder .fc-dayGridMonth-view .fc-day-grid td,
body.kic-modern .kic-calendar-builder .fc-basic-view .fc-day-grid td {
    border-color: #E8ECF3 !important;
}

body.kic-modern .kic-calendar-builder .fc-day-grid .fc-row {
    min-height: 7.5rem;
}

body.kic-modern .kic-calendar-builder .fc-day-top.fc-other-month {
    opacity: 0.45;
}

/* Menu item event pills */
body.kic-modern .kic-calendar-builder .fc-day-grid-event.kic-cal-pill,
body.kic-modern .kic-calendar-builder a.fc-day-grid-event.kic-cal-pill {
    display: block;
    margin: 0.12rem 0.35rem !important;
    padding: 0 !important;
    border-top: 1px solid #E2E8F0 !important;
    border-right: 1px solid #E2E8F0 !important;
    border-bottom: 1px solid #E2E8F0 !important;
    border-left-width: 3px !important;
    border-left-style: solid !important;
    border-radius: 0.55rem !important;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%) !important;
    color: #0F172A !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
    overflow: hidden;
}

body.kic-modern .kic-calendar-builder .fc-day-grid-event.kic-cal-pill:hover {
    transform: translateY(-1px);
    border-color: rgba(14, 143, 146, 0.35) !important;
    box-shadow: 0 6px 14px rgba(14, 143, 146, 0.12);
    z-index: 2;
}

body.kic-modern .kic-calendar-builder .fc-day-grid-event.kic-cal-pill .fc-content {
    padding: 0.28rem 0.45rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.kic-modern .kic-calendar-builder .fc-day-grid-event.kic-cal-pill .fc-title {
    display: block;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: #1E293B !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.kic-modern .kic-calendar-builder .fc-day-grid-event.kic-cal-pill.kic-cal-pill--default {
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.05);
}

body.kic-modern .kic-calendar-builder .fc-day-grid-event.kic-cal-pill.kic-cal-pill--default .fc-title::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 0.35rem;
    border-radius: 50%;
    background: #0e8f92;
    vertical-align: middle;
}

/* "+N more" link */
body.kic-modern .kic-calendar-builder .fc-more {
    display: inline-block;
    margin: 0.15rem 0.35rem 0.25rem;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    color: #0e8f92 !important;
    background: rgba(14, 143, 146, 0.1);
    text-decoration: none !important;
}

body.kic-modern .kic-calendar-builder .fc-more:hover {
    background: rgba(14, 143, 146, 0.18);
    color: #0b6e8a !important;
}

body.kic-modern .kic-calendar-builder .fc-popover {
    border-radius: 0.85rem !important;
    border: 1px solid #E8ECF3 !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12) !important;
    overflow: hidden;
}

body.kic-modern .kic-calendar-builder .fc-popover .fc-header {
    background: #F8FAFC !important;
    padding: 0.55rem 0.75rem !important;
}

body.kic-modern .kic-calendar-builder .fc-popover .fc-header .fc-title {
    font-weight: 800;
    color: #0F172A;
}

body.kic-modern.kic-theme-dark .kic-calendar-builder .fc-toolbar h2 {
    color: #F8FAFC !important;
}

body.kic-modern.kic-theme-dark .kic-calendar-builder .fc-button-primary {
    background: rgba(15, 23, 42, 0.55) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #E2E8F0 !important;
}

body.kic-modern.kic-theme-dark .kic-calendar-builder .fc-day-header {
    background: rgba(15, 23, 42, 0.45) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #94A3B8 !important;
}

body.kic-modern.kic-theme-dark .kic-calendar-builder .fc-day-grid-event.kic-cal-pill {
    background: rgba(15, 23, 42, 0.72) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #F8FAFC !important;
}

body.kic-modern.kic-theme-dark .kic-calendar-builder .fc-day-grid-event.kic-cal-pill .fc-title {
    color: #F1F5F9 !important;
}

/* ==========================================================================
   POS Create / Edit screen
   ========================================================================== */

body.kic-modern .kic-pos-screen {
    min-height: 100vh;
    padding: 1.25rem 1.25rem 6.5rem;
    background:
        radial-gradient(ellipse at top left, rgba(14, 143, 146, 0.1), transparent 45%),
        radial-gradient(ellipse at bottom right, rgba(11, 110, 138, 0.08), transparent 40%),
        linear-gradient(160deg, #EEF3F8 0%, #F7FAFC 48%, #EEF6F7 100%);
}

body.kic-modern .kic-pos-stage {
    max-width: 1600px;
    margin: 0 auto;
}

body.kic-modern .kic-pos-panel {
    border: 1px solid #E8ECF3 !important;
    border-radius: 1.15rem !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    background: #fff !important;
}

body.kic-modern .kic-pos-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748B;
}

body.kic-modern .kic-pos-lookup {
    margin-bottom: 1rem;
}

body.kic-modern .kic-pos-lookup .display_customer_phone_input {
    height: 46px;
    border-radius: 0.8rem !important;
    border-color: #E2E8F0 !important;
    font-weight: 600;
}

body.kic-modern .kic-pos-lookup .display_customer_phone_input:focus {
    border-color: rgba(14, 143, 146, 0.45) !important;
    box-shadow: 0 0 0 3px rgba(14, 143, 146, 0.12);
}

body.kic-modern .kic-pos-customer {
    margin-bottom: 1rem;
    padding: 0.85rem 0.95rem;
    border-radius: 1rem;
    border: 1px solid #E8ECF3;
    background: linear-gradient(135deg, #F8FBFC, #F4F7FB);
}

body.kic-modern .kic-pos-customer-avatar {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.1);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

body.kic-modern .kic-pos-customer-name {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0F172A !important;
    text-decoration: none !important;
    line-height: 1.25;
}

body.kic-modern .kic-pos-customer-phone {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748B;
}

body.kic-modern .kic-pos-customer-clear {
    width: 34px;
    height: 34px;
    border-radius: 10px !important;
    background: rgba(148, 163, 184, 0.14) !important;
    color: #64748B !important;
}

body.kic-modern .kic-pos-meta {
    margin-bottom: 1rem;
}

body.kic-modern .kic-pos-meta .list-group-item {
    background: transparent;
    border-color: #EEF2F7 !important;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

body.kic-modern .kic-pos-meta-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94A3B8;
}

body.kic-modern .kic-pos-meta-value {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: #F1F5F9;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
}

body.kic-modern .kic-pos-cart-head {
    margin: 0.35rem 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748B;
}

body.kic-modern .kic-pos-cart-table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

body.kic-modern .kic-pos-cart-table thead th {
    border: 0 !important;
    background: #F4F7FB !important;
    color: #64748B !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.7rem 0.65rem !important;
}

body.kic-modern .kic-pos-cart-table thead th:first-child {
    border-radius: 0.7rem 0 0 0.7rem;
}

body.kic-modern .kic-pos-cart-table thead th:last-child {
    border-radius: 0 0.7rem 0.7rem 0;
}

body.kic-modern .kic-pos-cart-table tbody td {
    border-color: #EEF2F7 !important;
    vertical-align: middle;
    padding: 0.75rem 0.65rem !important;
    font-size: 0.86rem;
    color: #334155;
}

body.kic-modern .kic-pos-cart-table tbody tr:hover td {
    background: rgba(14, 143, 146, 0.04);
}

body.kic-modern .kic-pos-cart-table .kic-pos-empty-row td,
body.kic-modern .kic-pos-cart-table tbody tr td[colspan] {
    text-align: center;
    color: #94A3B8;
    font-weight: 600;
    padding: 1.5rem 0.75rem !important;
    background: #F8FAFC;
    border-radius: 0.75rem;
}

body.kic-modern .kic-pos-cart-table .remove_menu_item {
    border-radius: 0.55rem !important;
}

body.kic-modern .kic-pos-menu-header > .card-header {
    background: linear-gradient(180deg, #ffffff, #F8FAFC) !important;
    border-bottom: 1px solid #EEF2F7 !important;
}

body.kic-modern .kic-pos-menu-header .card-label {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0F172A;
}

body.kic-modern .kic-pos-search {
    position: relative;
    min-width: 220px;
}

body.kic-modern .kic-pos-search i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 0.8rem;
    pointer-events: none;
}

body.kic-modern .kic-pos-search .form-control {
    height: 42px;
    padding-left: 2.2rem;
    border-radius: 0.75rem !important;
    border-color: #E2E8F0 !important;
}

body.kic-modern .kic-pos-search .form-control:focus {
    border-color: rgba(14, 143, 146, 0.45) !important;
    box-shadow: 0 0 0 3px rgba(14, 143, 146, 0.12);
}

body.kic-modern .kic-pos-product {
    border: 1px solid #E8ECF3 !important;
    border-radius: 1rem !important;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
    background: #fff !important;
}

body.kic-modern .kic-pos-product-col:hover .kic-pos-product {
    transform: translateY(-2px);
    border-color: rgba(14, 143, 146, 0.35) !important;
    box-shadow: 0 14px 28px rgba(14, 143, 146, 0.12);
}

body.kic-modern .kic-pos-product-stats {
    padding: 0.45rem 0.65rem 0;
}

body.kic-modern .kic-pos-stat {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: #F1F5F9;
    color: #64748B;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

body.kic-modern .kic-pos-product-img {
    object-fit: cover !important;
    width: 100%;
    height: 88px;
    background: #F8FAFC;
}

body.kic-modern .kic-pos-product-placeholder {
    min-height: 110px;
    background: linear-gradient(135deg, #F1F5F9, #E2E8F0);
}

body.kic-modern .kic-pos-product-body {
    padding: 0.7rem 0.85rem 0.35rem !important;
    min-height: 4.4rem;
}

body.kic-modern .kic-pos-product-name {
    display: block;
    font-size: 0.86rem;
    color: #0F172A;
    line-height: 1.3;
}

body.kic-modern .kic-pos-product-type {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0e8f92;
}

body.kic-modern .kic-pos-product-footer {
    padding: 0.55rem 0.85rem 0.85rem !important;
    border-top: 0 !important;
    background: transparent !important;
}

body.kic-modern .kic-pos-product-footer .font-weight-bold {
    display: inline-flex;
    padding: 0.25rem 0.55rem;
    border-radius: 0.55rem;
    background: rgba(14, 143, 146, 0.1);
    color: #0b6e8a;
    font-size: 0.82rem;
}

body.kic-modern .kic-pos-categories {
    padding: 0 0.15rem;
}

body.kic-modern .kic-pos-reset {
    height: 44px;
    border-radius: 0.8rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem !important;
    border: 1px solid #E2E8F0 !important;
    background: #fff !important;
    color: #334155 !important;
}

body.kic-modern .kic-pos-reset:hover {
    border-color: rgba(14, 143, 146, 0.4) !important;
    color: #0e8f92 !important;
}

body.kic-modern .kic-pos-category {
    margin-bottom: 0.65rem;
    padding: 0.7rem 0.55rem;
    border-radius: 1rem;
    border: 1px solid #E8ECF3;
    background: #fff;
    text-decoration: none !important;
    color: #0F172A !important;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.04);
    transition: border-color 0.14s ease, box-shadow 0.14s ease, transform 0.14s ease;
}

body.kic-modern .kic-pos-category:hover,
body.kic-modern .kic-pos-category.border-primary,
body.kic-modern .kic-pos-category.active {
    border-color: rgba(14, 143, 146, 0.45) !important;
    box-shadow: 0 10px 22px rgba(14, 143, 146, 0.12);
    transform: translateY(-1px);
}

body.kic-modern .kic-pos-category img {
    max-width: 72px;
    max-height: 56px;
    object-fit: contain;
    border-radius: 0.55rem;
}

body.kic-modern .kic-pos-category-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

body.kic-modern .kic-pos-actions {
    position: fixed;
    right: 1.5rem;
    bottom: 1.25rem;
    z-index: 95;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: flex-end;
    padding: 0.65rem;
    border-radius: 1rem;
    border: 1px solid #E8ECF3;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

body.kic-modern .kic-pos-action {
    border-radius: 0.75rem !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.75rem 1.05rem !important;
    border: 1px solid #E2E8F0 !important;
    background: #fff !important;
    color: #334155 !important;
}

body.kic-modern .kic-pos-action:hover {
    border-color: rgba(14, 143, 146, 0.4) !important;
    color: #0e8f92 !important;
}

body.kic-modern .kic-pos-action-primary {
    background: linear-gradient(135deg, #0e8f92, #0b6e8a) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(14, 143, 146, 0.28);
}

body.kic-modern .kic-pos-action-primary:hover {
    color: #fff !important;
    filter: brightness(1.04);
}

body.kic-modern .kic-pos-action-muted {
    color: #64748B !important;
}

body.kic-modern .kic-pos-screen .custom_text {
    font-size: 0.78rem !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
}

@media (max-width: 991.98px) {
    body.kic-modern .kic-pos-screen {
        padding-bottom: 7.5rem;
    }

    body.kic-modern .kic-pos-actions {
        left: 1rem;
        right: 1rem;
        justify-content: center;
    }
}

/* ==========================================================================
   POS listing (/pos)
   ========================================================================== */

body.kic-modern .kic-pos-list .kic-pos-date-chip {
    display: inline-flex;
    align-items: center;
    margin-left: 0.45rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0e8f92;
    background: rgba(14, 143, 146, 0.1);
    border: 1px solid rgba(14, 143, 146, 0.18);
    vertical-align: middle;
}

body.kic-modern .kic-pos-list .kic-pos-filters {
    border: 1px solid #E8ECF3 !important;
    border-radius: 1rem !important;
    background: linear-gradient(180deg, #F8FAFC, #F1F5F9) !important;
    overflow: hidden;
    margin-bottom: 1.15rem;
}

body.kic-modern .kic-pos-list .kic-pos-filters > .card-header {
    background: transparent !important;
    border-bottom: 1px solid #E8ECF3 !important;
}

body.kic-modern .kic-pos-list .kic-pos-filters .form-control,
body.kic-modern .kic-pos-list .kic-pos-filters .select2-container .select2-selection--single {
    border-radius: 0.7rem !important;
    border-color: #E2E8F0 !important;
}

body.kic-modern .kic-pos-list .kic-pos-status {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

body.kic-modern .kic-pos-list .kic-pos-status--success {
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
}

body.kic-modern .kic-pos-list .kic-pos-status--warning {
    color: #B45309;
    background: rgba(245, 158, 11, 0.14);
}

body.kic-modern .kic-pos-list .kic-pos-status--danger {
    color: #B91C1C;
    background: rgba(239, 68, 68, 0.12);
}

body.kic-modern .kic-pos-list .kic-pos-status--muted {
    color: #475569;
    background: #F1F5F9;
}

body.kic-modern .kic-pos-list .kic-pos-amount {
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #0F172A;
}

body.kic-modern .kic-pos-list .kic-pos-edited-badge {
    margin-left: 0.35rem;
    font-weight: 700;
}

body.kic-modern .kic-pos-list .kic-pos-actions-btn {
    border-radius: 0.65rem !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   Holiday calendar
   ========================================================================== */

body.kic-modern .kic-holiday-calendar .fc-day-grid-event.kic-holiday-pill,
body.kic-modern .kic-holiday-calendar a.fc-day-grid-event.kic-holiday-pill {
    display: block;
    margin: 0.12rem 0.35rem !important;
    padding: 0 !important;
    border-top: 1px solid rgba(190, 24, 93, 0.12) !important;
    border-right: 1px solid rgba(190, 24, 93, 0.12) !important;
    border-bottom: 1px solid rgba(190, 24, 93, 0.12) !important;
    border-left: 3px solid #BE185D !important;
    border-radius: 0.55rem !important;
    background: linear-gradient(180deg, #FFF1F5 0%, #FCE7F0 100%) !important;
    color: #9F1239 !important;
    box-shadow: 0 2px 6px rgba(190, 24, 93, 0.08);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    overflow: hidden;
}

body.kic-modern .kic-holiday-calendar .fc-day-grid-event.kic-holiday-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(190, 24, 93, 0.14);
    z-index: 2;
}

body.kic-modern .kic-holiday-calendar .fc-day-grid-event.kic-holiday-pill .fc-content {
    padding: 0.28rem 0.45rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.kic-modern .kic-holiday-calendar .fc-day-grid-event.kic-holiday-pill .fc-title {
    display: block;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: #9F1239 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.kic-modern .kic-holiday-calendar .fc-more {
    color: #BE185D !important;
    background: rgba(190, 24, 93, 0.1);
}

body.kic-modern .kic-holiday-calendar .fc-more:hover {
    background: rgba(190, 24, 93, 0.16);
    color: #9F1239 !important;
}

body.kic-modern .kic-holiday-calendar .card-toolbar .btn-primary {
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #0e8f92, #0b6e8a) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 18px rgba(14, 143, 146, 0.25);
}

body.kic-modern .kic-holiday-calendar .card-toolbar .btn-outline-danger {
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
}

body.kic-modern.kic-theme-dark .kic-holiday-calendar .fc-day-grid-event.kic-holiday-pill {
    background: rgba(190, 24, 93, 0.22) !important;
    border-color: rgba(251, 113, 133, 0.35) !important;
}

body.kic-modern.kic-theme-dark .kic-holiday-calendar .fc-day-grid-event.kic-holiday-pill .fc-title {
    color: #FECDD3 !important;
}

/* ==========================================================================
   Set Daily Cook Menu
   ========================================================================== */

body.kic-modern .kic-daily-cook-menu .kic-daily-date-chip {
    display: inline-flex;
    align-items: center;
    margin-left: 0.45rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0e8f92;
    background: rgba(14, 143, 146, 0.1);
    border: 1px solid rgba(14, 143, 146, 0.18);
    vertical-align: middle;
}

body.kic-modern .kic-daily-cook-menu .kic-daily-filters {
    margin-bottom: 1.15rem;
}

body.kic-modern .kic-daily-cook-menu .kic-daily-filters-inner {
    padding: 1rem 1.15rem;
    border: 1px solid #E8ECF3;
    border-radius: 1rem;
    background: linear-gradient(180deg, #F8FAFC, #F1F5F9);
}

body.kic-modern .kic-daily-cook-menu .kic-daily-filters .form-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748B;
}

body.kic-modern .kic-daily-cook-menu .kic-daily-filters .form-control {
    border-radius: 0.7rem !important;
    border-color: #E2E8F0 !important;
    height: 42px;
}

body.kic-modern .kic-daily-cook-menu .kic-daily-filters .btn-primary {
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
    height: 42px;
    min-width: 110px;
    background: linear-gradient(135deg, #0e8f92, #0b6e8a) !important;
    border-color: transparent !important;
}

body.kic-modern .kic-daily-cook-menu .daily_cook_menu_table,
body.kic-modern .kic-daily-cook-menu .daily_cook_menu_table th,
body.kic-modern .kic-daily-cook-menu .daily_cook_menu_table td {
    border-color: #E8ECF3 !important;
}

body.kic-modern .kic-daily-cook-menu .daily_cook_menu_table thead th {
    background: #F4F7FB !important;
    color: #475569 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    vertical-align: middle !important;
}

body.kic-modern .kic-daily-cook-menu .daily_cook_menu_table tbody td {
    vertical-align: middle !important;
    color: #334155;
}

body.kic-modern .kic-daily-cook-menu .daily_cook_menu_table tbody tr:hover {
    background: rgba(14, 143, 146, 0.04) !important;
}

body.kic-modern .kic-daily-cook-menu .datefield {
    font-weight: 700 !important;
    white-space: nowrap;
}

body.kic-modern .kic-daily-cook-menu .kic-daily-food-type {
    display: inline-flex;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0e8f92;
    background: rgba(14, 143, 146, 0.1);
}

body.kic-modern .kic-daily-cook-menu .kic-daily-qty {
    max-width: 110px;
    height: 40px;
    border-radius: 0.65rem !important;
    border-color: #E2E8F0 !important;
    font-weight: 700;
    text-align: center;
}

body.kic-modern .kic-daily-cook-menu .kic-daily-qty-editable:focus {
    border-color: rgba(14, 143, 146, 0.45) !important;
    box-shadow: 0 0 0 3px rgba(14, 143, 146, 0.12);
}

body.kic-modern .kic-daily-cook-menu .kic-daily-qty[readonly] {
    background: #F8FAFC !important;
    color: #64748B;
}

body.kic-modern .kic-daily-cook-menu .kic-daily-unlimited {
    font-weight: 700;
    color: #94A3B8;
}

body.kic-modern .kic-daily-cook-menu .card-toolbar .btn {
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
}

body.kic-modern .kic-daily-cook-menu .card-toolbar .btn-primary {
    background: linear-gradient(135deg, #0e8f92, #0b6e8a) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 18px rgba(14, 143, 146, 0.25);
}

body.kic-modern .kic-daily-cook-menu .dataTables_wrapper .dataTables_filter input {
    border-radius: 0.7rem !important;
    border-color: #E2E8F0 !important;
}

/* ==========================================================================
   Employee Panel
   ========================================================================== */

body.kic-modern .kic-employee-nav-label {
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--kic-aside-muted) !important;
    margin: 0.35rem 1rem 0.65rem !important;
}

body.kic-modern .kic-employee-page {
    padding-bottom: 1.25rem;
}

body.kic-modern .kic-employee-day-card > .card-header {
    align-items: center;
    gap: 0.75rem;
}

body.kic-modern .kic-employee-day-title {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0F172A;
}

body.kic-modern .kic-employee-day-title--holiday,
body.kic-modern .kic-employee-page span.danger.kic-employee-day-title {
    color: #BE185D !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
}

body.kic-modern .kic-employee-holiday-pill {
    display: inline-flex;
    margin-left: 0.35rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #9F1239;
    background: rgba(190, 24, 93, 0.1);
    border: 1px solid rgba(190, 24, 93, 0.16);
    vertical-align: middle;
}

body.kic-modern .kic-employee-date-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

body.kic-modern .kic-employee-date-btn {
    width: 52px !important;
    height: 54px !important;
    margin: 0 !important;
    padding: 0.25rem 0.2rem !important;
    border-radius: 0.85rem !important;
    border: 1px solid #E2E8F0 !important;
    background: #fff !important;
    color: #334155 !important;
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

body.kic-modern .kic-employee-date-dow {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94A3B8;
}

body.kic-modern .kic-employee-date-day {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.95rem;
    font-weight: 800;
}

body.kic-modern .kic-employee-date-btn.active,
body.kic-modern .kic-employee-date-btn.active:hover,
body.kic-modern .kic-employee-date-btn.active:focus {
    background: linear-gradient(135deg, #0e8f92, #0b6e8a) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 8px 16px rgba(14, 143, 146, 0.28);
}

body.kic-modern .kic-employee-date-btn.active .kic-employee-date-dow {
    color: rgba(255, 255, 255, 0.78);
}

body.kic-modern .kic-employee-nav-btn {
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
}

body.kic-modern .kic-employee-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 220px;
    padding: 2rem 1rem;
    border-radius: 1rem;
    border: 1px dashed #D8DEE8;
    background: #F8FAFC;
    color: #64748B;
}

body.kic-modern .kic-employee-empty i {
    font-size: 1.5rem;
    color: #0e8f92;
    opacity: 0.7;
}

body.kic-modern .kic-employee-empty p {
    margin: 0;
    font-weight: 600;
}

body.kic-modern .kic-employee-food-group {
    border: 1px solid #E8ECF3 !important;
    border-radius: 1rem !important;
    background: #fff !important;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

body.kic-modern .kic-employee-food-group > .card-header {
    background: linear-gradient(180deg, #ffffff, #F8FAFC) !important;
    border-bottom: 1px solid #EEF2F7 !important;
}

body.kic-modern .kic-employee-menu-item {
    border: 1px solid #E8ECF3 !important;
    border-radius: 0.95rem !important;
    background: #fff !important;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.04);
    overflow: visible !important;
}

body.kic-modern .kic-employee-menu-item > .card-body {
    padding: 1rem 1.15rem !important;
}

body.kic-modern .kic-employee-menu-layout {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
}

body.kic-modern .kic-employee-menu-media {
    flex: 0 0 110px;
    width: 110px;
    max-width: 110px;
}

body.kic-modern .kic-employee-menu-img {
    display: block;
    width: 110px;
    height: 110px;
    max-width: 110px;
    max-height: 110px;
    object-fit: cover;
    border-radius: 0.75rem;
    border: 1px solid #E8ECF3;
}

body.kic-modern .kic-employee-menu-details {
    flex: 1 1 auto;
    min-width: 0;
}

body.kic-modern .kic-employee-menu-details .menu-info > div {
    margin-bottom: 0.55rem;
}

body.kic-modern .kic-employee-menu-details .form-check {
    margin-bottom: 0.25rem;
}

body.kic-modern .kic-employee-menu-details select.form-control {
    max-width: 320px;
}

@media (max-width: 575.98px) {
    body.kic-modern .kic-employee-menu-layout {
        flex-direction: column;
    }

    body.kic-modern .kic-employee-menu-media,
    body.kic-modern .kic-employee-menu-img {
        width: 100%;
        max-width: 100%;
        height: 160px;
        flex-basis: auto;
    }
}

body.kic-modern .kic-employee-price {
    font-weight: 800 !important;
    color: #0e8f92 !important;
}

body.kic-modern .kic-employee-add-btn {
    border-radius: 0.7rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #0e8f92, #0b6e8a) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 16px rgba(14, 143, 146, 0.22);
}

body.kic-modern .kic-employee-profile-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.35rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid #E8ECF3;
    background: linear-gradient(135deg, #F8FBFC, #F4F7FB);
}

body.kic-modern .kic-employee-profile-avatar {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 1rem;
    border: 2px solid #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

body.kic-modern .kic-employee-profile-avatar--empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0e8f92, #0b6e8a);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
}

body.kic-modern .kic-employee-profile-name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0F172A;
}

body.kic-modern .kic-employee-profile-meta {
    color: #64748B;
    font-weight: 600;
}

body.kic-modern .kic-employee-field {
    height: 100%;
    padding: 0.85rem 0.95rem;
    border-radius: 0.9rem;
    border: 1px solid #E8ECF3;
    background: #fff;
}

body.kic-modern .kic-employee-field-label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94A3B8;
}

body.kic-modern .kic-employee-field-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0F172A;
    word-break: break-word;
}

body.kic-modern .kic-employee-history .kic-emp-status {
    display: inline-flex;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

body.kic-modern .kic-employee-history .kic-emp-status--success {
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
}

body.kic-modern .kic-employee-history .kic-emp-status--warning {
    color: #B45309;
    background: rgba(245, 158, 11, 0.14);
}

body.kic-modern .kic-employee-history .kic-emp-status--danger {
    color: #B91C1C;
    background: rgba(239, 68, 68, 0.12);
}

body.kic-modern .kic-employee-history .kic-emp-status--muted {
    color: #475569;
    background: #F1F5F9;
}

body.kic-modern .kic-employee-history .kic-emp-amount {
    font-weight: 800;
    color: #0F172A;
}

body.kic-modern.kic-theme-dark .kic-employee-day-title {
    color: #F1F5F9 !important;
}

body.kic-modern.kic-theme-dark .kic-employee-date-btn {
    background: rgba(30, 41, 59, 0.92) !important;
    border-color: rgba(148, 163, 184, 0.28) !important;
    color: #E2E8F0 !important;
}

body.kic-modern.kic-theme-dark .kic-employee-date-btn .kic-employee-date-dow {
    color: #94A3B8;
}

body.kic-modern.kic-theme-dark .kic-employee-empty,
body.kic-modern.kic-theme-dark .kic-employee-profile-hero,
body.kic-modern.kic-theme-dark .kic-employee-field,
body.kic-modern.kic-theme-dark .kic-employee-food-group,
body.kic-modern.kic-theme-dark .kic-employee-menu-item {
    background: rgba(30, 41, 59, 0.88) !important;
    border-color: rgba(148, 163, 184, 0.22) !important;
}

body.kic-modern.kic-theme-dark .kic-employee-empty {
    color: #CBD5E1 !important;
}

body.kic-modern.kic-theme-dark .kic-employee-profile-name,
body.kic-modern.kic-theme-dark .kic-employee-field-value {
    color: #F8FAFC !important;
}

body.kic-modern.kic-theme-dark .kic-employee-profile-meta,
body.kic-modern.kic-theme-dark .kic-employee-field-label {
    color: #CBD5E1 !important;
}

body.kic-modern.kic-theme-dark .kic-employee-history .kic-emp-amount,
body.kic-modern.kic-theme-dark .kic-employee-history .kic-list-primary {
    color: #F1F5F9 !important;
}

/* Shared dark-mode readable surfaces for modern list/show chrome */
body.kic-modern.kic-theme-dark {
    --kic-border: rgba(148, 163, 184, 0.22);
    --kic-text: #E2E8F0;
}

body.kic-modern.kic-theme-dark #kt_content,
body.kic-modern.kic-theme-dark .content {
    color: #E2E8F0;
}

body.kic-modern.kic-theme-dark .kic-list-intro {
    background:
        radial-gradient(ellipse at top left, rgba(14, 143, 146, 0.18), transparent 55%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.9) 100%) !important;
    border-color: rgba(148, 163, 184, 0.22) !important;
    box-shadow: 0 10px 28px rgba(2, 6, 23, 0.28);
}

body.kic-modern.kic-theme-dark .kic-list-title,
body.kic-modern.kic-theme-dark .card.card-custom > .card-header .card-label {
    color: #F8FAFC !important;
}

body.kic-modern.kic-theme-dark .kic-list-subtitle,
body.kic-modern.kic-theme-dark .kic-list-count-label {
    color: #94A3B8 !important;
}

body.kic-modern.kic-theme-dark .kic-list-count {
    background: rgba(30, 41, 59, 0.9) !important;
    border-color: rgba(148, 163, 184, 0.22) !important;
}

body.kic-modern.kic-theme-dark .kic-list-count-value {
    color: #5eead4 !important;
}

body.kic-modern.kic-theme-dark .card.card-custom.page-modern-card,
body.kic-modern.kic-theme-dark .card.card-custom > .card-header,
body.kic-modern.kic-theme-dark .card.card-custom > .card-body,
body.kic-modern.kic-theme-dark .kic-list-card > .card-header {
    background: rgba(15, 23, 42, 0.78) !important;
    border-color: rgba(148, 163, 184, 0.22) !important;
    color: #E2E8F0 !important;
}

body.kic-modern.kic-theme-dark .kic-list-table thead th {
    background: rgba(30, 41, 59, 0.95) !important;
    color: #CBD5E1 !important;
}

body.kic-modern.kic-theme-dark .kic-list-table tbody td {
    color: #E2E8F0 !important;
    border-color: rgba(148, 163, 184, 0.16) !important;
}

body.kic-modern.kic-theme-dark .kic-list-primary {
    color: #F1F5F9 !important;
}

body.kic-modern.kic-theme-dark .text-dark,
body.kic-modern.kic-theme-dark .text-dark-75,
body.kic-modern.kic-theme-dark .text-muted {
    color: #CBD5E1 !important;
}

body.kic-modern.kic-theme-dark .kic-employee-menu-item .font-weight-bold,
body.kic-modern.kic-theme-dark .kic-employee-menu-item .menu_item_name,
body.kic-modern.kic-theme-dark .kic-employee-food-group .card-label {
    color: #F1F5F9 !important;
}

body.kic-modern.kic-theme-dark .kic-employee-menu-item .normalfont,
body.kic-modern.kic-theme-dark .kic-employee-menu-item .form-check-label {
    color: #CBD5E1 !important;
}
