/* ══════════════════════════════════════════════════════════════════════════
       SIDEBAR WORKSPACE SELECTOR TRUNCATION & ELLIPSIS (ANTI-OVERLAP)
    ══════════════════════════════════════════════════════════════════════════ */
    .ws-sidebar-header {
      position: relative !important;
      padding: 18px 12px 14px !important;
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
      overflow: visible !important;
    }

    .ws-selector-box {
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
      background: rgba(255, 255, 255, 0.04) !important;
      border: 1px solid rgba(255, 255, 255, 0.1) !important;
      border-radius: 12px !important;
      padding: 8px 12px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: 8px !important;
      cursor: pointer !important;
      overflow: hidden !important;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .ws-selector-info {
      flex: 1 1 0% !important;
      min-width: 0 !important;
      max-width: calc(100% - 22px) !important;
      display: flex !important;
      flex-direction: column !important;
      gap: 2px !important;
      overflow: hidden !important;
    }

    .ws-title {
      display: block !important;
      font-size: 0.82rem !important;
      font-weight: 700 !important;
      color: #f8fafc !important;
      white-space: nowrap !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      width: 100% !important;
      max-width: 100% !important;
      line-height: 1.25 !important;
    }

    .ws-plan-badge {
      display: block !important;
      font-size: 0.68rem !important;
      color: #60a5fa !important;
      font-weight: 500 !important;
      white-space: nowrap !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      width: 100% !important;
      max-width: 100% !important;
      line-height: 1.2 !important;
    }

    .ws-selector-chevron {
      flex-shrink: 0 !important;
      width: 16px !important;
      height: 16px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      color: #94a3b8 !important;
    }

    /* ══════════════════════════════════════════════════════════════════════════
       AI CHAT ROOM VIEWPORT LOCK & ZERO-OVERFLOW SCROLL ARCHITECTURE
    ══════════════════════════════════════════════════════════════════════════ */
    #agentWorkspaceView.active.in-chat-mode {
      height: 100vh !important;
      max-height: 100vh !important;
      overflow: hidden !important;
      display: flex !important;
      flex-direction: column !important;
    }

    #agentWorkspaceView.in-chat-mode .agent-cosmic-canvas {
      position: absolute !important;
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      height: 100% !important;
      max-width: 100% !important;
      max-height: 100% !important;
      pointer-events: none !important;
    }

    .agent-chat-container {
      height: 100% !important;
      max-height: 100% !important;
      width: 100% !important;
      display: flex !important;
      flex-direction: column !important;
      overflow: hidden !important;
    }

    .agent-chat-layout {
      display: flex !important;
      flex-direction: row !important;
      height: 100% !important;
      max-height: 100% !important;
      width: 100% !important;
      overflow: hidden !important;
    }

    .agent-chat-main-col {
      flex: 1 1 0% !important;
      min-width: 0 !important;
      height: 100% !important;
      max-height: 100% !important;
      display: flex !important;
      flex-direction: column !important;
      padding: 16px 24px !important;
      overflow: hidden !important;
      box-sizing: border-box !important;
    }

    .agent-chat-messages {
      flex: 1 1 0% !important;
      min-height: 0 !important;
      overflow-y: auto !important;
      overflow-x: hidden !important;
      padding-bottom: 12px !important;
    }

    .agent-chat-input-wrapper {
      flex-shrink: 0 !important;
      margin-top: auto !important;
    }

    .agent-chat-history-sidebar {
      width: 270px !important;
      min-width: 270px !important;
      max-width: 270px !important;
      height: 100% !important;
      max-height: 100% !important;
      flex-shrink: 0 !important;
      box-sizing: border-box !important;
      background: rgba(10, 15, 28, 0.98) !important;
      border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
      display: flex !important;
      flex-direction: column !important;
      padding: 16px 12px !important;
      overflow: hidden !important;
      transition: width 0.22s cubic-bezier(0.4, 0, 0.2, 1), min-width 0.22s cubic-bezier(0.4, 0, 0.2, 1), max-width 0.22s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.22s ease, padding 0.22s ease !important;
    }

    .agent-chat-history-sidebar.collapsed {
      width: 0 !important;
      min-width: 0 !important;
      max-width: 0 !important;
      opacity: 0 !important;
      padding: 0 !important;
      overflow: hidden !important;
      border-left: none !important;
      pointer-events: none !important;
    }

    .agent-history-sidebar-header {
      flex-shrink: 0 !important;
      padding: 4px 4px 12px !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
      margin-bottom: 10px !important;
    }

    .agent-new-chat-sidebar-btn {
      flex-shrink: 0 !important;
      margin-bottom: 12px !important;
    }

    .agent-history-list {
      flex: 1 1 0% !important;
      min-height: 0 !important;
      overflow-y: auto !important;
      overflow-x: hidden !important;
      display: flex !important;
      flex-direction: column !important;
      gap: 8px !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-right: 4px !important;
    }

    .agent-history-item {
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: 12px !important;
      padding: 10px 14px !important;
      min-height: 48px !important;
      background: rgba(255, 255, 255, 0.03) !important;
      border: 1px solid rgba(255, 255, 255, 0.07) !important;
      border-radius: 10px !important;
      cursor: pointer !important;
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
      min-width: 0 !important;
      -webkit-font-smoothing: antialiased !important;
      transition: all 0.15s ease !important;
    }

    .agent-history-item:hover,
    .agent-history-item.active {
      background: rgba(99, 102, 241, 0.12) !important;
      border-color: rgba(99, 102, 241, 0.35) !important;
    }

    .agent-history-item-content {
      flex: 1 1 0% !important;
      min-width: 0 !important;
      width: 0 !important;
      display: flex !important;
      flex-direction: column !important;
      gap: 4px !important;
      overflow: hidden !important;
      text-align: left !important;
    }

    .agent-history-item-title {
      font-size: 0.82rem !important;
      font-weight: 600 !important;
      color: #f1f5f9 !important;
      white-space: nowrap !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      width: 100% !important;
      max-width: 100% !important;
      display: block !important;
      text-align: left !important;
      line-height: 1.4 !important;
      margin: 0 !important;
      padding: 0 !important;
    }

    .agent-history-item-date {
      font-size: 0.70rem !important;
      color: #94a3b8 !important;
      white-space: nowrap !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      width: 100% !important;
      max-width: 100% !important;
      display: block !important;
      text-align: left !important;
      line-height: 1.3 !important;
      margin: 0 !important;
      padding: 0 !important;
    }

    /* ══════════════════════════════════════════════════════════════════════════
       HERO PAST CONVERSATIONS LIST HEIGHT LOCK & SLIM SCROLL
    ══════════════════════════════════════════════════════════════════════════ */
    .agent-bottom-grid {
      align-items: start !important;
    }

    .agent-bottom-grid > .agent-section-block:nth-child(2) {
      height: 330px !important;
      max-height: 330px !important;
      overflow: hidden !important;
      display: flex !important;
      flex-direction: column !important;
    }

    #agentHeroHistoryList {
      flex: 1 1 0% !important;
      min-height: 0 !important;
      max-height: 250px !important;
      overflow-y: auto !important;
      overflow-x: hidden !important;
      display: flex !important;
      flex-direction: column !important;
      gap: 8px !important;
      padding-right: 6px !important;
    }

    #agentHeroHistoryList::-webkit-scrollbar {
      width: 5px !important;
    }
    #agentHeroHistoryList::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.03) !important;
      border-radius: 10px !important;
    }
    #agentHeroHistoryList::-webkit-scrollbar-thumb {
      background: rgba(139, 92, 246, 0.4) !important;
      border-radius: 10px !important;
    }
    #agentHeroHistoryList::-webkit-scrollbar-thumb:hover {
      background: rgba(139, 92, 246, 0.7) !important;
    }

    /* ══════════════════════════════════════════════════════════════════════════
       YÜZER PANEL (FLOATING CANVAS & GLASS DRAWERS) MİMARİSİ
    ══════════════════════════════════════════════════════════════════════════ */
    
    /* Üst Bar: Relative Konumlandırma */
    .modern-topbar {
      position: relative !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      width: 100% !important;
      height: 48px !important;
      padding: 0 16px !important;
    }

    /* Üst Bar Ortası: EKRANIN TAM MATEMATİKSEL MERKEZİNDE SABİT (%50 ORTADA) */
    .modern-topbar .header-center {
      position: absolute !important;
      left: 50% !important;
      top: 50% !important;
      transform: translate(-50%, -50%) !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 8px !important;
      z-index: 20 !important;
      margin: 0 !important;
    }

    /* Çalışma Alanı: Tam ekran tuval */
    #mainLayout.workspace-layout,
    .workspace-layout {
      position: relative !important;
      display: block !important;
      width: 100% !important;
      height: calc(100vh - 48px) !important;
      background: #090a0d !important;
      overflow: hidden !important;
      padding: 0 !important;
      margin: 0 !important;
    }

    /* Tuval Viewport: Ekranın %100'ünü kaplar, paneller bunun üstünde yüzer */
    #viewportMain,
    .viewport-main,
    .modern-canvas-viewport {
      position: absolute !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      bottom: 0 !important;
      width: 100% !important;
      height: 100% !important;
      z-index: 10 !important;
      display: flex !important;
      flex-direction: column !important;
      background: #090a0d !important;
      overflow: hidden !important;
    }

    #canvasViewport,
    .canvas-viewport {
      flex: 1 !important;
      width: 100% !important;
      height: 100% !important;
      position: relative !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
    }

    /* ─── YÜZER SOL PANEL (Görsel Tarayıcı) ─── */
    #sidebarLeft,
    .sidebar-left,
    .modern-file-browser {
      position: absolute !important;
      top: 14px !important;
      left: 14px !important;
      bottom: 46px !important;
      width: 275px !important;
      z-index: 40 !important;
      background: rgba(20, 20, 26, 0.92) !important;
      backdrop-filter: blur(24px) saturate(180%) !important;
      -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
      border: 1px solid rgba(255, 255, 255, 0.1) !important;
      border-radius: 16px !important;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
      display: flex !important;
      flex-direction: column !important;
      overflow: hidden !important;
      transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    /* Sol Panel Gizlendiğinde: HİÇBİR YER KAPLAMAZ, TUVAL %100 AÇIKTIR */
    #mainLayout.left-collapsed #sidebarLeft,
    .workspace-layout.left-collapsed .sidebar-left,
    .sidebar-left.collapsed {
      display: none !important;
      opacity: 0 !important;
      pointer-events: none !important;
    }

    /* ─── YÜZER SAĞ PANEL (Özellikler, Kısayollar, İstatistik) ─── */
    #sidebarRight,
    .sidebar-right,
    .modern-tabbed-sidebar {
      position: absolute !important;
      top: 14px !important;
      right: 14px !important;
      bottom: 46px !important;
      width: 340px !important;
      z-index: 40 !important;
      background: rgba(20, 20, 26, 0.92) !important;
      backdrop-filter: blur(24px) saturate(180%) !important;
      -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
      border: 1px solid rgba(255, 255, 255, 0.1) !important;
      border-radius: 16px !important;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
      display: flex !important;
      flex-direction: column !important;
      overflow: hidden !important;
      transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    /* Sağ Panel Gizlendiğinde: HİÇBİR YER KAPLAMAZ, TUVAL %100 AÇIKTIR */
    #mainLayout.right-collapsed #sidebarRight,
    .workspace-layout.right-collapsed .sidebar-right,
    .sidebar-right.collapsed {
      display: none !important;
      opacity: 0 !important;
      pointer-events: none !important;
    }

    /* ─── SAĞ PANEL İÇERİK DÜZELTMELERİ (Sekmeler, Bilgiler, Kutular) ─── */
    .right-panel-tabs {
      display: flex !important;
      background: rgba(14, 14, 18, 0.95) !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
      padding: 6px !important;
      gap: 4px !important;
    }

    .panel-tab-btn {
      flex: 1 !important;
      background: transparent !important;
      border: none !important;
      color: #94a3b8 !important;
      font-size: 11px !important;
      font-weight: 700 !important;
      letter-spacing: 0.02em !important;
      padding: 8px 4px !important;
      border-radius: 8px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 5px !important;
      cursor: pointer !important;
      white-space: nowrap !important;
      transition: all 0.15s ease !important;
    }

    .panel-tab-btn:hover {
      background: rgba(255, 255, 255, 0.06) !important;
      color: #f8fafc !important;
    }

    .panel-tab-btn.active {
      background: #2563eb !important;
      color: #ffffff !important;
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4) !important;
    }

    .tab-page-content {
      display: none !important;
      flex: 1 !important;
      overflow-y: auto !important;
      padding: 12px !important;
      flex-direction: column !important;
      gap: 12px !important;
    }

    .tab-page-content.active {
      display: flex !important;
    }

    /* Bilgi Kartları */
    .sidebar-section-card {
      background: rgba(255, 255, 255, 0.035) !important;
      border: 1px solid rgba(255, 255, 255, 0.08) !important;
      border-radius: 12px !important;
      padding: 12px !important;
    }

    .section-card-header {
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      margin-bottom: 10px !important;
    }

    .card-title {
      font-size: 12.5px !important;
      font-weight: 700 !important;
      color: #f8fafc !important;
    }

    .btn-del-img-mini {
      background: rgba(239, 68, 68, 0.14) !important;
      border: 1px solid rgba(239, 68, 68, 0.35) !important;
      color: #f87171 !important;
      font-size: 10.5px !important;
      font-weight: 600 !important;
      padding: 4px 8px !important;
      border-radius: 6px !important;
      cursor: pointer !important;
      display: inline-flex !important;
      align-items: center !important;
      gap: 4px !important;
      transition: all 0.15s ease !important;
    }

    .btn-del-img-mini:hover {
      background: rgba(239, 68, 68, 0.3) !important;
      border-color: #ef4444 !important;
      color: #ffffff !important;
    }

    .meta-data-rows {
      display: flex !important;
      flex-direction: column !important;
      gap: 7px !important;
    }

    .meta-row-clean {
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      font-size: 12px !important;
    }

    .meta-lbl {
      color: #64748b !important;
      font-weight: 500 !important;
    }

    .meta-val {
      color: #f1f5f9 !important;
      font-family: 'JetBrains Mono', monospace !important;
      font-weight: 600 !important;
    }

    .meta-val.highlight-blue {
      color: #38bdf8 !important;
    }

    .box-items-container {
      overflow-y: auto !important;
      max-height: calc(100vh - 400px) !important;
      display: flex !important;
      flex-direction: column !important;
      gap: 5px !important;
    }

    /* ─── SOL PANEL İÇERİK DÜZELTMELERİ ─── */
    .modern-browser-head {
      padding: 12px !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
      display: flex !important;
      flex-direction: column !important;
      gap: 10px !important;
    }

    .browser-filter-pills {
      display: flex !important;
      background: rgba(10, 10, 14, 0.8) !important;
      border: 1px solid rgba(255, 255, 255, 0.08) !important;
      border-radius: 8px !important;
      padding: 3px !important;
      gap: 2px !important;
    }

    .filter-pill-btn {
      flex: 1 !important;
      background: transparent !important;
      border: none !important;
      color: #94a3b8 !important;
      font-size: 11px !important;
      font-weight: 600 !important;
      padding: 5px 0 !important;
      border-radius: 6px !important;
      cursor: pointer !important;
      transition: all .15s !important;
      text-align: center !important;
    }

    .filter-pill-btn.active {
      background: #2563eb !important;
      color: #ffffff !important;
    }

    /* ─── ULTRA KOMPAKT YÜZER ARAÇ ÇUBUĞU (ASLA PANELLERLE ÇAKIŞMAZ) ─── */
    .floating-pill-toolbar {
      position: absolute !important;
      top: 14px !important;
      left: 50% !important;
      transform: translateX(-50%) !important;
      z-index: 25 !important;
      background: rgba(18, 18, 24, 0.94) !important;
      backdrop-filter: blur(20px) !important;
      -webkit-backdrop-filter: blur(20px) !important;
      border: 1px solid rgba(255, 255, 255, 0.12) !important;
      border-radius: 30px !important;
      padding: 3px 6px !important;
      display: flex !important;
      align-items: center !important;
      gap: 4px !important;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
      white-space: nowrap !important;
      height: 38px !important;
    }

    .floating-pill-toolbar .pill-tool-group {
      display: flex !important;
      align-items: center !important;
      gap: 2px !important;
    }

    .floating-pill-toolbar .pill-btn {
      height: 30px !important;
      padding: 0 8px !important;
      gap: 5px !important;
      font-size: 11px !important;
      border-radius: 15px !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
    }

    .floating-pill-toolbar .pill-btn kbd {
      height: 16px !important;
      min-width: 16px !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      font-size: 8.5px !important;
      padding: 0 3px !important;
      border-radius: 3px !important;
      line-height: 1 !important;
    }

    .floating-pill-toolbar .pill-class-picker {
      display: inline-flex !important;
      align-items: center !important;
      height: 30px !important;
      padding: 0 2px !important;
    }

    .floating-pill-toolbar .pill-select-class {
      height: 28px !important;
      max-width: 110px !important;
      font-size: 11px !important;
      padding: 2px 6px !important;
      background: #141418 !important;
      color: #f1f5f9 !important;
      border: 1px solid rgba(255, 255, 255, 0.12) !important;
      border-radius: 8px !important;
      outline: none !important;
      cursor: pointer !important;
    }

    .floating-pill-toolbar .pill-icon-btn {
      width: 28px !important;
      height: 28px !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
    }

    .floating-pill-toolbar .pill-divider {
      height: 18px !important;
      width: 1px !important;
      margin: 0 2px !important;
      background: rgba(255, 255, 255, 0.1) !important;
    }

    /* ══════════════════════════════════════════════════════════════════════════
       📱 CANVAS EDITOR MOBİL KURALLARI (index.html — sadece editor özgü)
       Genel mobil kurallar style.css içinde tanımlıdır.
       ══════════════════════════════════════════════════════════════════════════ */
    @media (max-width: 768px) {
      /* Tuval üst çubuğu */
      .modern-topbar {
        height: 44px !important;
        padding: 0 10px !important;
      }
      .modern-topbar .header-center { display: none !important; }
      .modern-topbar .brand-logo { height: 24px !important; }
      .modern-topbar .brand-title { font-size: 13px !important; }

      /* Tuval çalışma alanı yüksekliği */
      #mainLayout.workspace-layout,
      .workspace-layout {
        height: calc(100vh - 44px) !important;
      }
    }

    /* Masaüstünde mobil elementler gizlenir */
    @media (min-width: 769px) {
      .btn-mobile-nav-toggle { display: none !important; }
      .landing-mobile-menu-btn { display: none !important; }
    }

    #imageIndexInput {
      width: 42px !important;
      text-align: center !important;
      background: rgba(14, 165, 233, 0.12) !important;
      color: #38bdf8 !important;
      border: 1px solid rgba(56, 189, 248, 0.3) !important;
      border-radius: 6px !important;
      font-weight: 700 !important;
      font-size: 0.88rem !important;
      cursor: default !important;
      outline: none !important;
      box-shadow: none !important;
      user-select: none !important;
    }

    /* =====================================================
       FULL-SCREEN GLASSMORPHIC LOADING OVERLAY & ORBITAL SPINNER
       ===================================================== */
    .full-loading-overlay {
      position: fixed;
      inset: 0;
      z-index: 99999;
      background: rgba(8, 12, 24, 0.82);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .full-loading-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }

    .full-loading-card {
      background: linear-gradient(145deg, rgba(22, 30, 52, 0.95), rgba(12, 17, 34, 0.98));
      border: 1px solid rgba(99, 102, 241, 0.35);
      box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.75), 0 0 50px rgba(99, 102, 241, 0.2);
      border-radius: 20px;
      padding: 36px 32px 28px;
      width: 100%;
      max-width: 440px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      position: relative;
      overflow: hidden;
      transform: scale(0.94);
      transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .full-loading-overlay.active .full-loading-card {
      transform: scale(1);
    }

    /* Glowing Orbital Spinner */
    .full-loading-orb {
      position: relative;
      width: 96px;
      height: 96px;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .orb-ring {
      position: absolute;
      inset: 0;
      border-radius: 50%;
      border: 3px solid transparent;
    }

    .orb-ring.ring-1 {
      border-top-color: #6366f1;
      border-right-color: #38bdf8;
      animation: orbSpin 1.4s linear infinite;
      box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
    }

    .orb-ring.ring-2 {
      inset: 8px;
      border-bottom-color: #ec4899;
      border-left-color: #8b5cf6;
      animation: orbSpinRev 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
      box-shadow: 0 0 14px rgba(236, 72, 153, 0.4);
    }

    .orb-ring.ring-3 {
      inset: 16px;
      border-top-color: #10b981;
      border-left-color: #06b6d4;
      animation: orbSpin 2.6s linear infinite;
    }

    .orb-core {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(15, 23, 42, 0.95) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #60a5fa;
      box-shadow: 0 0 24px rgba(99, 102, 241, 0.6);
      animation: orbPulse 2s ease-in-out infinite alternate;
    }

    .orb-icon {
      width: 26px;
      height: 26px;
      animation: orbIconSpin 8s linear infinite;
    }

    @keyframes orbSpin {
      to { transform: rotate(360deg); }
    }

    @keyframes orbSpinRev {
      to { transform: rotate(-360deg); }
    }

    @keyframes orbPulse {
      0% { transform: scale(0.92); box-shadow: 0 0 15px rgba(99, 102, 241, 0.4); }
      100% { transform: scale(1.08); box-shadow: 0 0 30px rgba(56, 189, 248, 0.7); }
    }

    @keyframes orbIconSpin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    .full-loading-content {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
    }

    .loading-main-title {
      font-size: 1.18rem;
      font-weight: 700;
      color: #ffffff;
      letter-spacing: -0.3px;
      margin: 0;
      background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #93c5fd 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .loading-subtitle {
      font-size: 0.85rem;
      color: #94a3b8;
      margin: 0 0 8px;
      line-height: 1.45;
      max-width: 360px;
    }

    .loading-progress-wrap {
      width: 100%;
      margin: 6px 0 10px;
    }

    .loading-progress-track {
      width: 100%;
      height: 8px;
      background: rgba(15, 23, 42, 0.8);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 99px;
      overflow: hidden;
      position: relative;
      box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .loading-progress-fill {
      height: 100%;
      background: linear-gradient(90deg, #3b82f6, #6366f1, #ec4899);
      border-radius: 99px;
      transition: width 0.22s ease;
      position: relative;
      overflow: hidden;
      box-shadow: 0 0 14px rgba(99, 102, 241, 0.6);
    }

    .loading-progress-shimmer {
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
      animation: shimmer 1.6s infinite;
    }


/* ══════════════════════════════════════════════════════════════════════════
   PROJELERİM DASHBOARD - MODERN ONBOARDING & EMPTY STATE
══════════════════════════════════════════════════════════════════════════ */
.dash-empty-onboarding {
  grid-column: 1 / -1;
  max-width: 960px;
  margin: 20px auto 40px;
  text-align: center;
  animation: fadeIn .25s ease-out;
}

.dash-onboarding-hero {
  margin-bottom: 28px;
}

.dash-onboarding-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.dash-onboarding-hero h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.dash-onboarding-hero p {
  font-size: 0.88rem;
  color: #94a3b8;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
}

.dash-onboard-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  text-align: left;
  margin-top: 10px;
}

.dash-onboard-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.dash-onboard-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.dash-onboard-card.highlight {
  border-color: rgba(59, 130, 246, 0.4);
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.15), rgba(15, 23, 42, 0.75));
}

.dash-onboard-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.dash-onboard-icon-box.blue {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.dash-onboard-icon-box.purple {
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.dash-onboard-icon-box.amber {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.dash-onboard-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 6px;
}

.dash-onboard-info p {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0 0 18px;
}

.dash-onboard-card button {
  width: 100%;
  justify-content: center;
}
