
/* 设置布局 */

html,
body {
  height: 99.8%;

}

body {
  margin: 2px;
  /* user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none; */
}

#app {
  height: 99.8%;
}

.container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  height: 100%;
  position: relative;
  /* 添.container相对定位 */
}

.left-box {
  width: 88%;
  display: flex;
  flex-direction: column;
}

.top-box {
  width: 100%;
  height: 14%;
  background-color: #f0fafb;
  box-shadow: -2px 0px 4px rgba(0, 0, 0, 0.2);
  position: relative;
}



.bottom {
  width: 100%;
  height: 15%;
  background-color: #8dc6eb;
  display: flex;
  align-items: center;
}

.right-box {
  width: 12%;
  height: 96%;
  background-color: #20609f;
}

/* 美化UI */
/* 字体和颜 */
body {
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
}

/* 添加阴和圆 */
.container {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

/* 调整布局 */
.top-box {
  border-top-left-radius: 10px;
  /* border-top-right-radius: 10px; */
}

/* .bottom {
   border-bottom-left-radius: 10px;
   border-bottom-right-radius: 10px;
 }
  */
.right-box {
  border-top-right-radius: 10px;
  /* border-bottom-right-radius: 10px; */
}



/* 整字体小 */
.container {
  font-size: 16px;
}

/*  */
.left-box>* {
  margin-bottom: 1px;
}

.right {
  margin-left: 1px;
}

p {
  color: #333;
}

.top-box #logo {
  position: absolute;
  top: 5px;
  right: 5px;

  max-height: 70%;
  height: 70%;
  transition: transform 0.3s ease; /* 添加平的效 */
  transform-origin: top right; /* 置换为上 */
}

.top-box #logo:hover {
  z-index: 999;
  transform: scale(8); /* 在时图大至1.2 */
}

#input {
  height: 30px;
  width: 350px;
  font-size: 24px;
  margin-left: 30px;
}

.title-row {
  display: flex;
  font-weight: bold;
  position: absolute;
  top: 16.5%;
  left: 8px;
  width: 79%;
  z-index: 999;
  border: 1px solid black;
  background-color: #D3D3D3;
}

.column {
  flex: 1;
  text-align: center;
  color: #333;

}

.search-bar {
  display: flex;
  width: 55%;
  height: 95%;
  position: absolute;
  top: 3px;
  left: 26%;
}

.search-cliente-input {
  left: 0px;
  width: 37.7%;
  height: 1.5vw;
  font-size: 1vw;
  padding: 1px;
  padding-left: 4px;
  border: solid 1px #000;

  border-top-left-radius: 5px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  outline: none;

}

.search-cliente-button {
  position: absolute;
  left: 30%;
  width: 8%;
  height: 1.5vw;
  font-size: 1vw;
  top: 1.5px;
  border: none;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  background-color: #8dc6eb;
  color: #fff;
  cursor: pointer;
}

.user-list {
  height: 70%;
  /* overflow-y: scroll; */
  position: absolute;
  display: inline-block;
  color: #000;
  top: 1.8vw;
  border: solid 1px #000;
  width: 37.9%;
  font-size: 0.8vw;
}

.user-list select {
  /* margin: 1px;
  padding: 1px; */
  width: 100%;
  height: 100%;

}

li {
  white-space: nowrap;
  /* 自 */
  overflow: hidden;
  /* 隐的文 */
  text-overflow: ellipsis;
  /* 示省示文断 */
}

li:hover {
  background-color: #8dc6eb;
}

li.selected {
  background-color: #0074D9;
  color: #fff;
}

/* 样容 */
.table-container {
  height: 65%;
  /* 表度占的百65 */
  background-color: #ffffe8;
  overflow: auto;
  /* 动，内容过多 */
  text-align: left;
  position: relative;
  /* 容器位，子的定位 */
}

/* 将固在 */
.table-container table thead {
  position: sticky;
  top: 0;
  z-index: 1;
 
}

/* 样格 */
.table-container table {
  border-collapse: collapse;
  width: 100%;
  position: absolute;
  /* 对定 */
  left: 0;
  /* 从 */
  top: 0;
  /* 顶部 */
}

