/* ── Header bar ─────────────────────────────────────────────────── */

.header-bar {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background-color: rgba(10, 12, 11, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-logo {
  height: 80px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.header-bar .title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.title-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.role-badge {
  background-color: var(--accent-color);
  color: #0A1A10;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

/* ── OS Version Badge — identical styling to the version badge ────
   ── shown next to titles in the service modal windows ──────────── */
.os-version-badge {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── IP bar ─────────────────────────────────────────────────────── */

.ip-bar {
  background-color: rgba(10, 12, 11, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.ip-bar .ip-label {
  color: var(--text-dim);
  margin-right: 6px;
}

.ip-bar .ip-value {
  font-family: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', monospace;
  color: var(--accent-color);
  font-weight: 600;
}

.ip-separator {
  color: var(--border-color);
}
.btn-logout {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.btn-logout:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

/* ── Header reboot button ───────────────────────────────────────── */

.btn-header-reboot {
  background: transparent;
  border: 1px solid rgba(184, 125, 0, 0.35);
  color: #c98d08;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}

.btn-header-reboot:hover {
  border-color: #b87d00;
  color: #e0a010;
  background-color: rgba(184, 125, 0, 0.1);
}

@media (max-width: 480px) {
  .btn-header-reboot {
    padding: 4px 8px;
    font-size: 0.72rem;
  }
}
