@font-face {
  font-family: "Forque";
  src: url("/public/fonts/forque/Forque.ttf");
}
@font-face {
  font-family: "Helvetica";
  src: url("/public/fonts/Helvetica-Neue-LT-Com-57-Condensed/Helvetica-Neue-LT-Com-57-Condensed.ttf");
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica", sans-serif;
}

p {
  display: flex;
  justify-content: center;
}

h1 {
  font-size: 5rem;
  font-family: "Forque", sans-serif;
}

h2 {
  font-size: 1.5rem;
  font-family: "Forque", sans-serif;
}

.container {
  height: calc(100vh - 45px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: rgba(90, 131, 237, 0.8);
  box-shadow: inset 0 0 5px 1px #000000;
  overflow-y: auto;
}
@media only screen and (min-width: 768px) {
  .container {
    margin-left: clamp(200px, 20%, 20%);
  }
}

button {
  background-color: transparent;
  border: none;
}

.button {
  cursor: pointer;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  user-select: none !important;
  box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.5);
  border: none;
  transition: all 0.1s ease-in-out;
  text-decoration: none;
  color: #ffffff;
}
.button:hover {
  transform: scale(1.02);
}
.button:active {
  transform: scale(0.98);
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
}

.button-image {
  height: 30px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  user-select: none !important;
  transition: all 0.2s ease-in-out;
  display: flex;
  justify-content: center;
}
@media (hover: hover) {
  .button-image:hover {
    opacity: 0.5;
  }
}
.button-image:active {
  transform: scale(0.9);
}
.button-image img {
  height: 30px;
  width: 30px;
}

.submit {
  background-color: #19EE7B;
  border: solid 3px rgba(53, 74, 111, 0.3);
  border-radius: 50px;
  min-width: -moz-max-content;
  min-width: max-content;
  width: 50%;
  font-size: 1.2rem;
  padding: 10px;
  margin: 0 auto 0 auto;
}

.login-box {
  height: 100%;
  width: 100%;
  padding: 40px;
  background: rgba(53, 74, 111, 0.5);
  box-sizing: border-box;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}
@media only screen and (min-width: 480px) {
  .login-box {
    position: absolute;
    top: 50%;
    left: 50%;
    height: auto;
    width: 400px;
    transform: translate(-50%, -50%);
  }
}

.login-box h2 {
  margin: 0 0 30px;
  padding: 0;
  color: #ffffff;
  font-size: 3rem;
  text-align: center;
  text-shadow: 5px 5px 10px #0f1341;
  font-weight: 1;
  letter-spacing: 2px;
}

.login-box .user-box {
  position: relative;
}

.login-box .user-box input {
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 30px;
  border: none;
  border-bottom: 1px solid #ffffff;
  outline: none;
  background: transparent;
}

.login-box .user-box label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 0;
  font-size: 1rem;
  color: #ffffff;
  pointer-events: none;
  transition: 0.5s;
}

.login-box .user-box input:focus ~ label,
.login-box .user-box input:valid ~ label {
  top: -30px;
  left: 0;
  color: #0f1341;
  font-size: 0.8rem;
}

.login-box form a {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  color: #0f1341;
  font-size: 16px;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  transition: 0.5s;
  margin-top: 40px;
  letter-spacing: 4px;
  text-align: center;
}

.login-box a:hover {
  background: #0f1341;
  color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 0 5px #0f1341, 0 0 25px #0f1341, 0 0 50px #0f1341;
}

.user-box-end {
  display: flex;
  flex-direction: column;
}
.user-box-end button {
  margin-top: 20px;
  padding: 10px;
  border-radius: 15px;
  background-color: #354a6f;
  color: #ffffff;
  font-size: 16px;
  box-shadow: 0 0 25px #354a6f;
}
.user-box-end button:hover {
  box-shadow: 0 0 10px #354a6f;
}
.user-box-end button:active {
  box-shadow: 0 0 10px #354a6f;
}

