.sidebar { width: 240px; flex-shrink: 0; background: #1a2e5a; display: flex; flex-direction: column; height: 100%; overflow: hidden; } .newBtn { margin: 12px; background: rgba(255,255,255,.12); color: #fff; font-size: .88rem; font-weight: 600; padding: 9px 14px; border-radius: 8px; text-align: left; border: 1px solid rgba(255,255,255,.18); transition: background .15s; flex-shrink: 0; } .newBtn:hover { background: rgba(255,255,255,.2); } .list { flex: 1; overflow-y: auto; padding: 4px 8px; } .list::-webkit-scrollbar { width: 4px; } .list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 2px; } .empty { font-size: .82rem; color: rgba(255,255,255,.4); text-align: center; margin-top: 24px; } .item { padding: 9px 10px 7px; border-radius: 7px; cursor: pointer; margin-bottom: 2px; transition: background .12s; } .item:hover { background: rgba(255,255,255,.1); } .item.active { background: rgba(255,255,255,.18); } .itemTitle { font-size: .85rem; color: #e8edf8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; line-height: 1.4; } .itemMeta { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; } .itemMeta span { font-size: .72rem; color: rgba(255,255,255,.4); } .delBtn { background: transparent; color: rgba(255,255,255,.3); font-size: .72rem; padding: 1px 5px; border-radius: 3px; opacity: 0; transition: opacity .12s, color .12s; border: none; } .item:hover .delBtn { opacity: 1; } .delBtn:hover { color: #f87171; } .footer { padding: 12px 14px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-shrink: 0; } .userEmail { font-size: .75rem; color: rgba(255,255,255,.5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; } .logoutBtn { background: transparent; color: rgba(255,255,255,.5); font-size: .75rem; padding: 4px 8px; border-radius: 5px; border: 1px solid rgba(255,255,255,.15); flex-shrink: 0; } .logoutBtn:hover { color: #fff; border-color: rgba(255,255,255,.4); }