/* frontend/styles/layout.css */

/* App shell */
#app{
  min-height:100%;
}

/* Header fixed */
.app-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  height: calc(var(--header-h) + var(--safe-top));
  padding-top: var(--safe-top);
  background: rgba(247,248,250,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
  display:flex;
  align-items:center;
}

.header-inner{
  width:100%;
  max-width: 1100px;
  margin:0 auto;
  padding: 0 12px;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content: space-between;
}

.header-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 120px;
}

.header-right{
  display:flex;
  align-items:center;
  gap:8px;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border:1px solid var(--border);
  background:var(--card);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  line-height: 1;
  white-space: nowrap;
}

.chip small{
  color: var(--muted);
  font-size: 12px;
}

/* Main area with space for header + bottom nav */
.app-main{
  padding-top: calc(var(--header-h) + var(--safe-top) + 10px);
  padding-bottom: calc(var(--nav-h) + var(--safe-bottom) + 12px);
}

.container{
  width:100%;
  max-width: 1100px;
  margin:0 auto;
  padding: 0 12px;
}
