body.bg {
  margin: 0;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  background: linear-gradient(135deg, #5f6cff, #7a5fff);

  display: flex;
  justify-content: center;
  align-items: flex-start; /* 👈 CLAVE */

  padding-top: 40px;
}

.container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.card {
  padding: 30px;
}

.logo {
  text-align: center;
  color: #fff;
  font-size: 28px;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}

input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: none;
  outline: none;
}

button {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #fff;
  font-weight: bold;
  cursor: pointer;
}

.dashboard {
  width: 100%;
  max-width: 1000px;
}

.header {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  margin-bottom: 20px;
  color: white;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.stat {
  text-align: center;
  color: white;
  padding: 25px;
}

.stat h3 {
  font-size: 28px;
  margin-bottom: 5px;
}

.stat p {
  opacity: 0.8;
}

.main-action {
  margin-top: 20px;
  text-align: center;
}

.btn-primary {
  display: inline-block;
  padding: 12px 20px;
  background: white;
  border-radius: 10px;
  text-decoration: none;
  color: black;
  font-weight: bold;
}

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #000;
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
}

.header-pro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  margin-bottom: 25px;
  color: white;
}

.right {
  display: flex;
  gap: 10px;
}

.nav-btn {
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: white;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  font-size: 14px;
  transition: 0.2s;
}

.nav-btn:hover {
  background: rgba(255,255,255,0.25);
}

.nav-btn.primary {
  background: white;
  color: black;
  font-weight: 600;
}

.nav-btn.primary:hover {
  opacity: 0.9;
}

.nav-btn.danger {
  background: rgba(255, 80, 80, 0.2);
}

.nav-btn.danger:hover {
  background: rgba(255, 80, 80, 0.4);
}