@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

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

body {
  background-color: #f4f6f9;
  padding-top: 90px; /* Compensa el header fijo */
}

.dashboard {
  display: flex;
  flex-wrap: wrap;
}


/* -------------------------
   CONTENIDO PRINCIPAL
-------------------------- */
.main-content {
  margin-left: 0;
  flex: 1;
  padding: 30px;
  transition: margin-left 0.3s ease;
}


/* -------------------------
   BOTÓN ☰ HAMBURGUESA
-------------------------- */
#toggleSidebar {
  background-color: #3726ec;
  color: white;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 22px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  border: none;
  cursor: pointer;
}

/* -------------------------
   OVERLAY OSCURO
-------------------------- */
.overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 998;
  display: none;
  backdrop-filter: blur(4px);
}

/* -------------------------
   RESPONSIVE
-------------------------- */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    transform: translateX(-100%);
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
    padding: 20px 10px;
  }

  #buscador {
    width: 95%;
  }

  .producto {
    width: 100%;
  }

  #toggleSidebar {
    display: block;
  }
}

.phone-group {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.phone-group select, .phone-group input {
  flex: 1;
  padding: 8px;
}

#demo-form input, #demo-form button, #demo-form select {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  box-sizing: border-box;
}


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


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