.form-group label {
  display: flex;
  width: 100%;
  margin-bottom: 5px;
  font-size: 1.2rem;
}
.form-group .image-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 150px;
  width: 100%;
  background-color: #ffffff;
  border: solid 2px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 4px 4px;
}
.form-group .image-preview img {
  height: 100px;
  width: 100px;
  margin: auto;
}
.form-group input:not([type=checkbox]) {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  height: 50px;
}
.form-group input::-moz-placeholder {
  color: #999;
}
.form-group input::placeholder {
  color: #999;
}
.form-group input:focus {
  outline-color: #3f59a0;
}
.form-group input:focus::-moz-placeholder {
  color: #ccc;
}
.form-group input:focus::placeholder {
  color: #ccc;
}
.form-group select {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  border: solid 2px rgba(0, 0, 0, 0.2);
  font-size: 1rem;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  height: 50px;
}
.form-group input[type=file] {
  background-color: #ffffff;
  height: -moz-max-content;
  height: max-content;
  border: solid 2px rgba(0, 0, 0, 0.2);
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  box-shadow: none;
}
.form-group input[type=file]::file-selector-button {
  margin-right: 8px;
  border: none;
  background: #3063E9;
  padding: 8px 12px;
  border-radius: 15px;
  color: #ffffff;
  cursor: pointer;
}
.form-group input[type=file]::file-selector-button:hover {
  background: #354a6f;
}

form #delete-image-div {
  background-color: #ffffff;
  border: solid 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  padding: 5px;
}
form #delete-image-div input {
  height: 25px;
  width: 25px;
  vertical-align: middle;
}

.table-container {
  overflow-x: auto;
  height: 100%;
  width: 100%;
  margin-top: 60px;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}
@media only screen and (min-width: 768px) {
  .table-container {
    border-top: 3px solid #0f1341;
    border-left: 3px solid #0f1341;
    border-bottom: 3px solid #0f1341;
  }
}

.table-logs {
  border-collapse: collapse;
  margin-bottom: 15px;
}
.table-logs th {
  background-color: #5a83ed;
  position: sticky;
  top: 0px;
}
@media only screen and (max-width: 768px) {
  .table-logs th.hide {
    position: static;
  }
}
.table-logs th,
.table-logs td {
  padding: 8px;
  text-align: left;
  padding-bottom: 1rem;
  padding-top: 1rem;
  color: #ffffff;
  text-align: center;
  vertical-align: middle;
}
.table-logs th a,
.table-logs td a {
  display: flex;
  justify-content: center;
  text-align: center;
}
.table-logs tr:nth-child(odd) {
  background-color: rgba(53, 74, 111, 0.9);
}
.table-logs tr:nth-child(even) {
  background-color: #354a6f;
}

#orders-table {
  border-collapse: collapse;
  color: #0f1341;
}
#orders-table th,
#orders-table td {
  border: 1px solid #000000;
  padding: 8px;
}
#orders-table th {
  position: sticky;
  background-color: #5a83ed;
  color: #ffffff;
  top: 0;
  border: none;
}
@media only screen and (max-width: 768px) {
  #orders-table th.hide {
    position: static;
  }
}
#orders-table .odd-group {
  background-color: #ffffff;
}
#orders-table .even-group {
  background-color: #dfdfdf;
}

header {
  position: fixed;
  display: flex;
  align-items: center;
  background-color: #354a6f;
  width: 100%;
}
header .head {
  display: flex;
  justify-content: space-between;
  height: 60px;
  width: 100%;
}
header .head #burger-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 33px;
  margin-left: 20px;
  cursor: pointer;
  transition: transform 0.5s ease-in-out;
}
@media only screen and (min-width: 768px) {
  header .head #burger-menu {
    display: none;
  }
}
header .head #burger-menu .bar {
  width: 30px;
  height: 3px;
  background-color: #ffffff;
  margin: 4px 0;
}
header .head .title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  gap: 5px;
  margin-right: 53px;
}
@media only screen and (min-width: 768px) {
  header .head .title {
    min-width: 200px;
    width: 20%;
  }
}
header .head .title img {
  height: 50px;
}
header .head .title p {
  font-size: 2rem;
  color: #ffffff;
}
header #content {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  position: fixed;
  top: 60px;
  background-color: #354a6f;
  height: calc(100vh - 105px);
  width: 100%;
  transition: transform 0.5s ease;
  transform: translateX(-100%);
}
@media only screen and (min-width: 480px) {
  header #content {
    width: 200px;
  }
}
@media only screen and (min-width: 768px) {
  header #content {
    transform: translateX(0);
    min-width: 200px;
    width: 20%;
  }
}
header #content.show {
  transform: translateX(0);
}
header #content ::-webkit-scrollbar {
  background-color: none;
}
header #content ::-webkit-scrollbar-track {
  background-color: #354a6f;
  border-radius: 0;
}
header #content ::-webkit-scrollbar-thumb {
  background-color: #ffffff;
}
header #content .nav {
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow-y: auto;
}
header #content .nav a {
  margin: 10px;
  padding: 15px;
  color: #ffffff;
  font-size: 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.5);
  transition: transform 0.1s ease;
}
header #content .nav a:hover {
  background-color: rgba(90, 131, 237, 0.5);
  box-shadow: 0 0 5px 5px rgba(90, 131, 237, 0.1);
  cursor: pointer;
}
header #content .nav a:active {
  transform: scale(0.95);
}
header #content .nav a.active {
  background-color: #ffffff;
  color: #5a83ed;
  box-shadow: 0 0 5px 5px rgba(90, 131, 237, 0.5);
}
header #content .profile {
  display: flex;
  align-items: center;
  background-color: #0f1341;
  height: 100px;
  border-top-right-radius: 70px;
  justify-content: space-around;
}
header #content .profile #profile-account {
  margin-left: 5px;
  height: 50px;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}
