* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial;
}
body {
  background: #f9f9f9;
  color: #333;
  /* padding: 20px;
  max-width: 1200px; */
  margin: 0 auto;
}
.container {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
}
h2 {
  font-weight: 300;
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #222;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 0.9rem;
}
th {
  text-align: left;
  padding: 12px;
  border-bottom: 2px solid #e0e0e0;
  font-weight: 500;
  color: #555;
  text-transform: uppercase;
  font-size: 0.85rem;
}
td {
  padding: 12px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}
tr:hover {
  background: #fafafa;
}
.image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
img.mini {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}
.btn-ver {
  background: transparent;
  color: #333;
  padding: 6px 14px;
  border: 1px solid #ddd;
  cursor: pointer;
  border-radius: 4px;
}
.btn-ver:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}
.no-image {
  color: #999;
  font-style: italic;
  padding: 10px;
}
.image-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.image-preview img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}
.close-preview {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* Botón eliminar */
.btnEliminar {
  /* background: #d32f2f; */
  /* color: white; */
  color: black;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}
.btnEliminar:hover {
  background: #b71c1c;
  color: #fff;
}

@media (max-width: 768px) {
  body {
    padding: 10px;
  }
  .container {
    padding: 15px;
  }
  table {
    display: block;
    overflow-x: auto;
  }
  th,
  td {
    padding: 10px 8px;
  }
  img.mini {
    width: 80px;
    height: 80px;
  }
}


/* nuevo menu navbar */

.navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 20px;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  text-decoration: none;
  color: #333333;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #000000;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #000000;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333333;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Estilos para dispositivos móviles 768 */
@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: #ffffff;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 15px 0;
  }

  .hamburger {
    display: block;
  }

  /* Animación del menú hamburguesa */
  .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

/* fin style menu fin 

        /* (tu CSS existente; opcionalmente lo copié tal cual) */
