@import url("./style.css");

.products-header-cont {
  width: 50%;
  height: auto;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.products-header-cont input {
  background: var(--dark3);
  padding: 14px;
  transform: scale(0.75);
  text-indent: 10px;
  border: 1px solid var(--y);
  color: #fff;
}

.products-header-cont .search-btn {
  background: var(--y);
}
.download-btn {
  color: #0026ff;
  background: rgba(4, 0, 255, 0.4);
}

/* QRCODE TABLE */

.products-main-container {
  position: relative;
  opacity: 10px;
  padding: 10px;
  width: 100%;
  height: auto;
}
.products-main-container table {
  color: #999898;
  border-top: none;
  width: 100%;
  height: auto;
}

.products-main-container table thead th {
  border-bottom: none;
  border-top: none;
  padding-bottom: 12px;
  padding-right: 12px;
  padding-left: 12px;
}

.products-main-container table tbody tr {
  background: var(--dark2);
  width: 100%;
  border-radius: 6px;
}
.products-main-container table tbody tr:hover {
  background: var(--dark3);
}

.products-main-container table tbody tr td {
  padding: 10px;
}
.products-main-container table tbody tr td .info {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.qrcode-main-container table tbody tr td .info .text {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  color: #ccc;
}

.products-main-container table tbody tr td .products-info-btn {
  transform: scale(0.75);
  font-weight: 900;
  visibility: hidden;
}

.products-main-container table tbody tr:hover > td .products-info-btn {
  visibility: visible;
}

.edit-product-modal {
  width: 100%;
  height: 100vh;
  position: fixed;
  left: 0px;
  top: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  display: none;
}

.edit-product-modal .close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px;
  font-size: 20px;
  color: red;
  background: rgba(255, 0, 0, 0.4);
  border-radius: 50%;
  transition: 0.2s ease;
  transform: scale(0.75);
  cursor: pointer;
}

.edit-product-modal .close-modal:hover {
  transition: 0.2s ease;
  transform: scale(0.85);
}

.edit-product-modal .post-form-cont {
  width: 50% !important;
  margin: 20px auto;
  position: relative;
  left: 50px;
}
.edit-product-modal .post-form-cont .right .check-edit-img {
  position: absolute;
  left: 10px;
  top: 10px;
  color: #fff;
  padding: 10px;
}
.edit-product-modal .post-form-cont .right .upload.visible {
  display: none;
}

.edit-image-modal {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
  background: var(--dark3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 100;
  display: none;
}
.edit-image-modal .box {
  width: 350px;
  height: 350px;
  background: var(--dark2);
  padding: 20px;
}
.edit-image-modal .box .image-preview {
  width: 100%;
  height: 200px;
  margin-bottom: 30px;
}
.edit-image-modal .box .image-preview img {
  height: 150px;
}
.edit-image-modal .box .close-editimage-modal {
  position: relative;
  top: 10px;
  right: 10px;
  font-size: 20px;
  padding: 5px;
  border-radius: 50%;
  color: red;
  background: rgba(255, 0, 0, 0.4);
  cursor: pointer;
}
