/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Corpo da página: centralização e tema escuro */
body {
  font-family: sans-serif;
  background: #121212;
  color: #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Container principal com cantos arredondados */
.app-container {
  background: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  max-width: 1200px;
  width: 100%;
}

/* Cabeçalho com logo, título e slogan */
.cabecalho {
  display: flex;
  align-items: center;
  background: #232323;
  padding: 16px;
  border-bottom: 1px solid #333;
}
.logo {
  width: 80px;     /* alterado conforme seu ajuste */
  height: 80px;
  margin-right: 12px;
}
.cabecalho h1 {
  color: #8bc34a;
  font-size: 1.8rem;
}
.slogan {
  color: #8bc34a;
  font-style: italic;
  margin-left: 16px;
}

/* Layout com barra lateral e painel de notas */
.conteudo-principal {
  display: flex;
}

/* Barra lateral: menu de navegação */
.barra-lateral {
  width: 250px;
  background: #1b1b1b;
  border-right: 1px solid #333;
  padding: 16px;
}
.barra-lateral .busca input {
  width: 100%;
  padding: 8px;
  background: #292929;
  border: none;
  border-radius: 4px;
  color: #e0e0e0;
}
.menu ul {
  list-style: none;
  margin-top: 16px;
}
.menu li {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}
.menu li:hover {
  background: #292929;
}

/* Painel de notas com layout responsivo */
.painel-notas {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  padding: 16px;
}

/* Cartões de nota com arredondamento */
.nota {
  padding: 16px;
  border-radius: 8px;
  min-height: 120px;
  cursor: default;
  color: #333;
}
.nota.amarela { background: #fef08a; }
.nota.azul    { background: #a5f3fc; }
.nota.rosa    { background: #fbcfe8; }
.nota.laranja { background: #fed7aa; }

/* Cartão "+": para adicionar novas notas */
.nota.adicionar {
  background: #292929;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: #8bc34a;
}
.nota.adicionar:hover {
  background: #333;
}

/* Suporte a tema escuro via preferências do sistema */
@media (prefers-color-scheme: dark) {
  html {
    color-scheme: dark light;
  }
}
