/* Variables de color */
:root {
  --primary-color: #333;
  --secondary-color: #555;
  --accent-color: #888;
}

/* Layout general */
body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  font-family: Arial, sans-serif;
}

/* Navbar */
.navbar {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
}
.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}
.navbar-menu {
  list-style: none;
  display: flex;
  gap: 15px;
}
.navbar-menu a {
  color: white;
  text-decoration: none;
}

/* Main Content */
.main-content {
  padding: 20px;
}

/* Estilos para la sección de registro (similar a login) */
.register-section {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.register-section h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
}
.register-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.register-form label {
  font-weight: bold;
  color: var(--secondary-color);
}
.register-form input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.register-form button {
  padding: 10px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.register-form button:hover {
  background-color: var(--secondary-color);
}
.login-link {
  text-align: center;
  color: var(--accent-color);
}
.login-link a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  text-align: center;
}
.footer-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links {
  list-style: none;
  display: flex;
  gap: 15px;
  justify-content: center;
}
.footer-links a {
  color: white;
  text-decoration: none;
}
