.chat-history-sidebar{position:fixed;top:0;left:0;background:radial-gradient(circle at top left,#24283ce0,#10121cf0);color:#f5f5f5;display:flex;flex-direction:column;width:280px;min-width:280px;max-width:280px;height:100vh;overflow-y:auto;overflow-x:visible;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 12px 28px #0e172d73;border-right:1px solid rgba(120,255,199,.18);z-index:100}.chat-history-sidebar.overlay{position:fixed;left:0;top:0;width:85%;max-width:320px;height:100vh;z-index:1100;border-radius:0;box-shadow:0 24px 60px #080c1899}.sidebar-backdrop{display:none;opacity:0;pointer-events:none;transition:opacity .2s ease}.sidebar-navigation{padding:20px 18px 16px;border-bottom:1px solid rgba(120,255,199,.12);background:linear-gradient(140deg,#1a1c28d9,#12121ca6);flex-shrink:0}.nav-brand-sidebar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:16px;flex-wrap:wrap}.brand-identity-sidebar{display:flex;align-items:center;gap:.75rem;flex:1 1 auto;min-width:0}.brand-icon-sidebar{position:relative;width:48px;height:48px;border-radius:12px;overflow:hidden;background:#ffffff0f;border:1px solid rgba(255,64,129,.25);box-shadow:0 6px 18px #ff174433}.brand-icon-sidebar picture{display:block;width:100%;height:100%}.brand-logo-gif-sidebar{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}.nav-brand-sidebar-link{display:flex;flex-direction:column;text-decoration:none;font-family:Rajdhani,sans-serif;letter-spacing:1px;line-height:1.15}.brand-text-main-sidebar{font-size:1.25rem;font-weight:700;background:linear-gradient(135deg,#ff1744,#ff5252,#f50057);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-shadow:0 0 12px rgba(255,0,96,.4)}.brand-text-sub-sidebar{font-size:.85rem;font-weight:600;letter-spacing:.35em;color:#f0f0ffa6}.brand-actions-sidebar{display:flex;align-items:center;gap:8px;flex-shrink:0;flex-wrap:wrap}.brand-action-button{border-radius:10px!important;padding:6px!important;border:1px solid rgba(255,64,129,.32)!important;background:#ff408114!important;color:#ffc8f0d9!important;transition:all .24s ease!important}.brain-button{position:relative;color:#fbbf24!important;border:1px solid rgba(251,191,36,.45)!important;background:#fbbf2429!important;box-shadow:0 4px 12px #fbbf2440}.brain-button.active:after{content:"";position:absolute;top:4px;right:4px;width:6px;height:6px;background:#f97316;border-radius:50%;box-shadow:0 0 8px #f9731673}.brand-action-button:hover{background:#ff408133!important;border-color:#ff6ebe73!important;color:#fff!important;box-shadow:0 8px 18px #ff408140}.brand-actions-sidebar .user-menu-button-sidebar{padding:2px!important;border-radius:12px!important;border:1px solid rgba(255,64,129,.32)!important;background:#ff408114!important}.brand-actions-sidebar .user-menu-button-sidebar:hover{background:#ff408133!important;border-color:#ff6ebe73!important}.nav-collapse-section{display:flex;flex-direction:column;gap:12px}.nav-collapsible-content{overflow:hidden;transition:opacity .2s cubic-bezier(.4,0,.2,1),transform .2s cubic-bezier(.4,0,.2,1);will-change:opacity,transform}.nav-collapsible-content.collapsed{height:0;opacity:0;transform:translateY(-8px) scaleY(.95);transform-origin:top center;pointer-events:none}.nav-collapsible-content.expanded{height:auto;opacity:1;transform:translateY(0) scaleY(1);transform-origin:top center}.nav-quick-actions{display:flex;flex-direction:column;gap:12px}.nav-actions-sidebar{display:flex;justify-content:center;margin-top:4px}.login-link-sidebar{text-decoration:none;width:100%}.login-button-sidebar{border:1px solid rgba(120,255,199,.4)!important;background:linear-gradient(135deg,#0f9c6847,#0d81aa47)!important;color:#d7fff8e6!important;font-family:Rajdhani,sans-serif!important;font-weight:600!important;text-transform:none!important;padding:6px 12px!important;border-radius:10px!important;transition:all .25s ease!important;width:100%}.login-button-sidebar:hover{border-color:#78ffc79e!important;background:linear-gradient(135deg,#0f9c6873,#0d81aa66)!important;box-shadow:0 14px 24px #0e788240!important}.user-menu-button-sidebar{transition:all .26s ease!important;padding:0!important;border-radius:50%!important;border:1px solid transparent!important}.user-menu-button-sidebar:hover{transform:scale(1.06);border-color:#ff80ab66!important}.user-avatar-sidebar{background:linear-gradient(135deg,#ff1744,#d50000)!important;font-weight:600!important;font-size:.7rem!important;box-shadow:0 0 16px #ff408159!important;border:1px solid rgba(255,255,255,.08)!important;transition:all .26s ease!important;width:32px!important;height:32px!important}.user-menu-button-sidebar:hover .user-avatar-sidebar{box-shadow:0 0 18px #ff40818c!important}.menu-item-sidebar{color:#f5f5ffe0!important;font-family:Rajdhani,sans-serif!important;font-weight:500!important;padding:8px 16px!important;transition:all .2s ease!important;font-size:.9rem!important}.menu-item-sidebar:hover{background:#ff40811f!important;color:#ff90c2!important}.menu-item-sidebar svg{color:#ff80abd9!important}.logout-item-sidebar:hover{background:#ff40812e!important}.new-chat-button{background:transparent!important;border:1px solid rgba(255,64,129,.5)!important;color:#ff80ab!important;box-shadow:0 8px 18px #ff40812e!important;font-family:Rajdhani,sans-serif!important;text-transform:none!important;transition:all .28s ease!important;white-space:nowrap;padding:6px 12px!important;border-radius:10px!important}.new-chat-button:hover{background:#ff408129!important;border-color:#ff80abbf!important;color:#ff9ec4!important}.new-chat-mobile-button{border-radius:10px!important;border:1px solid rgba(255,64,129,.5)!important;background:#ff40811f!important;color:#ff80ab!important;padding:6px!important;transition:all .28s ease!important}.new-chat-mobile-button:hover{background:#ff408138!important;border-color:#ff80abbf!important;color:#ff9ec4!important}.sidebar-close-btn{border:1px solid rgba(255,255,255,.08)!important;background:#14162299!important;color:#fffc!important;transition:all .22s ease!important}.sidebar-close-btn:hover{background:#ff408133!important;color:#fff!important}.sidebar-close-btn-fixed{display:none!important;position:absolute!important;top:12px!important;right:12px!important;z-index:10!important;border:1px solid rgba(255,255,255,.2)!important;background:#141622e6!important;color:#ffffffe6!important;width:36px!important;height:36px!important;border-radius:50%!important}.sidebar-close-btn-fixed:hover{background:#ff40814d!important;color:#fff!important}@media(max-width:1024px){.sidebar-close-btn-fixed{display:inline-flex!important}.sidebar-backdrop{display:block}.sidebar-backdrop.is-open{opacity:1;pointer-events:auto}.chat-history-sidebar.is-closed{display:none!important}}.chat-list-wrapper{flex:1;overflow-y:auto;padding:16px 4px 12px}.chat-list-wrapper::-webkit-scrollbar{width:6px}.chat-list-wrapper::-webkit-scrollbar-thumb{background:#ff40814d;border-radius:3px}.chat-item{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;cursor:pointer;border-radius:12px;border:1px solid transparent;transition:all .26s ease;white-space:nowrap;gap:6px;margin:4px 8px;background:#12142099}.chat-item:hover{border-color:#ff80ab4d;background:#1a1e2cb8;box-shadow:0 10px 18px #0a0e1859}.chat-item.active{background:linear-gradient(135deg,#ff408138,#69dcd733);border-color:#ff80ab99;box-shadow:0 14px 26px #ff408147}.chat-item-title{flex:1;overflow:hidden;text-overflow:ellipsis;font-weight:500;color:#f5f5ffe6}.chat-item-actions{display:none;gap:6px}.chat-item:hover .chat-item-actions{display:flex}.chat-item-editing{display:flex;align-items:center;gap:6px;width:100%}.chat-rename-input{flex:1}.chat-action-btn{min-width:auto!important;padding:4px!important;height:30px!important;width:30px!important;border-radius:8px!important;border:1px solid transparent!important;transition:all .2s ease!important}.chat-rename-btn{border-color:#3b82f673!important;color:#6db0fff2!important;background:#3b82f633!important}.chat-rename-btn:hover{border-color:#6db0ff99!important;background:#3b82f647!important}.chat-delete-btn{border-color:#ff958080!important;color:#ffb4a8f2!important;background:#ff958033!important}.chat-delete-btn:hover{border-color:#ff9580ad!important;background:#ff958047!important}.sidebar-fab-open{display:none!important;position:fixed!important;left:16px;bottom:calc(16px + 15%);width:54px;height:54px;border-radius:18px!important;border:1px solid rgba(255,64,129,.45)!important;background:linear-gradient(135deg,#121420f2,#200a1ee6)!important;color:#ff9ec4!important;box-shadow:0 18px 38px #08061280!important;z-index:1050;transition:all .28s ease!important}.sidebar-fab-open:hover{transform:translateY(-2px);box-shadow:0 20px 42px #0c0a1899!important;color:#ffd4e7!important}@media(max-width:1024px){.sidebar-fab-open{display:inline-flex!important}.sidebar-fab-open.hidden{display:none!important}.chat-history-sidebar{width:85%;max-width:320px;z-index:1100;border-radius:0;box-shadow:0 24px 60px #080c1899}}@media(max-width:640px){.chat-history-sidebar.overlay{height:100vh}.sidebar-navigation{padding:18px 16px 14px}.sidebar-fab-open{left:12px;bottom:calc(12px + 15%);width:50px;height:50px}}.custom-shan-sidebar-section{padding:12px 16px;flex-shrink:0}.custom-shan-section-header{display:flex;align-items:center;gap:8px;margin-bottom:8px}.custom-shan-section-icon{color:#ff1744;opacity:.8}.custom-shan-section-title{color:#fff9;text-transform:uppercase;letter-spacing:.05em;font-weight:600}.custom-shan-list{padding:0;margin:0}.custom-shan-item{display:flex;align-items:center;gap:10px;padding:8px 12px;margin-bottom:4px;border-radius:8px;cursor:pointer;transition:all .2s ease;background:#ff17440d;border:1px solid transparent}.custom-shan-item:hover{background:#ff174426;border-color:#ff17444d}.custom-shan-item.active{background:#ff174433;border-color:#ff174480}.custom-shan-item-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;background:linear-gradient(135deg,#ff1744,#d50000);color:#fff;flex-shrink:0}.custom-shan-item-icon svg{font-size:16px}.custom-shan-item-avatar{border-radius:6px;border:1px solid rgba(255,23,68,.3);flex-shrink:0}.custom-shan-item-title{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#ffffffe6;font-size:.875rem}.custom-shan-actions{display:flex;gap:8px;margin-top:8px}.explore-more-button{flex:1;justify-content:center;color:#fff9;text-transform:none;font-size:.75rem;padding:4px 8px;border:1px solid rgba(255,255,255,.2);border-radius:6px}.explore-more-button:hover{background:#ffffff1a;color:#fff;border-color:#ffffff4d}.discover-button{flex:1;justify-content:center;color:#ff1744;text-transform:none;font-size:.75rem;padding:4px 8px;border:1px solid rgba(255,23,68,.3);border-radius:6px;background:#ff17441a}.discover-button:hover{background:#ff174433;border-color:#ff174480}.custom-shan-divider{margin-top:12px;border-color:#78ffc71f}.custom-shan-cta{padding:12px 16px;flex-shrink:0}.create-custom-shan-button{width:100%;justify-content:flex-start;color:#ffffffb3;text-transform:none;font-size:.85rem;padding:10px 14px;background:#ff174414;border:1px dashed rgba(255,23,68,.3);border-radius:8px;transition:all .2s ease}.create-custom-shan-button:hover{background:#ff174426;border-color:#ff174480;color:#ff1744}.projects-sidebar-section{padding:12px 16px;flex-shrink:0}.projects-section-header{display:flex;align-items:center;gap:8px;margin-bottom:8px}.projects-section-icon{color:#4fc3f7;font-size:1rem}.projects-section-title{color:#fff9;text-transform:uppercase;letter-spacing:.5px;font-weight:600}.projects-list{padding:0;margin:0}.project-item{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:8px;cursor:pointer;transition:all .2s ease;margin-bottom:4px}.project-item:hover{background:#4fc3f71a}.project-item.active{background:#4fc3f726;border:1px solid rgba(79,195,247,.3)}.project-item-icon{width:28px;height:28px;border-radius:6px;background:linear-gradient(135deg,#4fc3f7,#0288d1);display:flex;align-items:center;justify-content:center;flex-shrink:0}.project-item-icon svg{font-size:.9rem;color:#fff}.project-item-title{flex:1;color:#ffffffe6;font-size:.875rem}.view-all-projects-button{width:100%;justify-content:center;color:#4fc3f7cc;text-transform:none;font-size:.75rem;padding:6px 8px;margin-top:8px;border:1px solid rgba(79,195,247,.3);border-radius:6px}.view-all-projects-button:hover{background:#4fc3f71a;border-color:#4fc3f780;color:#4fc3f7}.projects-divider{margin-top:12px;border-color:#78ffc71f}.projects-cta{padding:12px 16px;flex-shrink:0}.create-project-button{width:100%;justify-content:flex-start;color:#ffffffb3;text-transform:none;font-size:.85rem;padding:10px 14px;background:#4fc3f714;border:1px dashed rgba(79,195,247,.3);border-radius:8px;transition:all .2s ease}.create-project-button:hover{background:#4fc3f726;border-color:#4fc3f780;color:#4fc3f7}.gpt-sidebar-content{display:flex;flex-direction:column;flex:1;overflow-y:auto;overflow-x:hidden;padding:0}.gpt-sidebar-content::-webkit-scrollbar{width:4px}.gpt-sidebar-content::-webkit-scrollbar-thumb{background:#ffffff26;border-radius:2px}.gpt-section{padding:1px 8px 0}.gpt-section-label{font-size:.68rem!important;color:#ffffff73!important;font-weight:500!important;padding:1px 8px!important;text-transform:none!important}.gpt-item{display:flex;align-items:center;gap:6px;padding:2px 10px;margin:0;border-radius:6px;cursor:pointer;transition:background .15s ease;text-decoration:none;color:#ffffffd9}.gpt-item:hover{background:#ffffff14}.gpt-item.preview{cursor:default}.gpt-item.preview:hover{background:transparent}.gpt-item.preview .MuiSkeleton-root{background:#ffffff1f}.gpt-preview-icon{border-radius:5px}.gpt-preview-text{transform:translateY(1px)}.gpt-item.active{background:#ffffff1f}.gpt-item-avatar{width:20px!important;height:20px!important;border-radius:4px!important}.gpt-item-icon{font-size:18px!important;color:#fff9}.gpt-item-text{font-size:.85rem;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.gpt-item-count{font-size:.7rem;padding:2px 6px;border-radius:10px;background:#ffffff1f;color:#ffffffb3;font-weight:500}.gpt-project-group{display:flex;flex-direction:column}.gpt-folder-item{padding-left:4px!important}.gpt-folder-toggle{display:flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;margin:0;background:transparent;border:none;border-radius:4px;color:#ffffff80;cursor:pointer;transition:all .15s ease;flex-shrink:0}.gpt-folder-toggle:hover{background:#ffffff1a;color:#fffc}.gpt-folder-toggle:focus-visible{outline:2px solid rgba(255,23,68,.7);outline-offset:2px}.gpt-folder-main{display:flex;align-items:center;gap:6px;flex:1;min-width:0;cursor:pointer}.gpt-project-chats{padding-left:28px;margin-left:0;border-left:none}.gpt-chat-item.nested{padding:1px 8px;margin:0}.gpt-chat-item.nested .gpt-chat-title{font-size:.8rem;color:#ffffffb3}.gpt-chat-item.nested.active .gpt-chat-title{color:#fffffff2}.gpt-explore{color:#fff9}.gpt-explore:hover{color:#ffffffd9}.gpt-chats-section{flex:1;display:flex;flex-direction:column;min-height:0;padding:1px 8px}.gpt-chats-list{flex:1;overflow-y:auto;padding-bottom:2px}.gpt-chat-item{display:flex;align-items:center;padding:2px 10px;margin:0;border-radius:6px;cursor:pointer;transition:background .15s ease;position:relative}.gpt-chat-avatar{width:20px!important;height:20px!important;border-radius:4px!important;margin-right:6px;flex-shrink:0}.gpt-chat-item:hover{background:#ffffff14}.gpt-chat-item.active{background:#ffffff1f}.gpt-chat-item:focus-visible,.gpt-folder-main:focus-visible{outline:2px solid rgba(255,23,68,.7);outline-offset:2px}.gpt-chat-title{font-size:.85rem;font-weight:400;color:#ffffffd9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.gpt-chat-actions{display:none;gap:2px}.gpt-chat-item:hover .gpt-chat-actions{display:flex}.gpt-action-btn{padding:3px!important;color:#ffffff80!important;transition:color .15s ease!important}.gpt-action-btn:hover{color:#ffffffe6!important;background:#ffffff14!important}.gpt-delete:hover{color:#ff6b6b!important}.gpt-edit-row{display:flex;align-items:center;gap:4px;width:100%}.gpt-rename-input{flex:1}.gpt-rename-input input{font-size:.85rem;padding:4px 8px;color:#ffffffe6;background:#ffffff14;border:1px solid rgba(255,255,255,.2);border-radius:4px}.gpt-rename-input .MuiOutlinedInput-notchedOutline{border-color:#fff3!important}.chat-history-sidebar.collapsed{width:64px;min-width:64px;max-width:64px}.chat-history-sidebar.collapsed .sidebar-navigation{padding:12px 8px;display:flex;flex-direction:column;align-items:center}.chat-history-sidebar.collapsed .nav-brand-sidebar{justify-content:center;margin-bottom:8px}.chat-history-sidebar.collapsed .collapsed-logo{width:40px;height:40px;margin:0 auto}.chat-history-sidebar.collapsed .brand-identity-sidebar,.chat-history-sidebar.collapsed .brand-actions-sidebar,.chat-history-sidebar.collapsed .nav-collapse-section,.chat-history-sidebar.collapsed .new-chat-button{display:none!important}.sidebar-edge-toggle{position:absolute;top:50%;right:-12px;transform:translateY(-50%);width:24px;height:48px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;background:#1a1c28f2;border:1px solid rgba(255,64,129,.3);border-left:none;border-radius:0 8px 8px 0;color:#ffffffb3;cursor:pointer;z-index:20;transition:background .15s ease,border-color .15s ease,color .15s ease}.sidebar-edge-toggle:hover{background:#ff408133;border-color:#ff408180;color:#ff80ab}.chat-history-sidebar.collapsed .sidebar-edge-toggle{right:-12px}