thead {
  background-color: #aed4f0;
  color: #420342;
  font-size: 0.9vw;
  height: 40px;
}

th {
  border: 1px solid #ccc;

}

tbody tr {
  border: 1px solid #ccc;

  /* 单与字小 */
  font-size: 1.2vw; 
  color: #000;
}

td {
  border: 1px solid #ccc;
  padding: 3px;
}


.bottom-bar {
  height: 4%;
  width: 100%;
  background-color: #4684c1;
  position: absolute;
  /* 'fixed'改'absolute' */
  bottom: 0;
  left: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  line-height: 2.3;
  font-size: 0.9vw;
  /* 设高1.5大 */

}

/* 折叠 */
.menu-container {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  border-top-right-radius: 10px;


}

/* 单钮式 */
.collapsible {
  background-color: #ffffff;
  color: #000;
  text-align: center;
  cursor: pointer;
  padding: 8px;
  border: none;
  outline: none;
  transition: background-color 1s;
  border-radius: 4px;
  margin: 2px;

}

.rightMenuBtnCss{
  height: 100px;
  color: black;
  text-align: center;
}

.content {
  
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  
  height: 100vh; /* 父的高 */
   display: none;  /*要置flex none 然会出 */
}

.woocommerce{
  justify-content: flex-start;
 
}



.collapsible.active+.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: space-between; */
  text-align: center;
}

/* 右菜栏 */
.content button {
  width: 70%; /* 设需的度 */
  height: 5vh;
  box-sizing: border-box; /* 包在度计算 */
  background-color: white;
  color: #3498db;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin:auto; /* 垂上上下距 */
}


.woocommerce button{
  padding: 3px;
  width: 100%;
  height: auto;
  display: inline-block;
  margin:5px;

}

.woocommerce select{
  margin: 5px auto;
}

.bottom-bar a {
  color: white;
  /* 色白 */
  text-decoration: none;
  /* 取 */
  /* display: flex;
align-items: center; 居中 */
  margin-bottom: 5px;
  /* 下添垂 */
  /* padding: 15px; 加些直边距本 */
  padding: 0 10px;
  /* 平接的可点击 */
}

.b-row {
  width: 100%;
  height: 96%;
  display: flex;
}

.b-row p {
  background-color: #f0fafb;
  margin: 5px;
  padding-left: 5px;
  color: #4f677c;
}

.area {
  display: inline-block;
}

.area-1 {
  width: 35%;
  margin-right: 10px;
  /* 添加其他 */
}

.area-1 p {
  font-size: 0.9vw;
}

.area-2 {
  width: 25%;
  /* 式 */
}

.area-3 {
  width: 40%;
  /* margin-top: 1px; */
  margin-bottom: 6px;
  text-align: right;

  /* 添式 */
}

.input-container {
  margin-left: 5px;
  display: flex;
  width: 100%;
  height: 40%;
}

.input {
  width: 65%;
  height: 86%;
  margin-right: 2%;
  font-size: 1.2vw;
  border: solid 2px #457ba9;
}

.btn {
  width: 30%;
  height: 100%;
  font-size: 1.4vw;
  color: #006464;
  font-weight: bold;
  /* 添加其他式 */
}

.mian-fecha {
  margin-left: 2px;
  display: flex;
  width: 100%;
  height: 35%;
  line-height: 1.8;
  margin-top: 0.05vh;    /* 设置上距 */
  margin-bottom: 0.1vh; /* 设 */
}

.mian-fecha p {
  width: 100%;
  font-size: 1.18vw;
  font-weight: bold;
  color: #8d8240;
}
.mian-fecha p:nth-child(1) {
 margin-right: 0px;
}
.mian-fecha p:nth-child(2) {
  margin-left: 0px;
 }

.area-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto; /*  */
  gap: 0.7vh;
  /* max-height: 98%; */
  margin-top: 4px;
  margin-bottom: 7px;
  padding: 1px;

}

.dynamic-button {

  width: 100%;
  height: 100%; /* 设高度 100% */
  font-size: 0.9vw;
  background-color: #f0fafb;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #085b88;
  cursor: pointer;
  font-weight: bold;

}

.dynamic-button:hover {
  transform: scale(1.1);
}

