* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Poppins", sans-serif; }

    body {
      background: url("../../public/images/body.png") no-repeat center center fixed;
      background-size: cover;
      background-color: #ffadad;
      color: #333;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* ===== MAIN ===== */
    main {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 60px 20px;
    }

    .welcome {
      background: rgba(255, 255, 255, 0.9);
      padding: 40px 60px;
      border-radius: 16px;
      max-width: 800px;
      backdrop-filter: blur(5px);
      animation: fadeIn 1s ease-in-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(15px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .welcome h1 {
      color: #ffadad;
      font-size: 32px;
      margin-bottom: 15px;
    }

    .welcome p {
      font-size: 17px;
      color: #555;
      margin-bottom: 30px;
    }

    /* ===== DASHBOARD CARDS ===== */
    .dashboard-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
      margin-top: 20px;
    }

    .action-card {
      background: rgba(255, 255, 255, 0.95);
      border: 1px solid rgba(255, 173, 173, 0.3);
      border-radius: 14px;
      width: 200px;
      height: 180px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      color: #333;
      box-shadow: 0 6px 15px rgba(0,0,0,0.05);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .action-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 10px 20px rgba(255, 173, 173, 0.2);
    }

    .action-card i {
      font-size: 40px;
      color: #ffadad;
      margin-bottom: 10px;
    }

    .action-card span {
      font-weight: 600;
      font-size: 16px;
      color: #333;
    }

    /* ===== FOOTER ===== */
    .bottom-links {
      text-align: center;
      padding: 25px 0;
      font-size: 15px;
    }

    .bottom-links a {
      color: #333;
      text-decoration: none;
      margin: 0 12px;
      transition: color 0.3s;
    }

    .bottom-links a:hover { color: #ffadad; }

    .social i {
      font-size: 22px;
      color: #ffadad;
      margin: 0 10px;
      transition: transform 0.2s;
    }

    .social i:hover { transform: scale(1.15); }

    .footer-rights {
      text-align: right;
      padding: 10px 25px;
      font-size: 13px;
      color: #555;
    }

    /* 🔔 Notificaciones */
    .notification-toast {
      position: fixed;
      top: 25px;
      right: 25px;
      background: #90d26d;
      color: white;
      padding: 14px 22px;
      border-radius: 10px;
      box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 500;
      z-index: 9999;
      opacity: 0;
      transform: translateY(-15px);
      transition: all 0.4s ease;
    }
    .notification-toast.error { background: #ff7171; }

  /* ============================================
   📱 RESPONSIVE DASHBOARD (MOBILE PRO 2025)
   ============================================ */
@media (max-width: 480px) {

  html {
    height: 100vh;
    overflow: hidden;
  }

  /* --- Ajustes generales --- */
  body {
  height: 100vh;
  overflow: hidden;     /* 🔥 EVITA EL FONDO BLANCO GIGANTE */
  background-size: cover;
  background-position: center;
  }

  main {
  padding: 5px 10px;
  justify-content: center;
  height: calc(100vh - 60px);   /* 🔥 resta el header */
  overflow: hidden;             /* 🔥 bloquea el crecimiento */
  display: flex;
  align-items: center;
  flex-direction: column;
  }

  .welcome {
      padding: 15px 18px;
      width: 92%;
      max-width: 330px;
      border-radius: 14px;
      background: rgba(255,255,255,0.88);

      display: flex;
      flex-direction: column;
      gap: 10px;

      /* 🔥 LO IMPORTANTE */
      height: auto;          /* Se ajusta al contenido */
      min-height: 260px;     /* Asegura una forma bonita */
  }

  .welcome h1 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;        /* 🔥 reduce alto vertical */
    margin-bottom: 6px;      /* 🔥 menos espacio */
  }

  /* --- Contenedor del grid --- */
  .dashboard-actions {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    margin-top: 10px;
    justify-items: center;
  }

  /* --- Cards profesionales --- */
  .action-card {
    width: 100%;
    height: 120px;
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);

    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid rgba(255, 173, 173, 0.25);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    transition: all 0.25s ease;
  }

  .action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 173, 173, 0.25);
  }

  /* --- Iconos más finos y modernos --- */
  .action-card i {
    font-size: 28px;
    margin-bottom: 6px;
    color: #ffadad;
  }

  .action-card span {
    font-size: 14px;
    font-weight: 600;
  }

  /* --- Header mobile --- */
  header {
    height: 60px;
    padding: 0 15px;
  }

  .logo {
    font-size: 20px;
  }

  .nav-icons {
    gap: 18px;
  }

  .nav-icons a i {
    font-size: 18px;
  }
}

/* ===== TOP BAR ===== */
.top-bar {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 20px;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid rgba(255,173,173,0.3);
}

.app-title {
  font-weight: 700;
  font-size: 20px;
  color: #ffadad;
}

.menu-btn,
.close-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: #ffadad;
  cursor: pointer;
}

/* ===== DRAWER IZQUIERDO ===== */
.drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100%;
  background: #fff;
  box-shadow: 10px 0 25px rgba(0,0,0,0.15);
  transition: left 0.3s ease;
  z-index: 1001;
}

.drawer.open {
  left: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,173,173,0.3);
}

.drawer-nav {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-nav a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
}

.drawer-nav i {
  margin-right: 10px;
  color: #ffadad;
}

/* ===== OVERLAY ===== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 1000;
}

.drawer-overlay.show {
  opacity: 1;
  pointer-events: all;
}
