/* ═══════════════════════════════════════════════════════════
   EB DASHBOARD SIDEBAR — Full-width collapsible sidebar
   PC: 240px expanded / 72px collapsed
   Mobile: overlay drawer (280px)
   ═══════════════════════════════════════════════════════════ */

:root {
    --sb-w: 240px;          /* Tam genişlik */
    --sb-w-collapsed: 72px; /* Daraltılmış */
    --sb-bg: #0f172a;
    --sb-accent: #FF385C;
    --sb-text: #94a3b8;
    --sb-hover: rgba(255,255,255,0.07);
    /* Geriye dönük uyumluluk */
    --rail-w: var(--sb-w);
    --rail-bg: #0f172a;
    --rail-accent: #FF385C;
    --rail-text: #94a3b8;
    --rail-hover: rgba(255,255,255,0.07);
}

/* ── SİDEBAR CONTAINER ─────────────────────────────────── */
.eb-chatgpt-rail {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: var(--sb-w);
    background: var(--sb-bg);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    z-index: 1000;
    transition: width 0.3s cubic-bezier(0.16,1,0.3,1);
    border-right: 1px solid rgba(255,255,255,0.06);
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
    overflow: hidden;
}

/* ── COLLAPSED STATE ──────────────────────────────────── */
.eb-chatgpt-rail.is-collapsed {
    width: var(--sb-w-collapsed);
}
.eb-chatgpt-rail.is-collapsed .eb-nav-text,
.eb-chatgpt-rail.is-collapsed .eb-plus-text,
.eb-chatgpt-rail.is-collapsed .eb-user-info,
.eb-chatgpt-rail.is-collapsed .eb-sidebar-logo-img {
    opacity: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
}
.eb-chatgpt-rail.is-collapsed .eb-plus-btn {
    justify-content: center;
    padding: 12px;
}
.eb-chatgpt-rail.is-collapsed .eb-sidebar-footer .eb-user-pill {
    justify-content: center;
}
.eb-chatgpt-rail.is-collapsed .eb-logout-btn { margin-left: 0; }

/* ── CANVAS MARGIN (PC) ─────────────────────────────── */
.eb-dashboard-canvas,
.eb-mp-canvas > main,
.eb-mp-canvas > .flex-1,
.eb-dp-main,
.eb-op-main,
.eb-hp-main {
    margin-left: var(--sb-w);
    min-height: 100vh;
    transition: margin-left 0.3s cubic-bezier(0.16,1,0.3,1);
}
body.sidebar-collapsed .eb-dashboard-canvas,
body.sidebar-collapsed .eb-mp-canvas > main,
body.sidebar-collapsed .eb-mp-canvas > .flex-1,
body.sidebar-collapsed .eb-dp-main,
body.sidebar-collapsed .eb-op-main,
body.sidebar-collapsed .eb-hp-main {
    margin-left: var(--sb-w-collapsed);
}

/* Panel canvas wrappers */
.eb-mp-canvas,
.eb-dp-canvas,
.eb-op-canvas,
.eb-hp-canvas {
    display: block;
    min-height: 100vh;
    background: #F8FAFC;
}

/* ── MOBILE HEADER ──────────────────────────────────── */
.eb-mobile-dashboard-header {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 56px;
    background: #0f172a;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 1050;
    gap: 12px;
}
.eb-mobile-dashboard-header #eb-mobile-sidebar-toggle {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}
.eb-mobile-dashboard-header #eb-mobile-sidebar-toggle:hover { color: #fff; }
.eb-mobile-dashboard-header #eb-mobile-sidebar-toggle svg { width: 22px; height: 22px; }
.eb-mobile-dashboard-header .eb-mobile-page-title {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    flex: 1;
}
.eb-mobile-dashboard-header .eb-mobile-user-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* ── OVERLAY ────────────────────────────────────────── */
.eb-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.eb-sidebar-overlay.is-visible { opacity: 1; visibility: visible; }