.area-3 #total-venta {
  display: flex;
  justify-content: space-between;
  height: 57%;
  /* 修一 <p> 度 */
  background-color: #56a9e0;
  border: 3px solid #f0fafb;
  margin-bottom: 0px;
  font-size: 2.7vw;
  line-height: 1.5;
  color: #ffff00;
  margin: 5px 5px 0 5px;
  /* 添和 */
}

.area-3 #total-cant {
  margin-top: 0px;
  height: 32%;
  background-color: #8dc6eb;
  border: 3px solid #f0fafb;
  border-top: none;
  font-size: 1.7vw;
  /* 上 */
  /* 添边框式度 */
  /* 改第个 <p> 的度 */
}

.forma-venta {
  height: 2%;
  width: 100%;
  background-color: #56a9e0;
  font-size: 0.7vw;
  /*line-height: 0.5;*/
  display: flex;
  align-items: center;
  position: relative;
  /* 设置 line-height  1以本中 */
  /* 垂直 */
}

.forma-venta input[type="checkbox" i]{
  height: 1.5vh;
    margin: 0;  /* 取消认 margin */
  margin-left: 3px;  /* 设置 margin */
  margin-right: 3px;  /* 设右的 margin */
  margin-top: 0.3vh;  /* 置右的 margin */

}

#show-stok {
  position: absolute;
  left: 75vw;
  margin-top: 0.3vh;  /* 边的 margin */
  /* color: #fff; */
}

#venta-dolar {
  position: absolute;
  right: 5px;
}



#tab2 {
  background-color: #f0ffec;
}

#tab2 th {
  background: linear-gradient(to bottom, #d1f9de, #85e2a3);
}

#tab3 {
  background-color: #fff0f0;
}

#tab3 th {
  background: linear-gradient(to bottom, #f8e8d0, #dab785);

}

ul.tabs {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  bottom: 0;
  right: 0;
  height: 1.5vw;
}


ul.tabs li {
  display: inline-block;
  margin-right: 1px;
  background-color: #336699;
  border-radius: 10px 0 0 0;
  height: 100%;
  line-height: 1.5vw;
  /* 整间距 */
}

ul.tabs li a {
  /* display: block; */
  padding: 5px 20px;
  padding-bottom: 0px;
  /* 调整 */
  /* background-color: #336699; */
  /* 背颜色 */
  text-decoration: none;
  color: #fff;
  font-size: 0.9vw;
  /* 色 */
  border-radius: 10px 0 0 0;
  /* 左圆角 */
  /*  */
  transition: background-color 0.3s;
  /* 过渡果 */
}


ul.tabs li:hover {
  transform: scale(1.1);
}

.user-link {
  font-size: 0.65vw;
  color: #0077b6;
  position: absolute;
  top: calc(60% + 5px);
  right: 1%;
  /* 文样属 */
  text-decoration: none;
  /* （可选 */
  cursor: pointer;
  /* 鼠标针（选 */
}

.user-link:hover {
  /* 鼠停时的设与通态取停果 */
  color: #0077b6;

}

.top-left-box {
  width: 25%;
  height: 100%;
  color: #000;
  display: flex;
  flex-direction: column;
  padding: 1px;
  position: relative;
  padding-top: 3px;
  margin-right: 5px;
  border-right: solid 1px #000;
}

.data-row {
  display: flex;
  font-size: 0.9vw;
  margin-bottom: 0.49vw;
  height: 18%;
}

.icon {
  width: 1vw;
  height: 1vw;
  background-color: #0077b6;
  border-radius: 50%;
  margin-right: 10px;
}

/*  .data-row  select 素右对 */
.data-row select {
  width: 65%;
  position: absolute;
  height: 18%;
  right: 5px;
  /* 使 select 素填整个 .data-row */

  /* 右 */
}

/* 键单 */
.context-menu {
  /* display: none; */
  position: absolute;
  background: #f0f0f0;
  border: 1px solid #000;
  padding: 3px;
  color: #000;
  font-size: 0.8vw;
  height: 15%;
  width: 10%;
  text-align: center;
}

.context-menu ul {
  padding: 0px;
  margin: 0px;
}

.context-menu ul li {

  margin: 3px;
}

