
* {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
}

body {
  box-sizing: border-box;
  font-family: "Poppins",
    sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: white;
}

  .TO_BE_HIDDEN{
  display:none !important; 
}

.DETAILS_HIDDEN{
    display:none !important; 

}



.section-header {
  display: none;
}



.container {
  max-width: 120rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}



.barcode-print-result-container, .result-container {
  width: 60%;
  max-width: 110rem;
  color: black;
  font-size: 2rem;
  justify-content: space-around;
  align-items: center;
  background-color: white;
  /* border-radius: ; */
  border: 1px solid #858282;
  /* height: 8rem; */
  margin: 1rem 0;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 8px 0px;
  padding: 1rem;
}


.reference-input-container {
  width: 60%;
  max-width: 110rem;
  /* height: 40%; */
  background-color: white;
  margin: 0 auto;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  color: black;
  border: 1px solid #969494;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 8px 0px;
}




.sub-input-container {

  border-bottom: 2px solid #c2c2c2;
  transition: border .7s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem 0;
  width: 70%;
  background-color: #f7f7f7;
  padding: 0 2rem;
}


.page-width.page-content {
  padding: 0
}



.barcode-print-result-container, .result-container{
  padding: 0;
}

.barcode-print-result, .result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  justify-items: start;
  align-items: center;
  margin: 0;
  padding: 5px 30px;

}



.barcode-print-result, .result:not(:last-child){
  border-bottom: rgba(194, 194, 194, 0.849) solid 1px;

}

.detail-result{
  width:100%; 
}
.time-span{
  font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: black;
    padding: 0 5px;

}

.status{
  font-size: 11px; 
  margin:0; 
  font-weight: bold;
  text-transform: uppercase;
}
.result:hover{
  background-color: gainsboro;
}

.barcode-details, .detail-label{
  font-weight: 500;
  transition: all .4s;
}

.result>.price-label>span {
  font-size: 12px;
  font-weight: normal;
  padding: 0;
  margin-top: -0.8rem;
  text-transform: none;
}

.each-detail{
  transition: all .4s;
}


#type-result {
  text-align: center;
}


.delivery-type {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
}


.type {
  width: 100%;
  display: flex;
  flex-direction: column;
  font-size: 2.5rem;
  justify-content: center;
  align-items: center;
  height: 80px;
  transition: all .4s;
}



.darkened {
  background-color: #111;
  color: white;
}

.darkened:hover {
  background-color: #414141;
}


.service-label {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
}


.each-input~.border {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: black;
}

.each-input:hover~.border {
  width: 100%;
  transition: 0.3s;
}

.each-input {
  width: 80%;
  background-color: #f7f7f7;
  height: 5rem;
  font-size: 2rem;
  border: none;
  outline: none;
}

#submit-btn {
  justify-self: center;
  font-size: 2rem;
  width: 20rem;
  height: 4rem;
  margin: 1rem 0;
  margin-bottom: 4rem;
  letter-spacing: 0.3rem;
  display: flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: #111;
  padding: 1rem;
  transition: all 0.2s;
  border: none;
  outline: none;
  box-shadow: 0 0.5rem 1rem rgba(139, 139, 139, 0.815);
  font-family: "Poppins";
}

#submit-btn:hover {
  box-shadow: 0 0.5rem 1rem rgba(139, 139, 139, 0.815);
  background-color: #302f2f;
  transform: translateY(-2px);
  cursor: pointer;
}

#submit-btn:active {
  box-shadow: 0 1rem 1rem rgba(83, 83, 83, 0.815);
  color: white;
  background-color: #111;
  transform: translateY(2px);
}

.form__label {
  font-size: 1.4rem;
  margin-left: 2rem;
  margin-top: 0.7rem;
  color: grey;
  display: block;
  transition: all 0.3s;
  position: absolute;
  top: -3rem;
  left: 7rem;
}

.form__input:placeholder-shown+.form__label {
  opacity: 0;
  visibility: hidden;
  transform: translateY(2.5rem);
}



.download-link{
  display:block; 
  transition: all 0.2s; 

  
}

.download-link:hover{
  color: black; 
  transform: translateY(-3px);
  /* background-color: black; */
}
.download-link:active{
  transform: translateY(-1px);
}



.barcode-print-body{
  height: 500px;
  width: 500px;
  margin: 50px auto;
}
.barcode-print-container {

  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.barcode-logo{
  height: 100px; 
}

.barcode-frame{
  padding: 0;
  /* width: auto; */
  display: flex;
  justify-content: center;
  margin: 0;
  width:300px; 
  border: 1px solid black;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 8px 0px;
}

.barcode-details{
  font-size: 12px; 
}

.image-container{
  border:solid 10px #000;
  width:80%;
}


@media only screen and (max-width: 1180px) {
  .result-container {
    max-width: 60%;
    width: 100%;
  }

  .reference-input-container {
    max-width: 60%;
    width: 100%;
  }
}



@media only screen and (max-width: 890px) {
  .reference-input-container {
    max-width: 98%;
    width: 80%;
    margin-top: 0;
  }

    .result-container {
      max-width: 98%;
      width: 80%;
      flex-direction: column;
      justify-content: center;
      margin: 0.5rem;
      margin-bottom: 0.5rem;
      padding: 0.25rem 0;
    }
}

@media only screen and (max-width: 620px) {


  .result-container {
    max-width: 98%;
    width: 90%;
  }

  .page-width.page-content {

    padding: 0
  }

  .container {
    height: 100%;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .reference-input-container {
    max-width: 98%;
    width: 90%;
  }
}


@media only screen and (max-width: 580px) {
  .input-container {
    flex-direction: column;
  }

  .reference-input-container {
    flex-direction: column;
  }

  .sub-input-container {
    width: 80%;
  }

}




@media only screen and (max-width: 471px) {



  .type {
    font-size: 2rem;
  }

  .reference-input-container {
    max-width: 98%;
    width: 100%;
  }




  .result-container {
    max-width: 98%;
    width: 100%;
  }

    .result>.price-label {
      font-size: 1.7rem;
    }

    .detail-label {
      font-size: 1.5rem
    }

    .each-detail {
      font-size: 1.4rem
    }

    .time-span{
  font-size: 12px;
}


}



  .barcode-print-body{
    /* margin: 0 auto;  */
    height: unset !important; 
    box-shadow:none; 
    margin: 10px auto
  }

  .barcode-print-container {

  margin: 0 auto;
  padding: 0;
  box-shadow: none;
  
  }

  .barcode-frame,
  .barcode-print-result-container,
  .image-container {
      box-shadow: none;
      height: 120px; 
      width: 380px; 
      border: solid black 2px;
      border-bottom: none;
  }


  .barcode-logo {
    height: 110px;
  }

  .barcode-frame{
    border-left: 2px black solid;
    border-right: 2px black solid;
    /* border-bottom: 2px black solid; */
        width: 380px;
        height: 380px;
  }

    .barcode-print-result-container {
    border: solid black 2px; 
    /* border-top: none;  */
    width: 380px; 
    height: 200px; 
    margin:0; 
  }
  .barcode-details{
    font-size: 14px;
    font-weight: bold;
  }

