body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #dbeeff, #a0c4ff);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

/* Preload */
#preload {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #dbeeff, #a0c4ff);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1s ease;
}

.logo-preload {
  width: 100px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

/* Login */
.login-container {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  text-align: center;
  width: 320px;
  opacity: 0;
  transition: opacity 1s ease;
}

.logo-login {
  width: 200px;
  margin-bottom: 10px;
}

h2 {
  margin-bottom: 20px;
  color: #2a6fd1;
}

.input-group {
  display: flex;
  align-items: center;
  background: #f0f0f0;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 15px;
}

.input-group span {
  margin-right: 10px;
  font-size: 18px;
}

.input-group input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 14px;
}

button {
  background: #2a6fd1;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}


.login-container {
  position: relative;
  background-color: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  text-align: center;
  width: 320px;
  overflow: hidden;
}

/* Imagen tenue como fondo tipo tatuaje 
.login-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/login.png');
  background-size: cover;
  background-position: center;
  opacity: 0.05; 
  z-index: 0;
  pointer-events: none;
}
*/
/* Imagen recortada en esquina inferior derecha */
.login-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 220px;
  height: 220px;
  background-image: url('../img/Logo.svg');
  background-size: 220px; /* Ajusta según el recorte deseado */
  background-position: bottom right;
  background-repeat: no-repeat;
  opacity: 0.2;
  z-index: 1;
  pointer-events: none;
}

/* Contenido encima del fondo */
.login-container > * {
  position: relative;
  z-index: 2;
}
