/* =============================================================================
   shell.css — Shell superior do Account SPA
   ============================================================================= */

#app {
  height: 100vh;
  overflow: hidden;
  background: rgb(var(--background-color, var(--lv-background-color)));
}

.acc-shell {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgb(var(--background-color, var(--lv-background-color)));
}

.acc-topbar {
  display: flex;
  flex-direction: column;
  background: rgb(var(--slate-1, var(--lv-slate-1)));
  flex-shrink: 0;
}

.acc-topbar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0 1rem;
}

.acc-topbar__logo {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.acc-topbar__copy {
  min-width: 0;
}

.acc-topbar__title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.acc-topbar__title {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.4;
  font-weight: 600;
  color: rgb(var(--lv-slate-12));
}

.acc-topbar__version {
  display: inline-flex;
  align-items: center;
  min-height: 1.375rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: rgb(var(--lv-slate-3));
  font-size: 0.75rem;
  font-weight: 500;
  color: rgb(var(--lv-slate-10));
}

.acc-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

#view {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 1.5rem;
  background: rgb(var(--background-color, var(--lv-background-color)));
}

/* --- Toast container --- */
#toast-container {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 99999 !important;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

#toast-container > * {
  pointer-events: auto;
  z-index: 100000 !important;
}

@media (max-width: 720px) {
  .acc-topbar__brand {
    min-height: 48px;
    padding-inline: 0.875rem;
  }

  #view {
    padding: 1rem;
  }
}
