/* ============================
   style.css
   ERP Blanco & Negro
   ============================ */

/* Reset simple */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* Layout principal */
body {
  background: #fff;
  color: #000;
}

header {
  background: #000;
  color: #fff;
  padding: 1rem;
  text-align: center;
}

aside {
  width: 200px;
  background: #f5f5f5;
  padding: 1rem;
  float: left;
  min-height: 100vh;
}

main {
  margin-left: 220px;
  padding: 2rem;
}

/* Links */
a {
  color: #000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Tablas */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th, td {
  border: 1px solid #000;
  padding: 0.5rem;
  text-align: left;
}

th {
  background: #000;
  color: #fff;
}

tr:nth-child(even) {
  background: #f0f0f0;
}

/* Formularios */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #000;
  margin: 0.5rem 0;
}

button {
  background: #000;
  color: #fff;
  padding: 0.7rem 1.2rem;
  border: none;
  cursor: pointer;
}

button:hover {
  background: #333;
}

/* Línea de tiempo básica */
.timeline {
  position: relative;
  padding-left: 40px;
  margin: 2rem 0;
  border-left: 4px solid #000;
}

.timeline-event {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-event::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 0;
  width: 20px;
  height: 20px;
  background: #000;
  border-radius: 50%;
}

.timeline-event h4 {
  margin-bottom: 0.3rem;
}

.timeline-event p {
  margin-bottom: 0.2rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  background: #f5f5f5;
  border-top: 1px solid #000;
}