body {
  font-family: Arial, sans-serif;
  padding: 20px;
  /* background: #e0e0e0; */
}

h2 {
  text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

th, td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #f0f0f0;
}

a {
  text-decoration: none;
  color: #007bff;
}

a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }

  th {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  td {
    border: none;
    position: relative;
    padding-left: 50%;
    margin-bottom: 10px;
  }

  td:before {
    position: absolute;
    left: 10px;
    top: 10px;
    white-space: nowrap;
    font-weight: bold;
  }

  td:nth-of-type(1):before { content: "Nombre"; }
  td:nth-of-type(2):before { content: "Categoría"; }
  td:nth-of-type(3):before { content: "Stock"; }
  td:nth-of-type(4):before { content: "Acciones"; }

}

.login-logo {
    width: 100%;  /* ocupar el ancho del col-md-4 */
    height: auto;
    padding: 10px 0;
}

/* ===== Landing temporal ===== */
.landing-bg {
  margin: 0;
  padding: 0;
  height: 100vh;
  background: url('../img/fondo/fondo-1.png') no-repeat center center fixed;
  background-size: cover;
  position: relative;
  color: #fff;
  font-family: 'Arial', sans-serif;
}

.landing-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

.landing-content {
  position: relative;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 20px;
}

.landing-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.landing-subtitle {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.landing-text {
  font-size: 1.2rem;
  opacity: 0.9;
}

.login-access {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
}

.login-access a {
  color: #fff;
  font-size: 2rem;
  text-decoration: none;
}

.login-access a:hover {
  color: #fbc02d;
}