@media only screen and (min-width: 480px) and (max-width: 1200px) {
  header #content .profile #profile-account {
    height: 30px;
  }
}
header #content .profile .user-info {
  color: #ffffff;
  font-size: 1.2rem;
}
header #content .profile button {
  margin-right: 15px;
  align-items: center;
}
header #content .profile button img {
  height: 30px;
  filter: drop-shadow(0 0 4px #ffffff);
}
@media only screen and (min-width: 480px) and (max-width: 1200px) {
  header #content .profile button img {
    height: 20px;
    width: 20px;
  }
}

#blur.active {
  position: absolute;
  top: 60px;
  left: 0;
  height: calc(100% - 60px);
  width: 50%;
  background-color: rgba(0, 0, 0, 0.5);
}

#calculator {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.8);
}
@media only screen and (min-width: 768px) {
  #calculator {
    width: 80%;
  }
}
#calculator #calculator-content {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin-top: -60px;
  background-color: #0f1341;
  height: 85%;
  max-height: 600px;
  width: 280px;
  padding: 15px;
  border-radius: 15px;
  gap: 5px;
  box-shadow: 0 0 10px 1px #ffffff;
}
#calculator #calculator-content #calculator-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
#calculator #calculator-content #calculator-header p {
  margin-left: 30px;
  flex-grow: 1;
  text-align: center;
  background-color: #3063E9;
  padding: 5px 10px;
  font-size: 1.5rem;
  border-radius: 4px;
}
@media only screen and (min-width: 480px) {
  #calculator #calculator-content #calculator-header p {
    font-size: 2rem;
  }
}
#calculator #calculator-content #calculator-header #close-calculator {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
  width: 30px;
  border-radius: 15px;
  cursor: pointer;
  border: solid 2px #ed5b5b;
}
#calculator #calculator-content #calculator-header #close-calculator:hover {
  background-color: #ed5b5b;
}
#calculator #calculator-content > *:nth-child(3) {
  background-color: #354a6f;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 1rem;
  text-shadow: 0 0 5px #000000;
}
#calculator #calculator-content div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-wrap: nowrap;
}
#calculator #calculator-content div input {
  height: 30px;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
