/* =====================================================================
   topbar.css - JessOS System Top Bar
   Dark Theme - Based on GNOME Professional Solid Dark
   ===================================================================== */

/* ===================== TOP BAR (System Bar) ===================== */
.top-bar {
  position: relative;
  height: 34px;
  background: linear-gradient(to bottom, #3a3a3a, #252525);
  color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-size: 12px;
  flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.6);
  z-index: 200;
  text-shadow: var(--text-shadow);
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.top-bar-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-bar-dot {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.top-bar-title {
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* JessOS Branding */
.top-bar-jessos {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-family: "Georgia", "Times New Roman", serif !important;
  font-size: 15px;
  font-weight: 700;
}

.top-bar-jessos .jessos-be {
  color: #c45307;
  font-family: inherit !important;
}

.top-bar-jessos .jessos-os {
  color: #cca000;
  font-family: inherit !important;
}

.top-bar-jessos .jessos-version {
  font-size: 11px;
  font-weight: 400;
  color: #aaaaaa;
  margin-left: 2px;
  font-family: inherit !important;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-variant-numeric: tabular-nums;
}

.top-bar-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
  image-rendering: crisp-edges;
  image-rendering: -webkit-optimize-contrast;
}

.top-bar-icon.clickable {
  cursor: pointer;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.top-bar-icon.clickable:hover {
  opacity: 1;
}

.top-bar-clock {
  min-width: 62px;
  text-align: center;
}

/* Logout Button - Adwaita Top Bar Style */
.top-bar-logout {
  padding: 4px 12px;
  border-radius: 99px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #f1f1f1;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  cursor: url('/img/jessos-cursor.png'), auto;
  text-shadow: var(--text-shadow);
}

.top-bar-logout:hover {
  background: rgba(255, 255, 255, 0.18);
}

.top-bar-logout:active {
  background: rgba(255, 255, 255, 0.08);
}
