* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Nunito',sans-serif; }

.login-bg {
  min-height: 100vh;
  background: linear-gradient(135deg, #050d1a 0%, #0a1628 50%, #0f1f3d 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; position: relative; overflow: hidden;
}

.login-bg::before {
  content: '';
  position: absolute; right: -100px; top: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(240,165,0,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.login-bg::after {
  content: '';
  position: absolute; left: -80px; bottom: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(27,108,168,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.login-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 48px 40px;
  width: 100%; max-width: 420px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  position: relative; z-index: 1;
}

.login-logo { text-align: center; margin-bottom: 36px; }

.logo-circle {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #F0A500, #FFB830);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #050d1a; font-weight: 800; font-size: 1.3rem;
  margin: 0 auto 16px;
  box-shadow: 0 0 30px rgba(240,165,0,0.3);
}

.login-titulo { font-size: 1.3rem; font-weight: 800; color: #fff; }
.login-sub { font-size: 0.9rem; color: #94a3b8; margin-top: 4px; }

.login-error {
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.3);
  color: #fca5a5; padding: 12px 16px;
  border-radius: 10px; font-size: 0.9rem; margin-bottom: 20px;
}

.campo { margin-bottom: 20px; }

.campo label {
  display: block; font-weight: 700;
  color: #e2e8f0; margin-bottom: 8px; font-size: 0.95rem;
}

.campo input {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  color: #fff; outline: none; transition: border-color 0.2s;
}

.campo input::placeholder { color: rgba(255,255,255,0.3); }
.campo input:focus { border-color: rgba(240,165,0,0.5); background: rgba(255,255,255,0.08); }

.btn-login {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, #F0A500, #FFB830);
  color: #050d1a; border: none; border-radius: 10px;
  font-size: 1rem; font-weight: 800;
  font-family: 'Nunito', sans-serif; cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(240,165,0,0.3);
}

.btn-login:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(240,165,0,0.4); }
.btn-login:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.volver-link {
  display: block; text-align: center;
  margin-top: 24px; color: #94a3b8;
  text-decoration: none; font-size: 0.9rem; font-weight: 600;
  transition: color 0.2s;
}
.volver-link:hover { color: #F0A500; }
.logo-img-login {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--dorado);
  box-shadow: 0 0 20px rgba(240,165,0,0.35);
  margin-bottom: 0.5rem;
}