/* --- ESTILOS GLOBALES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: linear-gradient(135deg, #007bff, #00c6ff);
}

/* --- CONTENEDOR DEL LOGIN --- */
.login-container {
  background: white;
  width: 350px;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  text-align: center;
  animation: fadeIn 1s ease;
}

.login-container h2 {
  margin-bottom: 20px;
  color: #333;
  font-size: 28px;
}

/* --- INPUTS --- */
.input-group {
  position: relative;
  margin-bottom: 25px;
}

.input-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  transition: all 0.3s;
}

.input-group input:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0,123,255,0.5);
}

/* --- BOTÓN --- */
.btn {
  width: 100%;
  background: #007bff;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.btn:hover {
  background: #0056b3;
}

/* --- ENLACE --- */
.register-link {
  display: block;
  margin-top: 20px;
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
}

.register-link:hover {
  text-decoration: underline;
}

/* --- ANIMACIÓN --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #007bff, #00c6ff);
    color: white;
    text-align: center;
}

.login-container, .inicio-container {
    background: white;
    color: #333;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 350px;
}

h1, h2 {
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

.input-group input:focus {
    border-color: #007bff;
    outline: none;
}

.btn, .menu-btn {
    display: inline-block;
    padding: 12px 20px;
    margin: 10px 0;
    border-radius: 8px;
    border: none;
    background: #007bff;
    color: white;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover, .menu-btn:hover {
    background: #0056b3;
}

#mensaje-error {
    color: red;
    font-weight: bold;
    margin-top: 10px;
}

.menu-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