/* ── MOBILE BREAKPOINT ──────────────────────────────── */
@media (max-width: 1024px) {
    .eb-mobile-dashboard-header { display: flex; }

    .eb-chatgpt-rail {
        transform: translateX(-100%);
        width: 280px !important;
        transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
    }
    .eb-chatgpt-rail.mobile-open {
        transform: translateX(0);
    }
    /* Tüm canvas'lar mobilde margin sıfır, top padding ekle */
    .eb-dashboard-canvas,
    .eb-mp-canvas > main,
    .eb-mp-canvas > .flex-1,
    .eb-dp-main,
    .eb-op-main,
    .eb-hp-main {
        margin-left: 0 !important;
        padding-top: 56px !important;
    }
    /* Collapsed state mobilde önemsiz */
    .eb-chatgpt-rail.is-collapsed {
        width: 280px !important;
    }
    .eb-chatgpt-rail.is-collapsed .eb-nav-text,
    .eb-chatgpt-rail.is-collapsed .eb-plus-text,
    .eb-chatgpt-rail.is-collapsed .eb-user-info,
    .eb-chatgpt-rail.is-collapsed .eb-sidebar-logo-img {
        opacity: 1;
        width: auto;
    }
}

/* ── LEGACY RAIL STYLES (eski sayfalar için) ─────────── */
.eb-rail-logo {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--sb-accent), #c0392b);
    border-radius: 12px; color: #fff;
    box-shadow: 0 8px 16px rgba(255,56,92,0.3);
    transition: transform 0.3s;
}
.eb-rail-logo:hover { transform: scale(1.08); }
.eb-rail-logo i { width: 22px; height: 22px; }
.eb-rail-link {
    position: relative; width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    color: var(--sb-text); border-radius: 12px;
    transition: all 0.2s; text-decoration: none;
}
.eb-rail-link i { width: 20px; height: 20px; }
.eb-rail-link:hover { background: var(--sb-hover); color: #fff; }
.eb-rail-link.is-active { background: rgba(255,56,92,0.15); color: var(--sb-accent); }
.eb-rail-active-indicator {
    position: absolute; left: -12px; width: 4px; height: 20px;
    background: var(--sb-accent); border-radius: 0 4px 4px 0;
    opacity: 0; transform: scaleY(0); transition: all 0.3s;
}
.eb-rail-link.is-active .eb-rail-active-indicator { opacity: 1; transform: scaleY(1); }
.eb-rail-cta {
    width: 44px; height: 44px; display: flex; align-items: center;
    justify-content: center; background: var(--sb-accent); color: #fff;
    border-radius: 50%; transition: all 0.3s;
    box-shadow: 0 8px 16px rgba(255,56,92,0.2);
}
.eb-rail-cta:hover { transform: rotate(90deg) scale(1.1); }
.eb-rail-cta i { width: 20px; height: 20px; }
.eb-rail-logout {
    width: 38px; height: 38px; display: flex; align-items: center;
    justify-content: center; color: #ef4444; transition: all 0.3s; border-radius: 10px;
}
.eb-rail-logout:hover { background: rgba(239,68,68,0.1); }

body.eb-dashboard-page header:not(.eb-mobile-dashboard-header),
body.eb-dashboard-page .eb-breadcrumbs,
body.eb-dashboard-page .eb-mobile-nav { display: none !important; }

/* İçerik kartlarındaki header elementlerini geri göster */
body.eb-dashboard-page .eb-dashboard-canvas header,
body.eb-dashboard-page .eb-dp-main header,
body.eb-dashboard-page .eb-op-main header,
body.eb-dashboard-page .eb-hp-main header,
body.eb-dashboard-page .eb-mp-canvas header { display: flex !important; }

body.eb-dashboard-page { padding-top: 0 !important; background: #f8fafc; }

/* --- Bento Grid Layout System --- */
.eb-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(130px, auto);
    gap: 24px;
    padding-bottom: 40px;
}

/* Bento Card Variants */
.eb-bento-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.eb-bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: rgba(255, 56, 92, 0.2);
}

/* Common Bento Sizes */
.eb-col-3 { grid-column: span 3; }
.eb-col-4 { grid-column: span 4; }
.eb-col-6 { grid-column: span 6; }
.eb-col-8 { grid-column: span 8; }
.eb-col-9 { grid-column: span 9; }
.eb-col-12 { grid-column: span 12; }
.eb-row-2 { grid-row: span 2; }
.eb-row-3 { grid-row: span 3; }

