* { -webkit-tap-highlight-color: transparent; }

a, button, div[onclick], [role='button'], li {
  -webkit-tap-highlight-color: transparent;
}
:root {
  --theme_1: #19d7de;
  --inv_bg: #0d2137;
  --inv_accent: #28a7a1;
  --inv_card: #112d42;
  --inv_text: #e0f7f6;
}

.title_panel,
.title_valores {
  padding: 15px;
  font-size: 25px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

body {
  width: 100%;
  position: relative;
  height: auto;
}
main{
  min-width: 320px;
  max-width: 600px;
  width: 100%;
}
.title_main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  margin: 20px 0;
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  background-color: var(--inv_accent);
  color: white;
  text-align: center;
  width: 100%;
  border-radius: 6px;
  letter-spacing: 2px;
}

form input {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: "Roboto", sans-serif;
}

form {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 10px;
}

#des {
  max-width: 100%;
  min-height: 100px;
  max-height: 300px;
  height: 100%;
  width: 100%;
}

/* CONTENEDOR PRINCIPAL */
.container_valores {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  background-color: var(--inv_bg);
  display: none;
  overflow: hidden;
}

.container_valores > * {
  width: 100%;
  background-color: var(--inv_card);
}

/* BLOQUES DE CATEGORIAS Y PRODUCTOS */
.container_cat,
.container_prod {
  display: flex;
  flex-direction: column;
  height: 300px;
  border-bottom: 2px solid rgba(255,255,255,0.08);
}

.title_valores {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--inv_text);
  flex-shrink: 0;
  background-color: var(--inv_accent);
  margin-top: 0;
}

.lista_categorias,
.lista_prod {
  list-style: none;
  width: 100%;
  text-align: center;
  padding: 8px;
  color: white;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--inv_accent) transparent;
}

.lista_categorias li,
.lista_prod li {
  width: auto;
  text-align: left;
  padding: 8px 12px;
  margin: 4px 0;
  border-radius: 6px;
  background-color: rgba(40, 167, 161, 0.15);
  border-left: 3px solid var(--inv_accent);
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  color: var(--inv_text);
  box-sizing: border-box;
  transition: background-color 0.2s;
}

.lista_categorias li:hover,
.lista_prod li:hover {
  background-color: rgba(40, 167, 161, 0.3);
}

.lista_prod li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lista_prod li p {
  font-size: 13px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  color: rgba(224, 247, 246, 0.85);
}
.lista_prod li p a {
  all: unset;
  color: #19d7de;
  cursor: pointer;
  text-decoration: underline;
}
.lista_prod li p strong {
  font-size: 15px;
  color: #ffd97d;
}

/* BOTONES */
#btn-agregar-product,
#btn-agregar-stock,
#btn-eliminar-product,
#btn-agregar-categoria,
#btn-delete-categoria {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border-radius: 6px;
  border: none;
  background-color: var(--inv_accent);
  color: white;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.2s;
}

#btn-agregar-product:hover,
#btn-agregar-stock:hover,
#btn-eliminar-product:hover,
#btn-agregar-categoria:hover,
#btn-delete-categoria:hover {
  background-color: #1fb8b0;
}

#Panel {
  display: flex;
}

.title_panel {
  font-size: 30px;
}
#Pedidos{
  display: flex;
}
label {
  font-size: 18px;
}

.textarea {
  background-color: rgba(0,0,0,0.4);
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: var(--inv_text);
  max-width: 100%;
  min-width: 100%;
  min-height: 100px;
  max-height: 250px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
}

#noti_msg {
  z-index: 2000;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Roboto", sans-serif;
  top: 10px;
  left: 10px;
  width: 0;
  height: auto;
  border-radius: 10px;
  padding: 10px;
  color: rgb(255, 255, 255);
  background-color: red;
  font-size: 14px;
  text-align: center;
  overflow: unset;
  transition: width 0.5s ease-in-out;
  display: none;
}