#calculator #calculator-content div input::-moz-placeholder {
  color: #999;
}
#calculator #calculator-content div input::placeholder {
  color: #999;
}
#calculator #calculator-content div input:focus {
  outline-color: #3f59a0;
}
#calculator #calculator-content div input:focus::-moz-placeholder {
  color: #ccc;
}
#calculator #calculator-content div input:focus::placeholder {
  color: #ccc;
}
#calculator #calculator-content #calculator-buttons {
  display: flex;
  flex-direction: column;
}
#calculator #calculator-content #calculator-buttons .calculator-full {
  justify-content: center;
  width: 138px;
}
#calculator #calculator-content #calculator-buttons .calculator-row p {
  background-color: #3063E9;
  padding: 15px;
  border-radius: 2px;
  flex: 1;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.6) 0px 2px 4px, rgba(0, 0, 0, 0.4) 0px 7px 13px -3px, rgba(0, 0, 0, 0.3) 0px -3px 0px inset;
  font-size: 1.2rem;
}
#calculator #calculator-content #calculator-buttons .calculator-row p:hover {
  background-color: #354a6f;
  cursor: pointer;
}
#calculator #calculator-content #calculator-buttons .calculator-row p:active {
  transform: scale(0.9);
}
#calculator #calculator-content > *:nth-child(5),
#calculator #calculator-content #resultP {
  padding: 10px;
  border-radius: 5px;
  font-size: 1rem;
  text-shadow: 0 0 5px #000000;
  margin: auto;
}
#calculator #calculator-content > *:nth-child(5) span,
#calculator #calculator-content #resultP span {
  background-color: #ed5b5b;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 2.2rem;
}
#calculator #calculator-content button {
  background-color: #19EE7B;
  width: 75%;
  padding: 10px;
  margin: 0 auto;
  border-radius: 15px;
  font-size: 1.5rem;
}

