.header-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand-link {
  text-decoration: none;
  justify-content: flex-start;
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}

.header-brand-logo {
  width: 40px;
  border-radius: 6px;
  background: #fff;
  margin-right: 10px;
}

.header-brand-title {
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #00c6fb;
  text-transform: none;
  vertical-align: middle;
}

.header-brand-title .brand-blue { color: #346eeb; }
.header-brand-title .brand-red { color: #eb3734; }
.header-brand-title .brand-yellow { color: #ebc634; }
.header-brand-title .brand-green { color: #3deb34; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 24px;
}

.header-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px #e3eafc33;
  transition: box-shadow 0.2s;
}

.header-nav-link:hover,
.header-nav-link:focus {
  box-shadow: 0 4px 12px #4a90e233;
}

.header-nav-link--business,
.header-nav-link--share {
  background: rgba(255, 255, 255, 0.92);
}

.header-nav-link--share {
  box-shadow: 0 2px 8px #e94e7733;
  position: relative;
}

.share-options {
  display: none;
  position: absolute;
  top: 48px;
  right: 0;
  z-index: 1000;
  background: #fff;
  border: 1px solid #e3eafc;
  border-radius: 10px;
  box-shadow: 0 4px 16px #e94e7733;
  padding: 12px 18px;
  min-width: 180px;
}

.share-options-title {
  font-weight: 600;
  color: #e94e77;
  margin-bottom: 8px;
}

.share-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  color: #346eeb;
  text-decoration: none;
}

.suggestions-label {
  text-align: left;
  max-width: 600px;
  margin: 0 auto 2px auto;
  font-size: 1.08em;
  color: #346eeb;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.search-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 18px 0 0 0;
}

.search-tab {
  padding: 0.3em 0.8em;
  font-size: 0.95em;
}

.search-tab--social {
  display: flex;
  align-items: center;
  gap: 4px;
}

.search-tab-svg {
  vertical-align: middle;
}

.search-form-flex {
  margin-top: 10px;
}

.search-form-hidden {
  display: none;
}

.search-form-label {
  margin-left: 10px;
  font-weight: 500;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.search-region-select {
  margin-left: 6px;
  min-width: 120px;
}

.chat-box {
  padding-bottom: 18px;
  border-bottom: 1px solid #e3eafc;
}

.chat-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-input-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.chat-input {
  margin-bottom: 0;
}

.chat-input-actions {
  display: flex;
  gap: 8px;
}

.chat-attach-btn {
  margin: 0;
  background: #f7f7fa;
  color: #346eeb;
  border: 1px solid #dbeafe;
}

.chat-file-input {
  display: none;
}

.chat-send-btn {
  margin: 0;
}

.chat-reset-btn {
  margin: 0;
  background: #e94e77;
  color: #fff;
}

.chat-spinner {
  display: none;
  vertical-align: middle;
  margin-left: 8px;
}

.chat-file-preview {
  display: none;
  margin-top: 8px;
  border: 2px dashed #dbeafe;
  transition: border-color 0.2s;
}

.chat-upload-progress {
  display: none;
  width: 100%;
  height: 6px;
  background: #e3eafc;
  border-radius: 4px;
  margin-top: 6px;
  overflow: hidden;
}

.chat-upload-bar {
  height: 100%;
  width: 0;
  background: #4a90e2;
  transition: width 0.2s;
}

.news-section {
  margin-top: 24px;
  padding: 16px 0;
  border-bottom: 1px solid #e3eafc;
}

.news-loading {
  color: #888;
}

.sidebar-news-feed {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  min-height: 60px;
  max-width: 100%;
  margin: 0 auto;
}

.sidebar-trending {
  margin-top: 24px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(74, 144, 226, 0.05);
}

.trending-heading {
  font-size: 0.95em;
  color: #666;
  margin: 0 0 12px 0;
  font-weight: 500;
}

.trending-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trending-empty,
.trending-loading {
  color: #666;
  font-style: italic;
  padding: 16px 0;
}

.trending-loading {
  text-align: center;
}

.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #eee;
  border-radius: 50%;
  border-top-color: #4a90e2;
  margin-right: 8px;
  animation: spin 1s linear infinite;
}

.trending-error {
  text-align: center;
  padding: 16px;
  color: #e94e77;
  background: #fff5f7;
  border-radius: 8px;
  margin-bottom: 8px;
}

.trending-error-icon {
  margin-bottom: 4px;
}

.trending-error-subtext {
  font-size: 0.9em;
  opacity: 0.8;
}
