/* ============================================================
   🎧 Harmonix — Layout.css (v2.0.0)
   Structure principale app + sidebar + main
   ============================================================ */

.app, .app-page {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* Main content */
#content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: var(--player-height);
}

/* Pages internes */
.page {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 5px;
}

/* Header de page */
.page-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Welcome section */
.welcome-section {
  text-align: center;
  margin-bottom: 32px;
}

.welcome-section h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.welcome-section p {
  color: var(--text-muted);
}

.gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 16px auto;
  border-radius: 2px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 150;
  width: 40px;
  height: 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .page {
    padding: 16px;
    padding-top: 5px;
  }
}