#product-page {
  height: calc(100% - 60px);
  width: 100%;
  margin-top: 60px;
  display: flex;
}
#product-page #product-div {
  height: calc(100vh - 60px);
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media only screen and (min-width: 480px) {
  #product-page #product-div {
    height: calc(100vh - 105px);
  }
}
#product-page #product-div #product-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: calc(100vh - 105px);
  width: 100%;
  margin-bottom: 45px;
  overflow-y: auto;
  padding: 5px;
  gap: 15px;
}
@media only screen and (min-width: 480px) {
  #product-page #product-div #product-container {
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    height: calc(100vh - 60px);
    padding: 15px;
    margin: 0;
  }
  #product-page #product-div #product-container .product {
    flex-basis: calc(50% - 15px);
    align-content: center;
  }
}
#product-page #product-div #product-container .product {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: solid 3px rgba(0, 0, 0, 0.6);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 15px;
  width: 70%;
  transition: all 0.2s ease;
}
@media only screen and (min-width: 480px) {
  #product-page #product-div #product-container .product {
    min-height: 150px;
    min-width: 150px;
    max-height: 150;
    max-width: 150px;
  }
}
#product-page #product-div #product-container .product:hover {
  background-color: rgba(90, 131, 237, 0.4);
  cursor: pointer;
}
#product-page #product-div #product-container .product:active {
  transform: scale(0.9);
}
#product-page #product-div #product-container .product * {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
#product-page #product-div #product-container .product .product-header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
#product-page #product-div #product-container .product .product-header span {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #3063E9;
  color: #ffffff;
  height: 25px;
  width: 25px;
  border-radius: 50px;
}
#product-page #product-div #product-container .product .product-img img {
  height: 50px;
}
@media only screen and (min-width: 480px) {
  #product-page #product-div #product-container .product .product-img img {
    height: 100px;
  }
}
#product-page #product-procedure {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 105px);
  width: 50%;
  background-color: #ffffff;
  border-left: solid 3px #000000;
}
#product-page #product-procedure #step-1,
#product-page #product-procedure #step-2 {
  height: 100%;
}
#product-page #product-procedure .product-procedure-header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  border-bottom: solid 3px #000000;
}
#product-page #product-procedure .product-procedure-header #delete-products,
#product-page #product-procedure .product-procedure-header #back-to-products {
  background-color: #ed5b5b;
  width: -moz-max-content;
  width: max-content;
  padding: 5%;
  border-radius: 15px;
  font-size: 1.2rem;
  text-wrap: nowrap;
}
@media only screen and (min-width: 768px) {
  #product-page #product-procedure .product-procedure-header #delete-products,
  #product-page #product-procedure .product-procedure-header #back-to-products {
    width: 50%;
    padding: 15px;
  }
}
#product-page #product-procedure #product-details #print-details-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#product-page #product-procedure #product-details #print-details-content img {
  height: 15vh;
  width: 15vh;
}
#product-page #product-procedure #product-details #product-details-content,
#product-page #product-procedure #product-details #print-details-content {
  overflow-y: auto;
  height: calc(100vh - 60px - 400px);
}
#product-page #product-procedure #product-details #product-details-content .product,
#product-page #product-procedure #product-details #print-details-content .product {
  display: flex;
  flex-direction: column;
  margin: 5px;
  border: solid 1px #354a6f;
  border-radius: 5px;
  box-shadow: 0 0 2px 1px #000000;
}
#product-page #product-procedure #product-details #product-details-content .product .left,
#product-page #product-procedure #product-details #print-details-content .product .left {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
#product-page #product-procedure #product-details #product-details-content .product .right,
#product-page #product-procedure #product-details #print-details-content .product .right {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: space-between;
  margin: 0 5px;
}
#product-page #product-procedure #product-details #product-details-content .product button,
#product-page #product-procedure #product-details #print-details-content .product button {
  display: block;
}
#product-page #product-procedure #product-details #product-details-content .product button img,
#product-page #product-procedure #product-details #print-details-content .product button img {
  height: 20px;
  width: 20px;
}
@media only screen and (min-width: 480px) {
  #product-page #product-procedure #product-details #product-details-content .product button img,
  #product-page #product-procedure #product-details #print-details-content .product button img {
    height: 30px;
    width: 30px;
  }
}
#product-page #product-procedure #product-total {
  display: flex;
  justify-content: space-between;
  border-top: solid 3px #000000;
  padding: 5px 11.2px;
  color: #ffffff;
  background: linear-gradient(45deg, rgb(0, 8, 80) 0%, rgb(0, 3, 32) 100%), radial-gradient(100% 225% at 100% 0%, rgb(255, 105, 40) 0%, rgb(0, 0, 0) 100%), linear-gradient(225deg, rgb(255, 122, 0) 0%, rgb(0, 0, 0) 100%), linear-gradient(135deg, rgb(205, 255, 235) 10%, rgb(205, 255, 235) 35%, rgb(0, 159, 157) 35%, rgb(0, 159, 157) 60%, rgb(7, 69, 111) 60%, rgb(7, 69, 111) 67%, rgb(15, 10, 60) 67%, rgb(15, 10, 60) 100%);
}
#product-page #product-procedure #product-paiement-method,
#product-page #product-procedure #product-print-method {
  display: flex;
  justify-content: space-around;
  border: solid 3px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  height: 55px;
  margin: 5px;
}
#product-page #product-procedure #product-paiement-method hr,
#product-page #product-procedure #product-print-method hr {
  width: 3px;
  height: 100%;
  border: none;
  background-color: rgba(0, 0, 0, 0.5);
}
#product-page #product-procedure #product-paiement-method .switch-button-paiement,
#product-page #product-procedure #product-paiement-method .switch-button-print,
#product-page #product-procedure #product-print-method .switch-button-paiement,
#product-page #product-procedure #product-print-method .switch-button-print {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80%;
  width: calc(50% - 5px);
  margin: auto 0;
  gap: 5px;
  padding: 10px;
  border-radius: 50px;
  color: #000000;
  transition: all 0.1s ease;
}
@media only screen and (min-width: 480px) {
  #product-page #product-procedure #product-paiement-method .switch-button-paiement,
  #product-page #product-procedure #product-paiement-method .switch-button-print,
  #product-page #product-procedure #product-print-method .switch-button-paiement,
  #product-page #product-procedure #product-print-method .switch-button-print {
    margin: auto;
  }
}
#product-page #product-procedure #product-paiement-method .switch-button-paiement:hover,
#product-page #product-procedure #product-paiement-method .switch-button-print:hover,
#product-page #product-procedure #product-print-method .switch-button-paiement:hover,
#product-page #product-procedure #product-print-method .switch-button-print:hover {
  cursor: pointer;
  box-shadow: 0px 0 5px 1px rgba(0, 0, 0, 0.2);
}
#product-page #product-procedure #product-paiement-method .switch-button-paiement:active,
#product-page #product-procedure #product-paiement-method .switch-button-print:active,
#product-page #product-procedure #product-print-method .switch-button-paiement:active,
#product-page #product-procedure #product-print-method .switch-button-print:active {
  transform: scale(0.9);
}
#product-page #product-procedure #product-paiement-method .switch-button-paiement.active,
#product-page #product-procedure #product-paiement-method .switch-button-print.active,
#product-page #product-procedure #product-print-method .switch-button-paiement.active,
#product-page #product-procedure #product-print-method .switch-button-print.active {
  color: #ffffff;
  background-color: #5a83ed;
}
#product-page #product-procedure #product-paiement-method .switch-button-paiement img,
#product-page #product-procedure #product-paiement-method .switch-button-print img,
#product-page #product-procedure #product-print-method .switch-button-paiement img,
#product-page #product-procedure #product-print-method .switch-button-print img {
  height: 20px;
}
@media only screen and (min-width: 480px) {
  #product-page #product-procedure #product-paiement-method .switch-button-paiement img,
  #product-page #product-procedure #product-paiement-method .switch-button-print img,
  #product-page #product-procedure #product-print-method .switch-button-paiement img,
  #product-page #product-procedure #product-print-method .switch-button-print img {
    height: 30px;
  }
}
#product-page #product-procedure .product-procedure-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}
#product-page #product-procedure .product-procedure-footer button {
  background-color: #19EE7B;
  width: 50%;
  padding: 5%;
  border-radius: 15px;
  font-size: 1.2rem;
}
@media only screen and (min-width: 768px) {
  #product-page #product-procedure .product-procedure-footer button {
    padding: 15px;
  }
}

