/* SJ Catering Services — visual branding only. No POS/cart/order behavior. */
:root { --kcc-red: #bd1026; --kcc-wine: #74122c; --kcc-gold: #f2bc35; --kcc-bg: #fff8f6; }

/* Restaurant header and sidebar, preserving functional menu links */
.main-header a.logo.gl-system-logo {
    background:linear-gradient(120deg,#8b0f2b,#c51531)!important;
    padding:0 10px!important;
    text-align:left!important;
}
.main-header a.logo.gl-system-logo .logo-lg {
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    height:100%;
    gap:9px;
}
.main-header a.logo.gl-system-logo .logo-lg img {
    width:42px!important;
    height:42px!important;
    max-height:42px!important;
    max-width:42px!important;
    padding:2px;
    object-fit:contain;
    background:#fff;
    border-radius:50%;
    filter:none!important;
}
.kcc-brand-name {color:#fff;font-family:Arial,sans-serif;font-size:11px;font-weight:900;line-height:1.16;letter-spacing:.2px;}
.kcc-brand-name small {display:block;color:#ffe3a7;font-size:9px;letter-spacing:.7px;margin-top:3px;font-weight:800;}
.main-sidebar {background:#282027!important;}
.sidebar-menu>li>a {color:#f0e8ed;}
.sidebar-menu>li.active>a,.sidebar-menu>li:hover>a {border-left-color:var(--kcc-gold)!important;}
.content-wrapper {background:#faf8f7;}
.main-header .navbar {border-bottom:2px solid rgba(190,16,38,.12);}
.main-header .sidebar-toggle:hover {background:#fff5ef;color:var(--kcc-red);}

/* Scope button/metric accents to dashboard; leave POS controls and payment UI alone. */
.gl-dashboard-period-tools {border-color:#f0ced4!important;}
.gl-dashboard-viewing strong {color:var(--kcc-red)!important;}
.content-header .header-icon {color:var(--kcc-red);}

/* Existing restaurant login layout, rebranded in place. The login FORM is unchanged. */
.gl-login-brand {background:linear-gradient(145deg,#231a1d 0%,#4a1020 70%,#810e28 100%)!important;}
.gl-logo-stage {background:#fff!important;border-color:rgba(191,20,45,.22)!important;}
.gl-logo-stage img {width:min(350px,75vw)!important;max-height:240px!important;filter:drop-shadow(0 4px 8px rgba(80,23,26,.09))!important;}
.gl-mobile-logo {background:#fff!important;border-color:#f1d8da!important;}
.gl-mobile-logo img {max-height:104px!important;}
.gl-eyebrow,.gl-login-kicker {color:var(--kcc-red)!important;}
.gl-login-brand .gl-eyebrow {color:#ffd26d!important;}
.gl-eyebrow:before {background:#ffd26d!important;}
.gl-login-pane {background:linear-gradient(180deg,#fffdfa 0%,#fff1ef 100%)!important;}
.gl-login-card .form-control:focus {border-color:var(--kcc-red)!important;box-shadow:0 0 0 4px rgba(189,16,38,.11)!important;}
.gl-login-btn {background:linear-gradient(120deg,#a50d25,#dc1d30)!important;color:#fff!important;box-shadow:0 12px 28px rgba(165,13,37,.18)!important;}
.gl-login-btn:hover {color:#fff!important;box-shadow:0 12px 30px rgba(165,13,37,.28)!important;}
.gl-login-footer a {color:var(--kcc-red)!important;}
.gl-feature i {color:#f1c35d!important;}
@media(max-width:767px){.kcc-brand-name{font-size:10px}.main-header a.logo.gl-system-logo .logo-lg{justify-content:center!important}.kcc-brand-name{display:none}}

/* SJ palette and wide logo: preserve existing menu, PIN and POS hooks. */
:root { --kcc-red:#a01424; --kcc-wine:#6b1020; --kcc-gold:#f39b15; --kcc-bg:#fff8f0; }
.main-header a.logo.gl-system-logo {background:linear-gradient(120deg,#681422,#9e2430)!important;}
.main-header a.logo.gl-system-logo .logo-lg {gap:6px;}
.main-header a.logo.gl-system-logo .logo-lg img {width:83px!important;max-width:83px!important;height:43px!important;max-height:43px!important;border-radius:6px;background:#fff;}
.kcc-brand-name {font-size:12px;letter-spacing:.15px;}
.kcc-brand-name small {font-size:9px;letter-spacing:.3px;color:#ffbd4a;}
.gl-login-brand {background:linear-gradient(145deg,#2e1519 0%,#5e1421 70%,#861724 100%)!important;}
.gl-logo-stage {background:#fffefa!important;}

/* SJ Catering Services: consistent menu/button accents, keeping success/error badges semantic. */
.sidebar-menu>li.active>a,.sidebar-menu>li:hover>a,.sidebar-menu>li.treeview.active>a{border-left:3px solid #f39b15!important;background:#4f2530!important;}
.sidebar-menu .treeview-menu>li.active>a,.sidebar-menu .treeview-menu>li>a:hover{color:#ffbd4a!important;}
.content-wrapper .btn-success:not(.disabled),.content-wrapper .btn-primary:not(.disabled),.content-wrapper .gl-btn-gold,.content-wrapper .btn-green{background:#861b2c!important;border-color:#861b2c!important;color:#fff!important;}
.content-wrapper .btn-success:not(.disabled):hover,.content-wrapper .btn-primary:not(.disabled):hover{background:#681422!important;border-color:#681422!important;}
.main-footer a,.content-wrapper .text-primary{color:#8b1a2b!important;}
#toTop,.scrollup,.back-to-top{background:#861b2c!important;}
.content-wrapper .form-control:focus{border-color:#a01424!important;}

.gl-dashboard .gl-stat:before{background:#f39b15!important}
.gl-dashboard .gl-stat.gl-dark:before{background:#6b1020!important}
.gl-dashboard .gl-stat.gl-green:before{background:#a83b35!important}
.gl-dashboard .gl-panel-title i,.gl-dashboard .gl-stat:not(.gl-dark):not(.gl-blue):not(.gl-purple):not(.gl-rose) .gl-stat-icon{background:#fff0dc!important;color:#8b1a2b!important}
.gl-dashboard .gl-stat.gl-dark .gl-stat-icon{background:#f6e9eb!important;color:#6b1020!important}
.gl-dashboard .gl-list-invoice{background:#fff0dc!important;color:#861b2c!important}
