.topbar { height: 64px; background-color: var(--bg-card); border-bottom: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: space-between; padding: 0 40px; position: sticky; top: 0; z-index: 90; transition: all 0.3s ease; } @media (max-width: 1100px) { .topbar { padding: 0 20px; height: 60px; } } .titleRow { display: flex; align-items: center; gap: 12px; } .menuToggle { display: none; background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 4px; border-radius: 6px; align-items: center; justify-content: center; transition: all 0.2s; } .menuToggle:hover { background: var(--bg-hover); color: var(--primary); } @media (max-width: 1024px) { .menuToggle { display: flex; } } .title { font-size: clamp(16px, 2.5vw, 24px); font-weight: 800; color: var(--text-main); letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .subtitle { font-size: 11px; font-weight: 800; color: var(--primary); letter-spacing: 0.08em; text-transform: uppercase; margin-top: -2px; opacity: 0.9; } @media (max-width: 900px) { .subtitle { display: none; } } .logoContainer { height: 22px; display: flex; align-items: center; border-left: 2px solid var(--border-subtle); padding-left: 16px; margin-left: 4px; } .logoImage { height: 100%; max-width: 140px; object-fit: contain; opacity: 1; transition: all 0.3s ease; } :global(.theme-dark) .logoImage { opacity: 0.9; } .right { display: flex; align-items: center; gap: 24px; flex-shrink: 1; min-width: 0; } @media (max-width: 1300px) { .right { gap: 16px; } } @media (max-width: 1100px) { .right { gap: 12px; } .statusIndicator { padding: 6px 10px; } .timeText { display: none; } } @media (max-width: 768px) { .right { gap: 8px; } .statusIndicator { display: none !important; } } /* Search */ .searchWrapper { position: relative; width: 280px; flex-shrink: 1; min-width: 140px; transition: width 0.3s ease; } @media (max-width: 1200px) { .searchWrapper { width: 220px; } } @media (max-width: 1024px) { .searchWrapper { width: 180px; } } .searchIcon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 14px; } .searchInput { width: 100%; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 8px 12px 8px 32px; font-size: 13px; color: var(--text-main); outline: none; transition: all 0.2s; } .searchInput:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); } .resultsDropdown { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); max-height: 400px; overflow-y: auto; z-index: 1000; animation: slideDown 0.2s ease-out; } @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } .resultItem { padding: 14px 20px; border-bottom: 1px solid var(--border); cursor: pointer; transition: all 0.2s; } .resultItem:last-child { border-bottom: none; } .resultItem:hover { background: var(--bg2); } .resultMeta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } .resultMetaLeft { display: flex; align-items: center; gap: 8px; } .resultId { font-size: 11px; font-weight: 800; color: var(--text-muted); background: var(--bg-hover); padding: 2px 6px; border-radius: 4px; } .resultScore { font-size: 11px; font-weight: 800; color: var(--primary); background: var(--primary-glow); padding: 2px 6px; border-radius: 4px; } .resultStatus { font-size: 11px; font-weight: 900; text-transform: uppercase; padding: 2px 8px; border-radius: 5px; } .resultStatus[data-status="OPEN"] { color: #10b981; background: rgba(16, 185, 129, 0.1); } .resultStatus[data-status="IN_PROGRESS"] { color: #6366f1; background: rgba(99, 102, 241, 0.1); } .resultStatus[data-status="RESOLVED"] { color: var(--text-muted); background: var(--bg-hover); } .resultTitle { font-size: 13px; font-weight: 700; color: var(--text-main); margin-bottom: 6px; } .resultFooter { display: flex; justify-content: flex-end; font-size: 10px; color: var(--text-muted); font-weight: 600; } .searchLoader { position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 12px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; font-size: 11px; font-weight: 700; text-align: center; color: var(--accent); box-shadow: 0 10px 30px rgba(0,0,0,0.1); z-index: 1001; } .searchHint { position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 10px; background: var(--glass-bg); backdrop-filter: blur(8px); border: 1px solid var(--border-subtle); border-radius: 10px; font-size: 11px; font-weight: 800; text-align: center; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; z-index: 1000; animation: slideDown 0.2s ease-out; } .noResults { padding: 32px 20px; text-align: center; color: var(--text-muted); font-size: 12px; font-weight: 600; } /* Live Indicator */ .statusIndicator { display: flex; align-items: center; gap: 8px; background: var(--bg-hover); padding: 6px 12px; border-radius: 20px; border: 1px solid var(--border-subtle); } .dot { width: 8px; height: 8px; background-color: var(--success); border-radius: 50%; box-shadow: 0 0 8px rgba(16, 185, 129, 0.5); animation: pulse 2s infinite; transition: all 0.3s ease; } .dot[data-status="connecting"] { background-color: #f59e0b; box-shadow: 0 0 8px rgba(245, 158, 11, 0.5); } .dot[data-status="error"] { background-color: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.5); } .dot[data-status="unauthorized"] { background-color: #6b7280; box-shadow: none; animation: none; } @keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } } .statusText { font-size: 11px; font-weight: 900; color: var(--text-main); letter-spacing: 0.05em; } .timeText { font-size: 11px; font-weight: 600; color: var(--text-muted); border-left: 1px solid var(--border-subtle); padding-left: 8px; margin-left: 4px; } /* Theme Switcher */ .themeWrapper { display: flex; align-items: center; } .themeBtn { background: var(--bg-card); border: 1px solid var(--border-subtle); width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); cursor: pointer; transition: all 0.2s; } .themeBtn:hover { background: var(--bg-hover); color: var(--primary); transform: scale(1.05); } /* Notifications */ .notificationWrapper { position: relative; } .iconButton { background: var(--bg-card); border: 1px solid var(--border-subtle); width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; transition: all 0.2s; } .iconButton:hover { background: var(--bg-hover); border-color: var(--border-hi); } .notificationBadge { position: absolute; top: -4px; right: -4px; width: 8px; height: 8px; background-color: #ef4444; border-radius: 50%; border: 2px solid var(--bg-card); } /* Logout */ .logoutBtn { background-color: #ef4444; color: white; border: none; padding: 8px 20px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 10px rgba(239, 68, 68, 0.2); white-space: nowrap; } @media (max-width: 1200px) { .logoutBtn { padding: 8px 12px; } } .logoutBtn:hover { background-color: #dc2626; transform: translateY(-1px); box-shadow: 0 6px 15px rgba(239, 68, 68, 0.3); } /* Notifications Dropdown */ .notifDropdown { position: absolute; top: calc(100% + 12px); right: 0; width: 320px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.15); padding: 20px; z-index: 1000; animation: slideDown 0.2s ease-out; } .notifHeader { font-size: 14px; font-weight: 800; color: var(--text1); margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); } .notifEmpty { font-size: 12px; color: var(--text3); text-align: center; padding: 20px 0; font-style: italic; } .notifList { display: flex; flex-direction: column; gap: 8px; max-height: 400px; overflow-y: auto; padding-top: 10px; } .notifItem { padding: 12px; border-radius: 12px; background: var(--bg-hover); border-left: 3px solid transparent; transition: all 0.2s; } .notifItem[data-read="false"] { background: var(--primary-glow); border-left-color: var(--primary); } .notifTitle { font-size: 13px; font-weight: 700; color: var(--text1); margin-bottom: 2px; } .notifMsg { font-size: 12px; color: var(--text2); line-height: 1.4; margin-bottom: 4px; } .notifTime { font-size: 10px; color: var(--text3); font-weight: 600; } /* Logout Confirmation */ .logoutWrapper { position: relative; } .logoutConfirm { position: absolute; top: calc(100% + 12px); right: 0; width: 280px; background: var(--bg-card); border-radius: 20px; padding: 24px; box-shadow: 0 30px 60px rgba(0,0,0,0.2); border: 1px solid rgba(0,0,0,0.05); z-index: 1000; text-align: center; } .logoutText { font-size: 18px; font-weight: 800; color: var(--text-main); margin-bottom: 24px; } .logoutActions { display: flex; gap: 12px; } .cancelBtn { flex: 1; background: var(--bg-hover); border: none; padding: 10px; border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--text-muted); cursor: pointer; transition: all 0.2s; } .cancelBtn:hover { background: var(--border-subtle); } .confirmBtn { flex: 1; background: #ef4444; border: none; padding: 10px; border-radius: 10px; font-size: 13px; font-weight: 700; color: white; cursor: pointer; transition: all 0.2s; } .confirmBtn:hover { background: #dc2626; transform: translateY(-1px); }