#collection-page {
  height: calc(100% - 60px);
  width: 100%;
  margin-top: 60px;
  color: #000000;
  box-shadow: inset 0 0 5px 1px #000000;
  padding: 15px;
  overflow-y: auto;
}
#collection-page #collection-step-1,
#collection-page #collection-step-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 50px;
  height: 100%;
  width: 100%;
}
#collection-page #collection-step-1 select option,
#collection-page #collection-step-2 select option {
  background-color: #ffffff;
}
#collection-page #collection-step-1 #amount_recovered_div,
#collection-page #collection-step-2 #amount_recovered_div {
  display: flex;
  flex-direction: column;
  color: #ffffff;
  text-shadow: 0px 0px 10px #000000;
  background: #354a6f;
  padding: 20px;
  border-radius: 3px;
}
#collection-page #collection-step-1 #amount_recovered_div #amount_recovered,
#collection-page #collection-step-2 #amount_recovered_div #amount_recovered {
  width: 25%;
}
#collection-page #collection-step-1 #brewery-value,
#collection-page #collection-step-2 #brewery-value {
  background-color: #3063E9;
  padding: 10px;
  border-radius: 5px;
  color: #ffffff;
}
#collection-page #collection-step-1 #amount-value,
#collection-page #collection-step-2 #amount-value {
  background-color: #0f1341;
  padding: 10px;
  border-radius: 5px;
  color: #ffffff;
  width: -moz-max-content;
  width: max-content;
  margin: 0 auto;
}
#collection-page #collection-step-1 #signature-div,
#collection-page #collection-step-2 #signature-div {
  background-color: #354a6f;
  border-radius: 5px;
}
#collection-page #collection-step-1 #signature-div canvas,
#collection-page #collection-step-2 #signature-div canvas {
  display: block;
  text-align: center;
  margin: 15px auto auto auto;
  background-color: #ffffff;
}
#collection-page #collection-step-1 #signature-div #canvas-clear,
#collection-page #collection-step-2 #signature-div #canvas-clear {
  background-color: #ed5b5b;
  width: 250px;
  padding: 5px 10px;
  border-radius: 5px;
  margin: 15px auto;
}
#collection-page #collection-step-1 #collection-finish,
#collection-page #collection-step-2 #collection-finish {
  margin: auto;
}

#page-stats {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 60px);
  width: 100%;
  margin-top: 60px;
  overflow-y: auto;
  background-color: #ffffff;
  box-shadow: inset 0 0 5px 1px #000000;
  padding: 15px;
}
#page-stats #stats-options {
  display: flex;
  justify-content: center;
  gap: 15px;
  height: 100%;
  width: 100%;
}
#page-stats #stats-options form button {
  color: #ffffff;
  padding: 15px;
  border-radius: 5px;
  background-color: #3063E9;
  font-size: 1.2rem;
}
#page-stats .graph {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100vh - 60px);
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  overflow: auto;
}
@media only screen and (min-width: 768px) {
  #page-stats .graph {
    left: clamp(200px, 20%, 20%);
    width: calc(100vw - clamp(200px, 20%, 20%));
  }
}
#page-stats .graph.show {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
#page-stats .graph .close-btn {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 20px;
  right: 20px;
  height: 30px;
  width: 30px;
  border-radius: 15px;
  cursor: pointer;
  border: solid 2px #ed5b5b;
  color: #ffffff;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