.table-selected {
  background-color: #0074D9;
  color: #fff;
  font-weight: bold;
  /* 设置你色 */
}

#welcome-message {
  position: absolute;
  bottom: 26%;
  right: 7%;
  color: #0074D9;
  font-size: 0.9vw;

}

.top-meido-box {
  position: absolute;
  height: 95%;

  top: 2%;
  left: 48%;
  color: #000;
}

.top-meido-box .codigoModificar{
  height: 25%;
}
.top-meido-box .codigoModificar p{
  font-size: 1.8vw;
  color: red;
  font-weight: bold;
}

.top-meido-box p {
  margin: 5px;
  font-size: 1vw;

}

#datePicker {
  width: 63.8%;
  position: absolute;
  height: 15.2%;
  right: 5px;

  font-size: 0.9vw;
}

.language-container {
  margin: 10px;

  /* 置色 */
  padding: 10px;
  /* 添边距 */
  /* 加边 */
  display: inline-block;
  position: absolute;
  top: 2%;
  right: 5.5%;
  color: #000;
  font-size: 0.9vw;
  /* 子内级元示，便整 */
}
.cambia-precio {
  position: fixed;
  /* top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); */
  height: 400px;
  width: 300px;
  background-color: #f3f3f3;
  border-radius: 10px; /* 置圆10px */
  border: solid 1px #b5b5a9;
}
.block {
  width: 98%;
  padding: 3px;
  height: 99%;
}

.block:nth-child(1) {
  height: 7%;
  background-color: #f3f3f3;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  line-height: 0.2;
}

.block:nth-child(2) {
  height: 15%;
  background-color: #cde1f1;
}
.block:nth-child(2) p{
  font-size: 1vw;
  font-weight: bold;
  margin: 6px;
}
.block:nth-child(3) {

  height: 52.8%;
  background-color: #fff;
  color: #000;
  padding-top: 20px;
}

.block:nth-child(4) {
  height: 15%;
  background-color: #cde1f1;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  
}



.block-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 5px;
  height: 20%;
}

.block-text {
  width: 30%;
  text-align: right;
  margin-right: 10px;
}

.block-input {
  width: 50%;
  height: 70%;
  font-size: 1.5vw;
  border: solid 1px #000;
  text-align: center;
}
#modificar-cantidad{
  background-color: #ffff80 ;
}
#modificar-precio{
  background-color: #ffff80 ;
}
.block-buttons {
  display: flex;
 height: 100%;
 position: absolute;
 right: 20px;
}

.block-button {

  background-size: cover;
  width: 55px;
  height: 55px;
  cursor: pointer;
  margin-top: 3px;
  margin-left: 10px;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* 半 */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999; /* 在最 */
}
.table-result-container{
  max-height: 400px; /* 设想 */
  overflow-y: auto;
}
.modal {

  background: rgba(0, 0, 0, 0.3); /* 背 */
  /* padding: 20px; */
  /* border: 1px solid #ccc; */
  /* border-radius: 4px; */
  z-index: 1000; 
}
.overlay1 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* 半透 */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999; /* 确遮罩层最 */
}

