/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* FONDO */
body {
  min-height: 100vh;
  background: radial-gradient(circle at top, #0f2027, #060b1a 60%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #e8f9ff;
}

/* CONTENEDOR LOGIN */
.login-container {
  width: 380px;
  padding: 35px;
  border-radius: 20px;
  background: rgba(20, 30, 55, 0.55);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 255, 255, 0.12);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  text-align: center;
}

/* SPINNER */
.logo-spinner {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 5px solid rgba(0, 245, 255, 0.2);
  border-top: 5px solid #00f5ff;
  margin: 0 auto 20px;
  animation: spin 1.1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* TEXTOS */
h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 25px;
}

/* FORM */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* INPUTS */
.input-group {
  position: relative;
}

.input-group input {
  width: 100%;
  padding: 14px 14px 14px 45px;
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 255, 0.15);
  outline: none;
  font-size: 15px;
  background: rgba(10, 20, 40, 0.85);
  color: #e8f9ff;
}

.input-group input::placeholder {
  color: #9fb6c5;
}

/* ICONOS */
.icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #00f5ff;
}

/* BOTON */
button {
  margin-top: 10px;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #00f5ff, #5b5cff);
  color: #05070f;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 245, 255, 0.6);
}

/* LINKS */
.form-footer {
  margin-top: 20px;
  font-size: 14px;
}

.form-footer a {
  color: #00f5ff;
  text-decoration: none;
  font-weight: bold;
}

.form-footer a:hover {
  text-decoration: underline;
}

/* FOOTER */
footer {
  margin-top: 25px;
  font-size: 13px;
  opacity: 0.7;
}
