
*{
    box-sizing:border-box;
}

html, body{
    margin:0;
    padding:0;
    width:100%;
    overflow-x:hidden;
    font-family:Arial, Helvetica, sans-serif;
    background:#f4f7fb;
    color:#1e293b;
}

body.vendor-menu-open{
    overflow:hidden;
}

.vendor-panel-body{
    margin:0;
    padding:0;
    background:#f4f7fb;
}

.vendor-panel-layout{
    display:flex;
    width:100%;
    min-height:100vh;
}

.vendor-sidebar-shell{
    width:270px;
    min-width:270px;
    flex:0 0 270px;
    background:#fff;
    border-right:1px solid #e8eef6;
    position:relative;
    z-index:20;
}

.vendor-sidebar{
    width:100%;
    min-height:100vh;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
    padding:22px 16px;
}

.vendor-sidebar-brand{
    padding-bottom:18px;
    margin-bottom:20px;
    border-bottom:1px solid #edf2f7;
}

.vendor-sidebar-brand a{
    text-decoration:none;
    display:block;
}

.brand-title{
    display:block;
    font-size:22px;
    font-weight:800;
    color:#0f172a;
    line-height:1.1;
}

.brand-subtitle{
    display:block;
    margin-top:4px;
    font-size:11px;
    color:#64748b;
    letter-spacing:1px;
    text-transform:uppercase;
    font-weight:700;
}

.vendor-sidebar-section-title{
    font-size:11px;
    color:#94a3b8;
    text-transform:uppercase;
    letter-spacing:1.4px;
    margin-bottom:12px;
    padding-left:4px;
    font-weight:700;
}

