:root {
    /* OLI Design System tokens */
    --oli-sidebar:         #22284a;
    --oli-sidebar-2:       #2b3157;
    --oli-sidebar-active:  #3a4173;
    --oli-main-bg:         #e9eaf3;
    --oli-card-bg:         #ffffff;
    --oli-green-1:         #8ac149;
    --oli-green-2:         #cbe7b0;
    --oli-green-3:         #e6f4d7;
    --oli-yellow:          #f5d982;
    --oli-orange:          #f97316;
    --oli-blue:            #1e6bd6;
    --oli-red:             #e63946;
    --oli-uploaded:        #38a955;
    --oli-purple-heading:  #4a4fc9;
    /* Shell aliases */
    --app-shell-bg:        var(--oli-main-bg);
    --app-shell-surface:   var(--oli-card-bg);
    --app-shell-border:    rgba(34, 40, 74, 0.10);
    --app-shell-primary:   var(--oli-sidebar);
    --app-shell-primary-2: var(--oli-sidebar-active);
    --app-shell-text:      #22284a;
    --app-shell-muted:     #8b91b8;
    --app-color-callback:  #f5a623;
    --app-color-complaint: #e63946;
    --app-color-feedback:  #2ecc71;
    --app-color-suggestion:#1abc9c;
}

.sidebar-toggle-btn {
    display: none;
    width: 36px;
    height: 36px;
    padding: 8px;
    border: 0;
    border-radius: 8px;
    background: rgba(34, 40, 74, 0.08);
    box-shadow: inset 0 0 0 1px rgba(34, 40, 74, 0.10);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.sidebar-toggle-btn span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #22284a;
}

.sidebar-backdrop {
    display: none;
}

.feedback-sticky-dock {
    position: fixed;
    right: 18px;
    bottom: 20px;
    top: auto;
    transform: none;
    z-index: 1095;
    width: auto;
    height: auto;
}

.magic-menu-trigger {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    border: 0;
    outline: 0;
    cursor: pointer;
    color: #fff;
    font-size: 20px;
    background: var(--app-color-callback);
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s ease, box-shadow .25s ease;
    animation: oli-pulse 2.4s infinite;
}

@keyframes oli-pulse {
    0%,100% { box-shadow: 0 8px 24px rgba(245, 166, 35, 0.45); }
    50%      { box-shadow: 0 8px 32px rgba(245, 166, 35, 0.75); }
}

.magic-menu-trigger i {
    transition: transform .25s ease;
}

.magic-menu-actions {
    position: absolute;
    right: 0;
    bottom: 64px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(.96);
    transform-origin: bottom right;
    transition: opacity .25s ease, transform .25s ease;
}

.feedback-sticky-dock:hover .magic-menu-actions,
.feedback-sticky-dock:focus-within .magic-menu-actions,
.feedback-sticky-dock.is-open .magic-menu-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.feedback-sticky-dock:hover .magic-menu-trigger,
.feedback-sticky-dock:focus-within .magic-menu-trigger,
.feedback-sticky-dock.is-open .magic-menu-trigger {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(245, 166, 35, 0.55);
    animation: none;
}
.dock-callback{
    background-color: #f5a623 !important;
}

.feedback-sticky-dock:hover .magic-menu-trigger i,
.feedback-sticky-dock:focus-within .magic-menu-trigger i,
.feedback-sticky-dock.is-open .magic-menu-trigger i {
    transform: rotate(45deg);
}

.feedback-sticky-dock a {
    min-width: 148px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 14px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Inter', 'Poppins', 'Segoe UI', sans-serif;
    text-decoration: none;
    border: none;
    box-shadow: 0 6px 18px rgba(20, 26, 52, 0.18);
    transition: transform .2s ease, box-shadow .2s ease;
}

.feedback-sticky-dock a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(20, 26, 52, 0.26);
}

