/* ===========================
    BASE Y ESTILOS GENERALES
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background: #f3f5f9;
  margin: 0;
  padding: 0;
  color: #222;
  text-align: center;
}

/* ===========================
        HEADER
=========================== */

 img { height: 60px; vertical-align: middle; margin-right: 10px; }
h1 {
  background: linear-gradient(135deg, #2b4c7e, #ff7b00);
  color: white;
  padding: 20px 0;
  margin: 0 0 30px 0;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  font-size: 28px;
}

/* ===========================
        TARJETAS STATS
=========================== */

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  padding: 0 20px;
}

.stat {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  width: 230px;
  padding: 25px 15px;
  transition: all 0.25s ease;
}

.stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.stat h2 {
  color: #2b4c7e;
  font-size: 17px;
  margin-bottom: 10px;
}

.stat p {
  font-size: 38px;
  color: #111;
  font-weight: 600;
  margin: 0;
}

/* ===========================
        MENÚ PRINCIPAL
=========================== */

.menu {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 0 20px;
}

.btn {
  background: #2b4c7e;
  color: white;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.btn:hover {
  background: #ff7b00;
  transform: translateY(-3px);
}

/* ===========================
        HOME ICON
=========================== */

.home-icon {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 9999;
  font-size: 36px;
  background:#fff;
  border-radius:50%;
  padding: 6px 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  color:#2b4c7e;
}

.home-icon:hover {
  color:#ff7b00;
  transform:scale(1.1);
}

/* ===========================
        RESPONSIVE
=========================== */

@media (max-width: 768px) {
  h1 { font-size: 22px; }
  .stat { width: 90%; }
  .btn { width: 90%; text-align:center; }
}

/*********
/* BOTONES VERTICALES */
.actions-vertical {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.btn-edit {
  background: #2b4c7e;
}

.btn-delete {
  background: #ff4444;
}

.btn-delete:hover {
  background: #cc0000;
}
