/* Topbar styles for OnlyPrompt - clean, modern, full-width - search bar centered (expands on full screen), profile avatar always on the right - ONLY search bar and avatar have rounded corners */ .topbar-shell { width: 100%; background: #ffffff; border-bottom: 1px solid #eef2f7; padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; gap: 18px; } .topbar-search { flex: 1; /* Takes all available space */ max-width: none; /* No upper limit, expands freely */ display: flex; align-items: center; gap: 12px; background: #f8fafc; border: 1px solid #e2e8f0; padding: 10px 20px; border-radius: 14px; /* Rounded like login inputs */ } .topbar-search i { color: #94a3b8; font-size: 1.3rem; } .topbar-search input { width: 100%; border: none; outline: none; background: transparent; font-size: 0.95rem; color: #334155; } .topbar-search input::placeholder { color: #94a3b8; font-weight: 400; } /* Icons and avatar container */ .topbar-actions { display: flex; align-items: center; gap: 16px; } .topbar-icon-btn { background: transparent; border: none; font-size: 1.4rem; color: #475569; cursor: pointer; padding: 8px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.2s, color 0.2s; } .topbar-icon-btn:hover { background: #f1f5f9; color: #3b82f6; } .topbar-avatar-btn { border: none; background: transparent; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; } .topbar-avatar { width: 48px; height: 48px; object-fit: cover; border: 1px solid #e2e8f0; border-radius: 50%; /* Avatar round */ } /* Responsive adjustments */ @media (max-width: 768px) { .topbar-shell { padding: 12px 20px; } .topbar-search { padding: 8px 16px; } .topbar-search i { font-size: 1.1rem; } .topbar-avatar { width: 40px; height: 40px; } .topbar-icon-btn { font-size: 1.2rem; padding: 6px; } .topbar-actions { gap: 8px; } } @media (max-width: 480px) { .topbar-shell { padding: 10px 16px; } .topbar-search { padding: 6px 12px; } }