#page-stats .graph .close-btn:hover {
  background-color: #ed5b5b;
}
#page-stats .graph canvas {
  max-width: 80%;
  max-height: 80%;
  background-color: #ffffff;
  border-radius: 5px;
}
#page-stats h1 {
  font-family: "Helvetica", sans-serif;
}
#page-stats #page-stats-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 10px;
  background-color: #5a83ed;
  border-radius: 2px;
}
#page-stats #page-stats-header button {
  background-color: #ffffff;
  padding: 10px;
  border-radius: 50px;
}
#page-stats form {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 100%;
}
#page-stats ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  list-style: none;
}
#page-stats ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  color: #0f1341;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 0 5px 1px #000000;
}
#page-stats ul .content {
  margin-left: 50px;
  flex-grow: 1;
}
#page-stats ul button {
  background-color: #ffffff;
  padding: 10px;
  border-radius: 50px;
}

.not-selectable {
  -webkit-user-select: none;
          user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.not-selectable > * {
  -webkit-user-select: none;
          user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.messages-container {
  display: flex;
  flex-direction: column-reverse;
  position: fixed;
  bottom: 65px;
  right: 20px;
  margin-right: 15px;
  pointer-events: none;
}
.messages-container > * {
  animation: fadeOut 5s forwards;
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}

.error-message {
  margin: 15px auto 0 auto;
  background-color: rgb(221, 86, 86);
  color: white;
  text-align: center;
  box-shadow: black 0px 5px 5px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  padding: 10px;
  border-radius: 5px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.success-message {
  margin: 15px auto 0 auto;
  background-color: rgb(86, 221, 127);
  color: white;
  text-align: center;
  box-shadow: black 0px 5px 5px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  padding: 10px;
  border-radius: 5px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

#create-item {
  padding: 15px;
  background-color: #5a83ed;
  border-radius: 15px;
  font-size: 1.2rem;
  margin-bottom: 15px;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
}

::-webkit-scrollbar {
  background-color: #ffffff;
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background-color: #ffffff;
  border-radius: 15px;
}

::-webkit-scrollbar-thumb {
  background-color: #3063E9;
  border-radius: 15px;
}

.back-btn {
  background-color: #3063E9;
  padding: 10px;
  border-radius: 10px;
  width: -moz-max-content;
  width: max-content;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  gap: 5px;
}
.back-btn img {
  height: 20px;
  width: 20px;
}

#create-item-page {
  padding: 70px 10px 10px 10px;
  height: 100%;
  width: 100%;
}
#create-item-page form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  height: calc(100% - 60px);
}

#breweries,
#products {
  height: calc(100% - 30px);
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  padding: 5px;
  background-color: #ffffff;
}

.brewery,
.product {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  padding: 5px;
}
.brewery:not(:last-child),
.product:not(:last-child) {
  border-bottom: solid 1px #000000;
}
.brewery .brewery-name,
.brewery .product-name,
.product .brewery-name,
.product .product-name {
  display: flex;
  gap: 5px;
}
.brewery .brewery-name input,
.brewery .product-name input,
.product .brewery-name input,
.product .product-name input {
  height: 25px;
  width: 25px;
}
.brewery .brewery-name p,
.brewery .product-name p,
.product .brewery-name p,
.product .product-name p {
  align-self: center;
}
.brewery .brewery-rack,
.product .brewery-rack {
  display: flex;
  gap: 5px;
  align-items: center;
}

.text-minus {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}
  #footer {
    text-align: center;
    padding: 20px;
    position: fixed;
    left: 0;
    bottom: 0;
    height: 45px;
    width: 100%;
    background-color: #0f1341;
    color: #ffffff;
    box-shadow: 0 5px 5px 5px #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
  }


@media only screen and (max-height: 768px) {
  #footer {
    text-align: center;
    padding: 20px;
    position: fixed;
    left: 0;
    bottom: 0;
    height: 45px;
    width: 100%;
    background-color: #0f1341;
    color: #ffffff;
    box-shadow: 0 5px 5px 5px #ffffff;
    display: none;
    justify-content: center;
    align-items: center;
  }
}

.role-admin {
  text-shadow: #ed5b5b 0px 0px 10px;
}/*# sourceMappingURL=main.css.map */