/* ESTILOS RESPONSIVE */
@media (min-width: 600px) {
  .container_valores {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 300px;
    max-width: 500px;
    min-height: 250px;
    width: 100%;
    height: 100dvh;
    background-color: var(--inv_bg);
  }
  .container_cat {
    height: 30%;
  }
  .container_prod {
    height: 70%;
  }
}
@media (min-width: 900px) {
  .container_valores {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 300px;
    max-width: 400px;
    min-height: 250px;
    width: 100%;
    height: 100dvh;
    background-color: var(--inv_bg);
  }
}

.title_panel,
.title_valores {
  padding: 15px;
  font-size: 25px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

body {
  width: 100%;
  position: relative;
  height: auto;
}
main{
  min-width: 320px;
  max-width: 600px;
  width: 100%;
}
.title_main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  margin: 20px 0;
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  background-color: rgb(139, 240, 216);
  color: white;
  text-align: center;
  border: solid 3px dashed red;
  width: 100%;
}

form input {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: "Roboto", sans-serif;
}

form {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 10px;
}

#des {
  max-width: 100%;
  min-height: 100px;
  max-height: 300px;
  height: 100%;
  width: 100%;
}

/* CONTENEDOR PRINCIPAL */
.container_valores {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: red;
  display: none;
}

.container_valores > * {
  width: 100%;
  /* border-bottom: solid #fff 3px; */
  background-color: rgb(153, 200, 255);
}

/* BLOQUES DE CATEGORIAS Y PRODUCTOS */
.container_cat,
.container_prod {
  display: flex;
  flex-direction: column;
  outline: 2px solid white;
  height: 300px; /* Altura controlada */
}

.title_valores {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
  background-color: #28a7a1;
  /* border-top: solid 3px black; */
  margin-top: 3px;
}

.lista_categorias,
.lista_prod {
  list-style: none;
  width: 100%;
  text-align: center;
  padding: 10px;
  color: white;
  flex: 1;
  overflow-y: auto;
}

.lista_categorias li,
.lista_prod li {
  width: auto;
  text-align: left;
  padding: 10px;
  margin: 5px 0;
  border-radius: 5px;
  background-color: #0a7c73;
  font-family: "Roboto", sans-serif;
  box-sizing: border-box;
}

.lista_prod li {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lista_prod li p {
  font-size: 14px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}
.lista_prod li p a {
  all: unset;
  color: #aafffb;
  cursor: pointer;
}
.lista_prod li p strong {
  font-size: 18px;
  color: rgb(221, 221, 65);
}

/* BOTONES */
#btn-agregar-product,
#btn-agregar-stock,
#btn-eliminar-product,
#btn-agregar-categoria,
#btn-delete-categoria {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border-radius: 5px;
  border: none;
  background-color: var(--theme_1);
  color: white;
  font-family: "Roboto", sans-serif;
  cursor: pointer;
}

#Panel {
  display: flex;
}

.title_panel {
  font-size: 30px;
}
#Pedidos{
  display: flex;
}
label {
  font-size: 18px;
}

.textarea {
  background-color: #00000096;
  padding: 10px;
  outline: white 3px;
  color: white;
  max-width: 100%;
  min-width: 100%;
  min-height: 100px;
  max-height: 250px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

#noti_msg {
  z-index: 2000;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Roboto", sans-serif;
  top: 10px;
  left: 10px;
  width: 0;
  height: auto;
  border-radius: 10px;
  padding: 10px;
  color: rgb(255, 255, 255);
  background-color: red;
  font-size: 14px;
  text-align: center;
  overflow: unset;
  transition: width 0.5s ease-in-out;
  display: none;
}

/* ESTILOS RESPONSIVE */
@media (min-width: 600px) {
  .container_valores {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 300px;
    max-width: 500px;
    min-height: 250px;
    width: 100%;
    height: 100dvh;
    background-color: #575800;
  }
  .container_cat {
    height: 30%;
  }
  .container_prod {
    height: 70%;
  }
}
@media (min-width: 900px) {
  .container_valores {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 300px;
    max-width: 400px;
    min-height: 250px;
    width: 100%;
    height: 100dvh;
    background-color: #575800;
  }
}