/* Artistic Accents */
.eb-bento-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--rail-accent) 0%, transparent 70%);
    opacity: 0.03;
    pointer-events: none;
    transition: opacity 0.4s;
}
.eb-bento-card:hover::before { opacity: 0.08; }

/* Bento Components */
.eb-bento-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.eb-bento-title {
    font-size: 14px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.eb-bento-title i { width: 16px; height: 16px; color: var(--rail-accent); }

/* Quick Action Bento */
.eb-bento-action-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.eb-bento-action-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    background: #f8fafc;
    border-radius: 20px;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid transparent;
}
.eb-bento-action-btn:hover {
    background: #fff;
    border-color: var(--rail-accent);
    transform: scale(1.02);
}
.eb-bento-action-btn .icon-box {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rail-accent);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.eb-bento-action-btn span { font-size: 13px; font-weight: 750; color: #1e293b; }

/* Stats Mini Bento */
.eb-bento-stat-val { font-size: 36px; font-weight: 950; letter-spacing: -0.04em; color: #0f172a; line-height: 1; }
.eb-bento-stat-sub { font-size: 12px; font-weight: 700; color: #64748b; margin-top: 4px; }

/* Scrollbar Hide */
.eb-no-scrollbar::-webkit-scrollbar { display: none; }
.eb-no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

@media (max-width: 1024px) {
    .eb-bento-grid { 
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
}


/* --- Professional Listing Card --- */
.eb-listing-prof-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.eb-listing-prof-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    border-color: #FF385C;
}

.eb-card-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f1f5f9;
}

.eb-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.eb-listing-prof-card:hover .eb-card-thumb img { transform: scale(1.05); }

.eb-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
}

.eb-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eb-card-title {
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}

.eb-card-loc {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.eb-card-price {
    font-size: 18px;
    font-weight: 950;
    color: #FF385C;
    margin-top: 4px;
}

.eb-card-stats {
    display: flex;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.eb-mini-stat {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f8fafc;
    padding: 4px 8px;
    border-radius: 6px;
}

.eb-card-footer {
    padding: 16px 20px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.eb-card-actions {
    display: flex;
    gap: 5px;
}

.eb-view-link {
    font-size: 11px;
    font-weight: 900;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
    text-decoration: none;
}

.eb-view-link:hover { color: #FF385C; }

/* Status Badges */
.eb-badge {
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.eb-badge--success { background: rgba(16, 185, 129, 0.9); color: #fff; }
.eb-badge--secondary { background: rgba(15, 23, 42, 0.8); color: #fff; }

/* ── RESPONSIVE BENTO GRID ── */
@media (max-width: 1600px) {
    .eb-col-3 { grid-column: span 4; }
}

@media (max-width: 1280px) {
    .eb-col-3 { grid-column: span 6; }
}

@media (max-width: 1024px) {
    .eb-bento-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 16px;
        padding-bottom: 100px; /* Floating nav için alan */
    }
    .eb-col-3, .eb-col-4 { grid-column: span 3; }
    .eb-col-6, .eb-col-8, .eb-col-9, .eb-col-12 { grid-column: span 6; }
    .eb-row-2, .eb-row-3 { grid-row: span 1; }
}

@media (max-width: 640px) {
    .eb-bento-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .eb-col-3, .eb-col-4, .eb-col-6,
    .eb-col-8, .eb-col-9, .eb-col-12 { grid-column: span 1; }
    .eb-bento-card { padding: 18px; border-radius: 20px; }
    .eb-bento-action-list { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .eb-bento-action-btn { padding: 12px; }
}

/* Bento card hover — performans */
@media (prefers-reduced-motion: reduce) {
    .eb-bento-card, .eb-bento-action-btn, .eb-rail-logo,
    .eb-rail-link, .eb-rail-cta, .eb-rail-logout {
        transition: none !important;
    }
    .eb-bento-card:hover, .eb-bento-action-btn:hover { transform: none !important; }
}

/* ── DARK MODE SCROLLBAR (Firefox) ── */
.eb-chatgpt-rail { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent; }
.eb-badge--secondary { background: #94a3b8; color: #fff; }

/* ── DASHBOARD LAYOUT (ilanlarim / taleplerim / etc. pattern) ── */
.eb-dashboard-layout {
    display: flex;
    min-height: 100vh;
}
/* When sidebar is present, canvas gets left margin */
body.has-eb-sidebar .eb-dashboard-layout > .eb-dashboard-canvas,
body.has-eb-sidebar .eb-dashboard-layout > main.eb-dashboard-canvas {
    margin-left: 260px;
    width: calc(100% - 260px);
}
body.has-eb-sidebar.sidebar-collapsed .eb-dashboard-layout > .eb-dashboard-canvas,
body.has-eb-sidebar.sidebar-collapsed .eb-dashboard-layout > main.eb-dashboard-canvas {
    margin-left: 72px;
    width: calc(100% - 72px);
}
.eb-dashboard-canvas {
    flex: 1;
    min-height: 100vh;
    background: #f8fafc;
}
.eb-dashboard-content {
    padding: 32px;
}
.eb-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: flex-start;
}
.eb-dashboard-main {
    min-width: 0;
}
.eb-intelligence-sidebar {
    position: sticky;
    top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
@media (max-width: 1400px) {
    .eb-dashboard-grid {
        grid-template-columns: 1fr 300px;
        gap: 24px;
    }
}
@media (max-width: 1200px) {
    .eb-dashboard-grid {
        grid-template-columns: 1fr;
    }
    .eb-intelligence-sidebar {
        position: static;
    }
}

/* Intelligence Widgets */
.eb-intel-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}
.eb-intel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.eb-intel-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 56, 92, 0.1);
    color: #FF385C;
}
.eb-intel-tag {
    font-size: 10px;
    font-weight: 900;
    color: #FF385C;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.eb-intel-title {
    font-size: 14px;
    font-weight: 850;
    color: #1e293b;
    margin: 2px 0 0;
}
@media (max-width: 1024px) {
    body.has-eb-sidebar .eb-dashboard-layout > .eb-dashboard-canvas,
    body.has-eb-sidebar .eb-dashboard-layout > main.eb-dashboard-canvas {
        margin-left: 0 !important;
        width: 100% !important;
        padding-top: 56px;
    }
    .eb-dashboard-content { padding: 16px; }
}
@media (max-width: 640px) {
    .eb-dashboard-content { padding: 12px; }
}

/* ── PAGE HEADER ── */
.eb-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.eb-page-title {
    font-size: 22px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 4px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.eb-page-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}
.eb-page-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* ── BUTTONS ── */
.eb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    line-height: 1;
    white-space: nowrap;
}
.eb-btn i { width: 16px; height: 16px; flex-shrink: 0; }
.eb-btn--primary { background: #FF385C; color: #fff !important; box-shadow: 0 4px 12px rgba(255, 56, 92, 0.25); }
.eb-btn--primary:hover { background: #FF385C !important; transform: translateY(-1px); }
.eb-btn--secondary { background: #fff; color: #374151 !important; border: 1px solid #e2e8f0; }
.eb-btn--secondary:hover { background: #f8fafc; border-color: #FF385C; color: #FF385C !important; }
.eb-btn--icon { padding: 6px; border-radius: 8px; background: #f1f5f9; color: #64748b !important; }
.eb-btn--icon:hover { background: #e2e8f0; color: #374151 !important; }
.eb-btn--sm { padding: 7px 14px; font-size: 12px; }

/* ── FILTER BAR ── */
.eb-filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.eb-search-input {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
    min-width: 260px;
    transition: border-color 0.2s;
}
.eb-search-input:focus-within { border-color: #FF385C; }
.eb-search-input i { width: 16px; height: 16px; color: #94a3b8; flex-shrink: 0; }
.eb-search-input input { border: none; outline: none; font-size: 13px; color: #374151; flex: 1; background: transparent; }
.eb-search-input input::placeholder { color: #94a3b8; }
@media (max-width: 640px) {
    .eb-search-input { min-width: 100%; }
    .eb-filter-bar { flex-direction: column; align-items: stretch; }
}

/* ── EMPTY STATE ── */
.eb-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #94a3b8;
    gap: 12px;
}
.eb-empty-state i { width: 48px; height: 48px; opacity: 0.4; }
.eb-empty-state h3 { font-size: 16px; font-weight: 700; color: #475569; margin: 0; }
.eb-empty-state p { font-size: 13px; margin: 0; }

/* ── STAT CARDS ── */
.eb-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.eb-stat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.eb-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.eb-stat-icon i { width: 22px; height: 22px; }
.eb-stat-value { font-size: 24px; font-weight: 900; color: #0f172a; line-height: 1.1; }
.eb-stat-label { font-size: 12px; font-weight: 600; color: #64748b; margin-top: 2px; }
@media (max-width: 640px) {
    .eb-stats-grid { grid-template-columns: 1fr; gap: 10px; }
    .eb-stat-card { padding: 14px; }
}

/* ── EB-RAIL-SIDEBAR (New Collapsible Sidebar) ── */
.eb-rail-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 260px;
    background: #0f172a;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), width 0.3s cubic-bezier(0.16,1,0.3,1);
    overflow: hidden;
    border-right: 1px solid rgba(255,255,255,0.05);
    box-shadow: 10px 0 30px rgba(0,0,0,0.1);
}
.eb-rail-sidebar.is-collapsed { width: 72px; }
.eb-rail-sidebar.is-collapsed .eb-nav-text,
.eb-rail-sidebar.is-collapsed .eb-plus-text,
.eb-rail-sidebar.is-collapsed .eb-user-info,
.eb-rail-sidebar.is-collapsed .eb-logout-btn { display: none; }
.eb-rail-sidebar.is-collapsed .eb-plus-btn { padding: 12px; justify-content: center; border-radius: 50%; }
.eb-rail-sidebar.is-collapsed .eb-sidebar-nav li a { justify-content: center; padding: 10px; }
.eb-rail-sidebar.is-collapsed .eb-active-dot { display: none; }
.eb-rail-sidebar.is-collapsed .eb-user-avatar { margin: auto; }
.eb-rail-sidebar { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent; }

/* Canvas margin */
body.has-eb-sidebar .eb-dashboard-canvas { margin-left: 260px !important; }
body.has-eb-sidebar.sidebar-collapsed .eb-dashboard-canvas { margin-left: 72px !important; }

/* Sidebar sections */
.eb-sidebar-action { padding: 16px 12px; }
.eb-plus-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FF385C;
    color: #fff !important;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.2s;
    white-space: nowrap;
}
.eb-plus-btn:hover { background: #FF385C !important; }
.eb-plus-text { white-space: nowrap; }

.eb-sidebar-nav { flex: 1; overflow-y: auto; padding: 4px 8px; overflow-x: hidden; }
.eb-sidebar-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.eb-sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
}
.eb-sidebar-nav li a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.eb-sidebar-nav li.active a { background: rgba(255, 56, 92, 0.15); color: #FF385C; }
.eb-sidebar-nav li a i { flex-shrink: 0; width: 20px; height: 20px; }
.eb-active-dot { width: 6px; height: 6px; background: #FF385C; border-radius: 50%; margin-left: auto; flex-shrink: 0; }

.eb-sidebar-footer {
    padding: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.eb-user-pill { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; overflow: hidden; }
.eb-user-avatar img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.eb-user-info { min-width: 0; overflow: hidden; }
.eb-user-name { color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eb-user-role { color: #64748b; font-size: 11px; font-weight: 600; }
.eb-logout-btn { color: #ef4444; padding: 6px; border-radius: 8px; display: flex; flex-shrink: 0; }
.eb-logout-btn:hover { background: rgba(239,68,68,0.1); }
.eb-sidebar-collapse-toggle {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}
.eb-sidebar-collapse-toggle:hover { background: rgba(255,255,255,0.05); color: #fff; }

/* Mobile */
@media (max-width: 1024px) {
    .eb-rail-sidebar {
        transform: translateX(-100%);
        width: 280px !important;
        z-index: 1100;
    }
    .eb-rail-sidebar.mobile-open {
        transform: translateX(0);
        box-shadow: 20px 0 60px rgba(0,0,0,0.6);
    }
    body.has-eb-sidebar .eb-dashboard-canvas { margin-left: 0 !important; padding-top: 56px !important; }
}
