/* === RESET GENERAL === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* === ESTILOS PARA LOGIN === */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  background: url('./public/login-screen.jpg');
  background-size: cover;
  backdrop-filter: brightness(0.8);
}

#formBox {
  width: 100%;
  max-width: 420px;
  padding: 40px 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  
}

#formBox:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

#formBox h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 50px;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 12px 40px rgba(90, 8, 8, 0.25);
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
}

button[type="submit"] {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff0000, #000000);
  color: white;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

form p {
  text-align: center;
  margin-top: 15px;
  color: #eee;
  font-size: 14px;
}

form a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

form a:hover {
  color: #ff0000;
  text-shadow: 0 0 5px rgba(0, 198, 255, 0.3);
}

/* === ESTILOS PARA DASHBOARD === */
.dashboard-container {
  display: flex;
  min-height: 100vh;
  font-family: 'Segoe UI', sans-serif;
}

.sidebar {
  width: 250px;
  background: #1e293b;
  color: white;
  padding: 20px;
}

.module-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.module-card {
  padding: 15px;
  border-radius: 8px;
  background: #334155;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.module-card:hover {
  background: #475569;
  transform: translateX(5px);
}

.main-content {
  flex: 1;
  padding: 30px;
  background: #f1f5f9;
}

.default-message {
  font-size: 1.2rem;
  color: #64748b;
  text-align: center;
  margin-top: 100px;
}

#logoutBtn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

#logoutBtn:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}