@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
  font-family: var(--font-arial, 'Roboto', Arial, sans-serif);
  background: var(--color-gris-claro, #f5f5f5);
  margin: 0;
}

.dashboard-login {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: rgba(0,0,0,0.05);
}
.dashboard-login form {
  background: #fff;
  padding: 2rem 2.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 300px;
}
.dashboard-login h2 {
  margin-bottom: 1rem;
  font-family: var(--font-arial-bold, 'Roboto', Arial, sans-serif);
  font-size: 1.5rem;
  text-align: center;
}
.dashboard-login input {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}
.dashboard-login button {
  background: var(--color-verde-pastel, #86ba93);
  color: #fff;
  border: none;
  padding: 0.7rem;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.dashboard-login button:hover {
  background: var(--color-verde-oscuro, #145a32);
}

.dashboard-container {
  display: flex;
  min-height: 100vh;
}
.dashboard-sidebar {
  width: 250px;
  background: var(--color-gris-oscuro, #333);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
  gap: 2rem;
}
.sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.2rem;
  font-family: var(--font-arial-bold, 'Roboto', Arial, sans-serif);
}
.dashboard-sidebar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dashboard-sidebar nav a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background 0.2s;
}
.dashboard-sidebar nav a.active,
.dashboard-sidebar nav a:hover {
  background: var(--color-verde-pastel, #86ba93);
  color: #222;
}
.dashboard-main {
  flex: 1;
  padding: 2rem 2vw;
  background: #fff;
  min-width: 0;
}
.dashboard-main section {
  margin-bottom: 2.5rem;
}
.dashboard-main h2 {
  font-family: var(--font-arial-bold, 'Roboto', Arial, sans-serif);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.btn-nueva-entrada,
.btn-nueva-categoria,
.btn-nueva-media {
  background: var(--color-verde-pastel, #86ba93);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 1rem;
  transition: background 0.2s;
}
.btn-nueva-entrada:hover,
.btn-nueva-categoria:hover,
.btn-nueva-media:hover {
  background: var(--color-verde-oscuro, #145a32);
}
.entradas-lista,
.categorias-lista,
.media-lista,
.extractos-lista,
.usuarios-lista {
  background: var(--color-gris-claro, #f5f5f5);
  border-radius: 8px;
  padding: 1rem;
  min-height: 100px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
@media (max-width: 900px) {
  .dashboard-container {
    flex-direction: column;
  }
  .dashboard-sidebar {
    width: 100%;
    flex-direction: row;
    gap: 1rem;
    padding: 1rem 0.5rem;
    overflow-x: auto;
  }
  .dashboard-sidebar nav ul {
    flex-direction: row;
    gap: 0.5rem;
  }
  .dashboard-main {
    padding: 1rem 2vw;
  }
}
@media (max-width: 600px) {
  .dashboard-main {
    padding: 0.5rem 1vw;
  }
  .dashboard-login form {
    min-width: 90vw;
    padding: 1rem 0.5rem;
  }
}
