/* ============================================================
   Hub Landing — top bar + rozcestník tiles (H3 2026-05-17)
   Linkuje se SAMOSTATNĚ vedle style.css (food brand base) v base/login.html.
   ============================================================ */

.hub-app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.top-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 24px;
  background: #0A0A0A;
  border-bottom: 1px solid var(--border);
}

.top-bar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 16px;
}

.top-bar__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  flex: 1;
}

.top-bar__link {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
  transition: background 0.12s ease, color 0.12s ease;
}

.top-bar__link:hover {
  background: rgba(245, 241, 232, 0.04);
  color: var(--text);
}

.top-bar__link--active {
  background: rgba(90, 143, 58, 0.12);
  color: var(--accent);
}

.top-bar__user .top-bar__logout {
  font-size: 13px;
}

.hub-main {
  flex: 1;
  padding: 32px 24px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.hub-footer {
  padding: 16px 24px;
  font-size: 12px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.hub-home__header {
  margin-bottom: 32px;
}

.hub-home__title {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 1px;
  margin: 0 0 4px 0;
}

.hub-home__sub {
  margin: 0;
  font-size: 14px;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--text);
  min-height: 180px;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.tile--active:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--surface-elev);
}

.tile--disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.tile__icon {
  font-size: 36px;
}

.tile__title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1px;
}

.tile__desc {
  flex: 1;
  font-size: 14px;
  color: var(--text-secondary);
}

.tile__cta {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