.modal1 {

  background: rgba(0, 0, 0, 0.3); /* 背景 */
  /* padding: 20px; */
  /* border: 1px solid #ccc; */
  /* border-radius: 4px; */
  z-index: 1000; 
}
.tableSerchProducts{

  height: 65%;
  width: 70%;
  background-color: #fff;
  display: flex;
  position: absolute;
   top: 49%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: solid 3px #98c0eb;
}
.tableSerchProducts-top-box{
  height: 30px;
  line-height: 1.7;
  width: 100%;
  background: linear-gradient(to bottom, #cddff4, #95bfeb, #bfd7f0);
  padding: 0 10px;
  color: #000;
}
.button-cerrar{
  background-size: cover;
  display: flex;
  position: absolute;
  top:0;
  right: 0px;
  height: 30px;
  width: 30px;
}
.serch-Input-Box{
  
  display: flex;
  position: absolute;
  top: 30px;
  height: 55px;
  width: 100%;
  background-color: #e6ecf3;
  /* line-height: 6.5; */
  padding-bottom: 10px;
  /* flex-direction: row; 平 */
}
.serch-Input-Box p{
 
  margin: 0;
  margin-left: 10px;
  align-self: flex-end; /* 底部与素底 */
  /* margin-bottom: 6px; */
}
.serch-Input-Box select,button{
  width: 10%;
  position: relative;

  height: 21px;
  align-self: flex-end; /* 与元部 */
}
.serch-Input-Box button{
  width: 60px;
}
.serch-Input-Box input{
  /* width: 10%; */
  position: relative;
  
  height: 15px;
  align-self: flex-end; /* 将底底 */

}
.serch-Input-Box label{
 
  position: absolute;
  color: #000;
  right: 10px;
  align-self: flex-end; /* 底部与底齐 */
}
.tableSerchProducts-left-box{
 display: flex;
 position:absolute;

 top: 95px;
 height: calc(100% - 95px); /*  calc() 计高 */
 width: 70%;
}
.tableSerchProducts-right-box {
  display: flex;
  position: absolute;
  top: 95px;
  right: 0;
  height: calc(100% - 95px); /* 用 calc() 高 */
 border-left: solid 2px #e7e9e7;
  width: 30%;
}
.tableSerchProducts-right-box img {
      height: 100%;
    width: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    transform-origin: top left;
    max-width: 100%;
    max-height: 100%;
  
}
.scrollable-div {
  width: 100%; /* 动内 */
  height: 100%; /* 滚动充满容器 */
  background-color: #f0ffec;
  overflow: auto;
  /* 加动，以元素 */
}
.tabResultSerch{
  width: 100%;
}

.tabResultSerch tr{

font-size: 1vw;
}
#toggleUserLink{
  display: inline-block;
}
#toggleUserLink button {
  width: 100%; /* 按钮宽度填充父元素 */
  height: 100%; /* 按钮高度填充父元素 */
  border: none; /* 去除按钮边框 */
  background-color: transparent; /* 去除按钮背景色 */
  font-size: 0.9vw;
  color: #fff;
  cursor: pointer; /* 设置鼠标悬停时显示小手图标 */
}


.mask {
  /* display: none; */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.window {
  /* display: none; */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 375px;
  /* 250px * 1.5 */
  border: 1px solid #ccc;
  background-color: #dfe7ef;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1001;
}

.window-header {
  background-color: #c0c0c0;
  padding: 7.5px;
  /* 5px * 1.5 */
  font-size: 18px;
  /* 12px * 1.5 */
  color: #333;
  border-bottom: 1px solid #ccc;
  text-align: center;
}

.window-body {
  padding: 22.5px;
  /* 15px * 1.5 */
}

.window-body p {
  margin: 7.5px 0;
  /* 5px * 1.5 */
  font-size: 21px;
  /* 14px * 1.5 */
  color: #333;
  text-align: center;
}

.window-body label {
  display: block;
  margin: 15px 0 7.5px;
  /* 10px 0 5px * 1.5 */
  font-size: 21px;
  /* 14px * 1.5 */
  color: #333;
}

.window-body input {
  width: 100%;
  padding: 7.5px;
  /* 5px * 1.5 */
  font-size: 21px;
  /* 14px * 1.5 */
  border: 1px solid #ccc;
  border-radius: 3px;
}

.window-body input[type="number"] {
  background-color: #ffff99;
}

.window-footer {
  display: flex;
  justify-content: center;
  padding: 15px;
  /* 10px * 1.5 */
}

.window-footer button {
  width: 45px;
  /* 30px * 1.5 */
  height: 45px;
  /* 30px * 1.5 */
  margin: 0 7.5px;
  /* 0 5px * 1.5 */
  border: none;
  border-radius: 50%;
  background-color: #4caf50;
  color: white;
  font-size: 24px;
  /* 16px * 1.5 */
  cursor: pointer;
}

.window-footer button.cancel {
  background-color: #f44336;
}

#showWindowBtn {
  padding: 15px 30px;
  /* 10px 20px * 1.5 */
  font-size: 24px;
  /* 16px * 1.5 */
  cursor: pointer;
}

.infoBulto{
  display: inline-block;
  position: relative; /* 或 absolute，根据你的需求 */
  left: 40vw;

}

