/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Painel — layout light, sidebar fixa e container principal limitado/centralizado. */
:root {
  --app-sidebar-width: 240px;
  --app-page-bg: #f4f5f7;
  --app-border: #e3e6ea;
}

body {
  background-color: var(--app-page-bg);
}

.app-shell {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
}

.app-sidebar {
  flex: 0 0 var(--app-sidebar-width);
  background-color: #fff;
  border-right: 1px solid var(--app-border);
  padding: 1.75rem 1.25rem;
}

.app-brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  color: #1f2733;
}

.app-sidebar .menu-list a {
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
}

.app-main {
  flex: 1 1 auto;
  padding: 2.5rem 2rem;
  min-width: 0;
}

/* Container principal: largura limitada e centralizado. */
.app-container {
  max-width: 960px;
  margin: 0 auto;
}

/* Cartões/painéis com respiro consistente. */
.app-container .box,
.app-container .panel {
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

@media (max-width: 768px) {
  .app-shell { display: block; }
  .app-sidebar {
    flex-basis: auto;
    border-right: 0;
    border-bottom: 1px solid var(--app-border);
  }
  .app-main { padding: 1.5rem 1rem; }
}