.vendor-sidebar-nav{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.vendor-nav-link{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:#334155;
    font-size:15px;
    font-weight:700;
    padding:13px 14px;
    border-radius:14px;
    transition:all .25s ease;
    border:1px solid transparent;
}

.vendor-nav-link i{
    width:18px;
    text-align:center;
    font-size:15px;
}

.vendor-nav-link:hover{
    background:#eef6ff;
    color:#0f5bd8;
    border-color:#d8e8ff;
    transform:translateX(2px);
    text-decoration:none;
}

.vendor-nav-link.active{
    background:linear-gradient(135deg,#2563eb,#0ea5e9);
    color:#fff;
    box-shadow:0 10px 24px rgba(37,99,235,.22);
}

.vendor-main-wrapper{
    flex:1;
    min-width:0;
    width:calc(100% - 270px);
    display:flex;
    flex-direction:column;
}

.vendor-topbar{
    background:#ffffff;
    border-bottom:1px solid #e5edf6;
    padding:18px 24px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    position:sticky;
    top:0;
    z-index:15;
}

.vendor-topbar-left h1{
    margin:0;
    font-size:22px;
    line-height:1.1;
    font-weight:800;
    color:#0f172a;
}

.vendor-topbar-left p{
    margin:5px 0 0;
    color:#64748b;
    font-size:13px;
}

.vendor-topbar-right{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:14px;
}

.vendor-topbar-bell{
    position:relative;
    width:42px;
    height:42px;
    border-radius:50%;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#334155;
    text-decoration:none;
    font-size:17px;
}

.vendor-topbar-bell:hover{
    text-decoration:none;
    color:#2563eb;
}

.vendor-bell-badge{
    position:absolute;
    top:-4px;
    right:-2px;
    min-width:18px;
    height:18px;
    line-height:18px;
    padding:0 4px;
    border-radius:999px;
    background:#ef4444;
    color:#fff;
    font-size:10px;
    font-weight:700;
    text-align:center;
}

.vendor-user-box{
    display:flex;
    align-items:center;
    gap:12px;
    background:#fff;
}

.vendor-user-avatar{
    width:42px;
    height:42px;
    border-radius:50%;
    background:linear-gradient(135deg,#2563eb,#0ea5e9);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
    font-size:15px;
}

.vendor-user-meta{
    display:flex;
    flex-direction:column;
    line-height:1.2;
}

.vendor-user-meta strong{
    font-size:14px;
    color:#0f172a;
    font-weight:700;
}

.vendor-user-meta small{
    font-size:12px;
    color:#64748b;
}

.vendor-logout-btn{
    text-decoration:none;
    padding:9px 14px;
    border-radius:10px;
    background:#fff1f2;
    color:#dc2626;
    border:1px solid #fecdd3;
    font-size:13px;
    font-weight:700;
}

.vendor-logout-btn:hover{
    text-decoration:none;
    color:#b91c1c;
}

.vendor-page-area{
    padding:22px;
    width:100%;
    max-width:100%;
}

.vendor-page-area > .row,
.vendor-page-area > .container,
.vendor-page-area > .container-fluid{
    margin-left:0 !important;
    margin-right:0 !important;
    max-width:100% !important;
    padding-left:0 !important;
    padding-right:0 !important;
}

.vendor-mobile-topbar{
    display:none;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px 14px;
    background:#fff;
    border-bottom:1px solid #e5edf6;
    position:sticky;
    top:0;
    z-index:40;
}

.vendor-mobile-toggle{
    width:42px;
    height:42px;
    border:none;
    border-radius:12px;
    background:linear-gradient(135deg,#2563eb,#0ea5e9);
    color:#fff;
    font-size:18px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.vendor-mobile-brand{
    display:flex;
    flex-direction:column;
    line-height:1.1;
    flex:1;
    margin-left:8px;
}

.vendor-mobile-brand span{
    font-size:18px;
    font-weight:800;
    color:#0f172a;
}

.vendor-mobile-brand small{
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#64748b;
    font-weight:700;
}

.vendor-mobile-bell{
    position:relative;
    width:42px;
    height:42px;
    border-radius:12px;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#334155;
    text-decoration:none;
}

.vendor-mobile-bell span{
    position:absolute;
    top:-5px;
    right:-5px;
    min-width:18px;
    height:18px;
    line-height:18px;
    border-radius:999px;
    background:#ef4444;
    color:#fff;
    font-size:10px;
    font-weight:700;
    text-align:center;
    padding:0 4px;
}

.vendor-sidebar-overlay{
    display:none;
}

.vendor-dashboard-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:18px;
    margin-bottom:22px;
}

.vendor-stat-card{
    border-radius:18px;
    padding:22px;
    color:#fff;
    position:relative;
    overflow:hidden;
    min-height:120px;
    box-shadow:0 14px 30px rgba(15,23,42,.08);
}

.vendor-stat-card.blue{
    background:linear-gradient(135deg,#2563eb,#3b82f6);
}

.vendor-stat-card.green{
    background:linear-gradient(135deg,#10b981,#34d399);
}

.vendor-stat-card.orange{
    background:linear-gradient(135deg,#f59e0b,#fb923c);
}

.vendor-stat-card.red{
    background:linear-gradient(135deg,#ef4444,#f87171);
}

.vendor-stat-card .count{
    font-size:34px;
    font-weight:800;
    line-height:1;
    margin-bottom:8px;
}

.vendor-stat-card .label{
    font-size:14px;
    font-weight:700;
    opacity:.96;
}

.vendor-stat-card .icon{
    position:absolute;
    right:18px;
    top:18px;
    font-size:26px;
    opacity:.22;
}

.vendor-dashboard-card{
    background:#fff;
    border:1px solid #e7eef7;
    border-radius:20px;
    box-shadow:0 14px 35px rgba(15,23,42,.05);
    overflow:hidden;
}

.vendor-dashboard-card-head{
    padding:18px 20px;
    border-bottom:1px solid #eef2f7;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.vendor-dashboard-card-head h3{
    margin:0;
    font-size:18px;
    font-weight:800;
    color:#0f172a;
}

.vendor-dashboard-card-body{
    padding:20px;
}

.vendor-dashboard-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.vendor-dashboard-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:11px 15px;
    border-radius:12px;
    text-decoration:none;
    font-weight:700;
    font-size:13px;
    color:#fff;
}

.vendor-dashboard-btn.blue{ background:#2563eb; }
.vendor-dashboard-btn.green{ background:#16a34a; }
.vendor-dashboard-btn.orange{ background:#ea580c; }
.vendor-dashboard-btn.dark{ background:#334155; }

.vendor-dashboard-btn:hover{
    color:#fff;
    text-decoration:none;
    opacity:.94;
}

.vendor-table-wrap{
    overflow:auto;
    border:1px solid #eef2f7;
    border-radius:16px;
}

.vendor-table-wrap table{
    margin-bottom:0;
    min-width:980px;
}

@media (max-width: 1199px){
    .vendor-dashboard-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px){
    .vendor-mobile-topbar{
        display:flex;
    }

    .vendor-topbar{
        display:none;
    }

    .vendor-sidebar-shell{
        position:fixed;
        left:-290px;
        top:0;
        width:270px;
        min-width:270px;
        height:100vh;
        transition:left .28s ease;
        box-shadow:0 18px 50px rgba(2,6,23,.22);
    }

    .vendor-sidebar-shell.open{
        left:0;
    }

    .vendor-sidebar-overlay{
        position:fixed;
        inset:0;
        background:rgba(15,23,42,.48);
        z-index:19;
    }

    .vendor-sidebar-overlay.show{
        display:block;
    }

    .vendor-main-wrapper{
        width:100%;
    }

    .vendor-page-area{
        padding:16px;
    }

    .vendor-dashboard-grid{
        grid-template-columns:1fr;
        gap:14px;
    }

    .vendor-stat-card{
        min-height:105px;
        padding:18px;
    }

    .vendor-stat-card .count{
        font-size:28px;
    }
}

@media (max-width: 767px){
    .brand-title{
        font-size:20px;
    }

    .vendor-page-area{
        padding:12px;
    }

    .vendor-dashboard-card-head{
        padding:14px 16px;
    }

    .vendor-dashboard-card-body{
        padding:16px;
    }

    .vendor-dashboard-actions{
        flex-direction:column;
    }

    .vendor-dashboard-btn{
        width:100%;
        justify-content:center;
    }
}
/* File: public/assets/css/vendor-sidebar.css */
/* ya vendor layout ke style section me */

.vendor-nav-link.ticket-nav-link {
    position: relative;
    justify-content: space-between;
}

.vendor-nav-link.ticket-nav-link span {
    flex: 1;
    margin-left: 10px;
}

.ticket-nav-arrow {
    margin-left: auto;
    font-size: 12px;
    opacity: 0;
    transition: all 0.25s ease;
}

.vendor-nav-link.ticket-nav-link:hover .ticket-nav-arrow,
.vendor-nav-link.ticket-nav-link.active .ticket-nav-arrow {
    opacity: 1;
    transform: translateX(2px);
}

.vendor-nav-link.ticket-nav-link.active {
    background: linear-gradient(135deg, #f7b84b, #f2a93b) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(242, 169, 59, 0.28);
    border-radius: 14px;
}

.vendor-nav-link.ticket-nav-link.active i,
.vendor-nav-link.ticket-nav-link.active span,
.vendor-nav-link.ticket-nav-link.active .ticket-nav-arrow {
    color: #ffffff !important;
}
/* =========================================================
   NIJEE SELLER DASHBOARD - COMPACT NOTIFICATION CENTER
   ========================================================= */

.vendor-notification-center{
    overflow:hidden;
}

.vendor-notification-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.vendor-notification-heading{
    min-width:0;
}

.vendor-notification-title-row{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
}

.vendor-notification-title-row h3{
    margin:0;
}

.vendor-notification-heading p{
    margin:5px 0 0;
    color:#64748b;
    font-size:14px;
    font-weight:600;
}

.vendor-notification-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:5px 10px;
    border-radius:999px;
    background:#e8f1ff;
    color:#175cd3;
    font-size:12px;
    font-weight:800;
}

.vendor-notification-view-all{
    flex-shrink:0;
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:9px 14px;
    border-radius:10px;
    background:#eef4ff;
    color:#175cd3;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
    transition:.2s ease;
}

.vendor-notification-view-all:hover{
    background:#175cd3;
    color:#fff;
    text-decoration:none;
}

.vendor-notification-body{
    padding-top:10px;
    padding-bottom:10px;
}

.vendor-notification-item{
    position:relative;
    display:flex;
    align-items:center;
    gap:12px;
    min-height:62px;
    padding:10px 14px;
    margin-bottom:6px;
    border:1px solid #e6ebf2;
    border-radius:12px;
    background:#fff;
    color:#13233f;
    text-decoration:none;
    transition:.2s ease;
}

.vendor-notification-item:last-child{
    margin-bottom:0;
}

.vendor-notification-item:hover{
    border-color:#bfd3ff;
    background:#f8fbff;
    transform:translateY(-1px);
    text-decoration:none;
    color:#13233f;
}

.vendor-notification-item.is-unread{
    background:#f3f7ff;
    border-color:#d5e3ff;
}

.vendor-notification-icon{
    width:38px;
    height:38px;
    flex:0 0 38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:11px;
    background:#e9f1ff;
    color:#1d5fd1;
    font-size:15px;
}

.vendor-notification-content{
    min-width:0;
    flex:1;
}

.vendor-notification-item-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
}

.vendor-notification-item-top strong{
    min-width:0;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    font-size:14px;
    font-weight:800;
}

.vendor-notification-item-top small{
    flex-shrink:0;
    color:#94a3b8;
    font-size:11px;
    font-weight:700;
}

.vendor-notification-message{
    margin-top:3px;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    color:#64748b;
    font-size:13px;
    font-weight:600;
}

.vendor-notification-new-dot{
    width:8px;
    height:8px;
    flex:0 0 8px;
    border-radius:50%;
    background:#2563eb;
}

.vendor-notification-empty{
    min-height:76px;
    display:flex;
    align-items:center;
    gap:14px;
    padding:12px 14px;
    border:1px dashed #d8e0eb;
    border-radius:14px;
    background:#f8fafc;
}

.vendor-notification-empty-icon{
    width:42px;
    height:42px;
    flex:0 0 42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:#eaf1ff;
    color:#2563eb;
}

.vendor-notification-empty strong{
    display:block;
    color:#13233f;
    font-size:14px;
    font-weight:800;
}

.vendor-notification-empty p{
    margin:3px 0 0;
    color:#64748b;
    font-size:13px;
    font-weight:600;
}

@media (max-width:767px){
    .vendor-notification-head{
        align-items:flex-start;
    }

    .vendor-notification-heading p{
        display:none;
    }

    .vendor-notification-view-all{
        padding:8px 10px;
    }

    .vendor-notification-item{
        padding:10px;
    }

    .vendor-notification-item-top small{
        display:none;
    }
}


/* =========================================================
   NIJEE SELLER PANEL - SIDEBAR INTERNAL SCROLL
   Keeps the existing color combination unchanged
   ========================================================= */

@media (min-width: 992px) {
    .vendor-sidebar-shell {
        height: 100vh;
        overflow: hidden;
    }

    .vendor-sidebar {
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
        scrollbar-width: thin;
        scrollbar-color:
            rgba(255, 255, 255, .34)
            rgba(255, 255, 255, .06);
    }

    .vendor-sidebar::-webkit-scrollbar {
        width: 8px;
    }

    .vendor-sidebar::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, .05);
        border-radius: 999px;
    }

    .vendor-sidebar::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, .30);
        border: 2px solid transparent;
        border-radius: 999px;
        background-clip: padding-box;
    }

    .vendor-sidebar::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, .46);
        border: 2px solid transparent;
        background-clip: padding-box;
    }

    .vendor-sidebar-brand {
        position: sticky;
        top: 0;
        z-index: 20;
        margin-bottom: 18px;
        backdrop-filter: blur(10px);
    }
}

@media (max-width: 991px) {
    .vendor-sidebar-shell {
        overflow: visible;
    }

    .vendor-sidebar {
        max-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
}


/* =========================================================
   NIJEE-DESKTOP-SLIM-FIXED-SIDEBAR-8F7B
   Desktop only. Mobile off-canvas behavior remains untouched.
========================================================= */

@media (min-width: 992px) {

    /*
     * Fixed desktop sidebar shell.
     * 230px gives the product workspace more usable width
     * while keeping all current navigation labels visible.
     */
    .vendor-sidebar-shell {
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        bottom: 0 !important;

        width: 230px !important;
        min-width: 230px !important;
        height: 100vh !important;
        min-height: 100vh !important;

        overflow: hidden !important;
        z-index: 50 !important;
    }

    /*
     * Main workspace compensates for fixed sidebar.
     */
    .vendor-main-wrapper {
        width: calc(100% - 230px) !important;
        max-width: calc(100% - 230px) !important;
        margin-left: 230px !important;
        min-width: 0 !important;
    }

    /*
     * Sidebar content owns the vertical scroll.
     */
    .vendor-sidebar-shell > .vendor-sidebar,
    .vendor-sidebar {
        width: 100% !important;
        height: 100vh !important;
        min-height: 100vh !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;

        padding: 12px 10px !important;

        scrollbar-width: thin;
    }

    /*
     * Compact premium brand area.
     */
    .vendor-sidebar-brand {
        padding: 12px 10px !important;
        margin-bottom: 8px !important;
        border-radius: 16px !important;
    }

    .vendor-sidebar-brand a {
        gap: 9px !important;
    }

    .vendor-brand-logo {
        width: 82px !important;
        height: 42px !important;
        min-width: 82px !important;
        padding: 0 8px !important;
    }

    /*
     * Compact section rhythm.
     */
    .vendor-sidebar-section-title {
        margin: 13px 8px 6px !important;
        font-size: 10px !important;
        letter-spacing: .08em !important;
    }

    .vendor-sidebar-nav {
        gap: 3px !important;
    }

    /*
     * Compact navigation rows.
     */
    .vendor-nav-link {
        min-height: 40px !important;
        padding: 9px 10px !important;
        border-radius: 11px !important;
        font-size: 13px !important;
        gap: 9px !important;
    }

    .vendor-nav-link i {
        width: 18px !important;
        min-width: 18px !important;
        font-size: 14px !important;
    }

    /*
     * Keep desktop topbar attached to the workspace.
     */
    .vendor-topbar {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* END NIJEE-DESKTOP-SLIM-FIXED-SIDEBAR-8F7B */