.feedback-sticky-dock .dock-callback  { background: #f5a623; box-shadow: 0 6px 18px rgba(245,166,35,0.35); }
.feedback-sticky-dock .dock-complaint { background: var(--app-color-complaint); }
.feedback-sticky-dock .dock-feedback  { background: var(--app-color-feedback); }
.feedback-sticky-dock .dock-suggestion{ background: var(--app-color-suggestion); }

/* ── OLI Status Pills ── */
.oli-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}
.oli-status-pending  { background: var(--oli-red); }
.oli-status-progress { background: #f59e0b; }
.oli-status-done     { background: var(--oli-uploaded); }

/* ── OLI Panel / Page wrapper ── */
.oli-panel {
    background: #eef0fa;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 1px 2px rgba(20, 25, 60, 0.06);
}

/* ── OLI Action buttons (top bar) ── */
.oli-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-family: 'Inter', 'Poppins', 'Segoe UI', sans-serif;
    transition: transform 120ms, box-shadow 120ms;
    text-decoration: none;
}
.oli-action-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.12); color: #fff; }
.oli-btn-callback   { background: #f5a623; }
.oli-btn-complaint  { background: #e63946; }
.oli-btn-feedback   { background: #2ecc71; }
.oli-btn-suggestion { background: #1abc9c; }

/* ── OLI Tiles (One-Click Access cards) ── */
.oli-tile {
    border-radius: 14px;
    padding: 20px 16px 22px;
    text-align: center;
    min-height: 168px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 150ms, box-shadow 150ms;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.04);
    text-decoration: none;
}
.oli-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(30,40,90,0.10); }
.oli-tile-green       { background: var(--oli-green-1); color: #2c3e14; }
.oli-tile-green-soft  { background: var(--oli-green-3); color: #3f5822; }
.oli-tile-yellow      { background: var(--oli-yellow);  color: #6b4c0d; }
.oli-tile-orange      { background: var(--oli-orange);  color: #4a2400; }

.oli-tile-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    font-size: 22px;
}
.oli-tile-label { font-size: 14px; font-weight: 600; line-height: 1.25; }
.oli-tile-sub   { font-size: 12px; font-weight: 500; margin-top: 4px; }

/* ── OLI Stage tracker ── */
.oli-stage-track {
    display: flex;
    align-items: center;
    overflow-x: auto;
    padding: 8px 0 4px;
}
.oli-stage-dot {
    width: 30px; height: 30px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 12px; font-weight: 700;
    background: #d5d9ee; color: #6b7195;
    flex-shrink: 0;
}
.oli-stage-dot.done    { background: var(--oli-uploaded); color: #fff; }
.oli-stage-dot.current { background: var(--oli-blue); color: #fff; box-shadow: 0 0 0 4px rgba(30,107,214,0.18); }
.oli-stage-line      { flex: 1; height: 3px; background: #d5d9ee; min-width: 24px; }
.oli-stage-line.done { background: var(--oli-uploaded); }
.oli-stage-label         { font-size: 11px; text-align: center; width: 110px; margin-top: 6px; color: #4b5170; }
.oli-stage-label.current { color: var(--oli-blue); font-weight: 600; }

/* ── OLI instruction popover ── */
.oli-instr-btn {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #eef0fa;
    color: var(--oli-blue);
    border: 1px solid var(--oli-blue);
    display: inline-grid; place-items: center;
    cursor: pointer;
    font-size: 13px; font-weight: 700;
}
.oli-instr-btn:hover { background: var(--oli-blue); color: #fff; }

.navbar-fixed-top {
    top: 0;
}

#wrapper {
    padding-top: 0;
}

/* ── Content header (replaces fixed topbar — matches Design B) ── */
.content-header {
    --oli-topbar-height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 24px;
    background: #ffffff;
    border-bottom: 1px solid rgba(34, 40, 74, 0.08);
    flex-wrap: wrap;
    gap: 8px;
    position: fixed; /* fix to viewport to avoid layout gaps */
    top: 0;
    left: 215px; /* account for desktop sidebar width */
    right: 0;
    height: var(--oli-topbar-height);
    z-index: 1000;
    font-family: 'Inter', 'Poppins', 'Segoe UI', sans-serif;
}

.content-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.content-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-profile-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #22284a;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(34, 40, 74, 0.05);
    white-space: nowrap;
    font-family: 'Inter', 'Poppins', 'Segoe UI', sans-serif;
}

.user-profile-chip i {
    font-size: 18px;
    color: #22284a;
}

/* ── content-header action buttons (used on every panel page) ── */
.top-chip {
    border: 0;
    border-radius: 6px;
    color: #fff;
    font-weight: 500;
    font-size: 13px;
    padding: 9px 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', 'Poppins', 'Segoe UI', sans-serif;
    transition: transform 120ms, box-shadow 120ms;
    cursor: pointer;
    white-space: nowrap;
}
.top-chip:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.14); color: #fff; text-decoration: none; }
.chip-yellow { background: #f5a623; box-shadow: 0 4px 12px rgba(245,166,35,0.30); }
.chip-red    { background: #e63946; box-shadow: 0 4px 12px rgba(230,57,70,0.28); }
.chip-green  { background: #2ecc71; box-shadow: 0 4px 12px rgba(46,204,113,0.28); }
.chip-teal   { background: #1abc9c; box-shadow: 0 4px 12px rgba(26,188,156,0.28); }

/* ── modern-page-main: flex child that fills remaining width on all pages ── */
.modern-page-main,
.modern-dashboard-main {
    flex: 1 !important;
    min-width: 0 !important;
    background: #e9eaf3;
    display: block !important;
    overflow-x: hidden;
    /* push content below the fixed header */
    padding-top: calc(var(--oli-topbar-height, 64px) + 8px);
}

/* Responsive: when sidebar collapses on small screens, reset header left offset */
@media (max-width: 991px) {
    .content-header {
        left: 0;
        right: 0;
    }
    .modern-page-main,
    .modern-dashboard-main {
        padding-top: calc(var(--oli-topbar-height, 64px) + 8px);
    }
}

.trustpilot-widget {
    background: #ffffffc7;
    display: inline-block;
    padding: 6px 10px;
    border-radius: 0;
}

#topheader .trustpilot-widget {
    position: absolute !important;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    height: 42px;
}

.foot_trust_con .trustpilot-widget {
    position: relative !important;
}

.new_mobile_number_hide {
    display: none;
}

.pms_system {
    position: absolute !important;
    left: 54%;
    transform: translateX(-50%);
    top: 0;
    height: 42px;
    background: #ffffffc7;
    display: inline-block;
    padding: 10px 10px;
    border-radius: 0;
    color: #22284a;
    font-weight: 700;
}

/* ── Override startmin.css: removes margin-top:97px, float:left, width:280px on ≥992px ── */
@media (min-width: 992px) {
    .navbar-default.sidebar {
        float: none !important;
        margin-top: 0 !important;
        height: auto !important;
        overflow-y: visible !important;
        top: 0 !important;
    }
}

@media (max-width: 991px) {
    .feedback-sticky-dock {
        right: 10px;
        bottom: 12px;
    }

    .magic-menu-trigger {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .magic-menu-actions {
        bottom: 60px;
    }

    .feedback-sticky-dock a {
        min-width: 130px;
        font-size: 12px;
        padding: 9px 12px;
    }

    .global-topbar {
        height: var(--app-topbar-height);
        padding: 0 10px;
        font-size: 11px;
    }

    .navbar-fixed-top {
        top: var(--app-topbar-height);
    }

    #wrapper {
        display: block !important;
        padding-top: 0 !important;
    }

    #page-wrapper {
        margin-left: 0 !important;
        width: 100% !important;
    }

    /* Show hamburger toggle at this breakpoint */
    .sidebar-toggle-btn {
        display: inline-flex;
        flex-shrink: 0;
        margin-right: 2px;
    }

    /* Semi-transparent backdrop */
    .sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(16, 24, 40, 0.48);
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s ease;
        z-index: 1990;
    }
    body.sidebar-open .sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    /* Sidebar off-canvas — full height, no topbar offset */
    .navbar-default.sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 215px !important;
        max-width: 86vw !important;
        height: 100vh !important;
        transform: translateX(-100%);
        transition: transform .25s ease !important;
        z-index: 2000 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        float: none !important;
        margin-top: 0 !important;
    }

    body.sidebar-open .navbar-default.sidebar,
    body.sidebar-open .sidebar {
        transform: translateX(0) !important;
    }

    body.sidebar-open {
        overflow: hidden;
    }
}

@media (max-width: 767px) {
    #topheader .trustpilot-widget {
        left: 0;
        transform: inherit;
        top: 40px;
        height: 42px;
        width: 100%;
    }

    section#topheader {
        float: none;
        height: unset;
    }

    .pms_system {
        left: 0;
        transform: inherit;
        top: 40px;
        height: 42px;
        width: 100%;
        padding: 1px 10px;
        font-size: 13px;
        text-align: center;
    }

    .feedback-sticky-dock:hover .magic-menu-actions,
    .feedback-sticky-dock:focus-within .magic-menu-actions {
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px) scale(.96);
    }

    .feedback-sticky-dock:hover .magic-menu-trigger,
    .feedback-sticky-dock:focus-within .magic-menu-trigger {
        transform: none;
        box-shadow: 0 8px 24px rgba(245, 166, 35, 0.45);
    }

    .feedback-sticky-dock:hover .magic-menu-trigger i,
    .feedback-sticky-dock:focus-within .magic-menu-trigger i {
        transform: none;
    }

    .feedback-sticky-dock.is-open .magic-menu-actions {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .feedback-sticky-dock.is-open .magic-menu-trigger {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(245, 166, 35, 0.55);
        animation: none;
    }

    .feedback-sticky-dock.is-open .magic-menu-trigger i {
        transform: rotate(45deg);
    }

    .global-topbar {
        position: fixed;
        align-items: center;
        padding-right: 54px;
    }
    
}

   @media (max-width: 767px) {
     
      .chip-yellow, .chip-green, .chip-red, .chip-teal {
         display:none;
      }
   }
