body {
	font-family: Arial, sans-serif;
	max-width: 400px;
	margin: 40px auto;
	padding: 20px;
	border: 1px solid #ccc;
	border-radius: 5px;
}

input, button {
	width: 100%;
	padding: 8px;
	margin: 10px 0;
}

button {
	background-color: #4CAF50;
	color: white;
	border: none;
	cursor: pointer;
}

button:hover {
	background-color: #45a049;
}

/* Dashboard panel administrador */
/* Reset básico */
* {
  margin: 0; padding: 0; box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  display: flex;
  min-height: 100vh;
  background: #f4f7fa;
  color: #333;
}

/* Menú lateral */
nav.sidebar {
  width: 220px;
  background-color: #24292e;
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
nav.sidebar h2 {
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-align: center;
  user-select: none;
}
nav.sidebar a {
  color: #bbb;
  padding: 12px 15px;
  margin-bottom: 8px;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}
nav.sidebar a:hover, nav.sidebar a.active {
  background-color: #0366d6;
  color: #fff;
}

/* Contenedor principal */
main.content {
  flex-grow: 1;
  padding: 25px 30px;
}

/* Header */
header.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px;
}
header.topbar h1 {
  font-size: 1.8rem;
  font-weight: 700;
}
header.topbar button {
  background-color: #e55353;
  border: none;
  color: white;
  padding: 8px 14px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}
header.topbar button:hover {
  background-color: #c74141;
}

/* Secciones */
section.stats {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}
section.stats .card {
  flex: 1;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.1);
  text-align: center;
}
section.stats .card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #555;
}
section.stats .card p {
  font-size: 2rem;
  font-weight: 700;
  color: #0366d6;
}

/* Tabla usuarios */
section.users {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.1);
}
section.users h2 {
  margin-bottom: 15px;
  font-weight: 700;
  color: #333;
}
table {
  width: 100%;
  border-collapse: collapse;
}
table thead {
  background-color: #0366d6;
  color: white;
}
table th, table td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}
table tbody tr:hover {
  background-color: #f0f7ff;
}
/*  final Dashboard panel administrador */