/* Layout Styles - NOVA FORGE */

.app-container {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg-app);
}

/* Sidebar styling */
.sidebar {
  width: 260px;
  min-width: 260px;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-lg) var(--space-md);
  z-index: 10;
}

/* Right-hand content area */
.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
}

/* Top bar / header navigation */
.header-bar {
  height: 64px;
  min-height: 64px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  background: rgba(11, 15, 25, 0.4);
  backdrop-filter: var(--glass-blur);
  z-index: 5;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.breadcrumbs span.active {
  color: var(--text-main);
}

.breadcrumbs span.separator {
  color: var(--text-muted-dark);
}

/* Right header controls */
.header-controls {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Main workspace page scroll container */
.content-area {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-xl);
  padding-bottom: calc(var(--space-2xl) + 40px); /* Avoid content cut by ticker */
  position: relative;
}

/* Page containers (for routing toggling) */
.page-view {
  display: none;
  height: 100%;
  animation: fadeIn var(--transition-normal);
}

.page-view.active {
  display: block;
}

/* Diagnostics ticker footer */
.diagnostics-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 36px;
  background-color: var(--bg-sidebar);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  z-index: 10;
  pointer-events: none; /* User visual only, links inside can have pointer-events auto if needed */
}

.diagnostics-ticker span {
  display: inline-flex;
  align-items: center;
}

.diagnostics-ticker .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background-color: var(--color-primary);
  border-radius: 50%;
  margin: 0 var(--space-md);
  box-shadow: 0 0 6px var(--color-primary);
}

/* Simple animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
