/* All */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #ffffff;
    font-family: 'Poppins', sans-serif;
    background-image: url(../images/myrp-bg.png);
    background-repeat: repeat;
    background-position: center;
}

/* Scrollbar */
::-webkit-scrollbar {
width: 4px;
}

/* Track */
::-webkit-scrollbar-track {
background: #fdfdfd;
/* box-shadow: inset 10px #fdfdfd;
padding: 50px; */
}

/* Handle */
::-webkit-scrollbar-thumb {
background: #585858;
border-radius: 0px;
width: 10px;
border: 0px solid #fdfdfd;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #585858;
}

.red {
    color: #FF0000;
}
.orange {
    color: #F2723B;
}
.green {
    color: #23BF5A;
}
.blue {
    color: #2d36a8;
}

h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 60px;
    letter-spacing: normal;
    font-weight: 600 !important;
    -webkit-font-smoothing: antialiased;
}
h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 25px;
    letter-spacing: normal;
    font-weight: 800;
}
h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    letter-spacing: normal;
    font-weight: 800;
}
h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    letter-spacing: normal;
    font-weight: 800;
}
p {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    letter-spacing: normal;
    font-weight: 400;
}

/* Fade up animation */
.fade-up {
    opacity: 0;
    transform: translateY(20px); /* Initial position, slightly below */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  }
  
  .fade-up.fade-up-active {
    opacity: 1;
    transform: translateY(0); /* Final position, at original position */
  }

  /* Alerts */
  .recalled {
    font-size: 1em;
    font-weight: 800;
    background-color: #ff0d2e;
    color: #ffffff;
    width: fit-content;
    margin: 0 auto;
    border-radius: 100px;
    padding: 5px 20px;
  }
  .notrecalled {
    font-size: 1em;
    font-weight: 800;
    background-color: #23bf5a;
    color: #ffffff;
    width: fit-content;
    margin: 0 auto;
    border-radius: 100px;
    padding: 5px 20px;
  }

  /* Container */
  .container {
    width: 100%;
    height: 100%;
    /*background-color: #3171ff;*/
    /* background-image: url(../images/rp-bg.png); */
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;

  }

  /* Header */
  .header-container {
    width: 100%;
    padding: 10px;
    background-color: #004fff;
    background-color: #97da7c;
  }
  .header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .header-col-1 {
    flex-basis: 80%;
  }
  .header-col-1 span {
    font-size: 18px;
    color: #000000;
    font-weight: 300;
  }
  .logo {
    width: 150px;
  }
  .header-col-2 {
    flex-basis: 10%;
    text-align: right;
  }
  .header-col-2 button {
    background-color: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5em;
  }
  .header-col-3 {
    flex-basis: 10%;
    text-align: right;
  }
  .hamburger {
    background-color: transparent;
    border: 0;
    color: #000000;
    font-size: 20px;
    float: right;
    right: 0;
  }
 .header-dropdown-button {
  background-color: transparent;
  border: 0;
  color: #ffffff;
  font-size: 20px;
  float: right;
  right: 0;
    cursor: pointer;
}
.header-dropdown-button:hover {
    /*background-color: #fed602;*/
}
.header-dropdown-button:active {
   /* background-color: #fed602;*/
}
.header-dropdown-menu {
  color: #000000;
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  padding: 0;
  list-style: none;
  padding: 10px;
  top: 85px;
  border-radius: 6px;
  width: 25%;
  height: 60vh;
  box-shadow: 2px 2px 8px 0 #00000070;
  border: 6px solid #ff8c69;
  right: 50px;
  }
  .header-dropdown-menu p {
    font-size: 9.5px;
    font-weight: 300;
  }
  .header-dropdown-menu li a {
    display: block;
    text-decoration: none;
    color: #000000;
    font-weight: 300;
    background-color: #f1f1f1;
  }
  .header-dropdown-menu li a:hover {
    background-color: transparent;
    border-bottom: 6px solid #fed602;
  }
  .header-dropdown.open .header-dropdown-menu {
    display: block;
    text-align: left;
    z-index: 999999;
  }

  /* Barcode Search */
  .barcode-search-box {
    width: 100%;
    text-align: center;
    background-color: #8fc17c;
  }

  /* Content */
  .hs-content-container {
    width: 100%;
    height: 42.5vh;
    background-color: transparent;
    overflow-x: hidden;
    overflow-y: scroll;
    margin: 0 auto;
  }
  .hs-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }
  .hs-content-col {
    flex-basis: 40%;
    text-align: center;
    padding: 10px;
    margin: 10px auto;
    border-radius: 30px;
    background-color: #ffffffad;
  }
  .hs-content-col h1 {
    font-size: 2em;
    font-weight: 800;
  }
  .hs-content-col p {
    font-size: 12px;
    font-weight: 400;
    text-align: left;
  }

  #barcode-input {
    border-radius: 0;
    padding: 14px 20px;
    background-color: #7eab6d;
    border: 0;
    font-size: 18px;
    font-weight: 300;
    color: #ffffff;
  }
  #barcode-input:active {
    border-radius: 0;
    padding: 14px 20px;
    background-color: transparent;
    border: 0;
    font-size: 18px;
    font-weight: 300;
    border-bottom: 1px solid #000000;
    color: #ffffff
  }
  #barcode-input::placeholder {
    font-size: 14px;
    font-weight: 300;
    color: #ffffff;
  }
  .barcode-input-submit {
    padding: 14px 20px;
    color: #ffffff;
    border: 0;
    background-color: #ff8c69;
    font-size: 18px;
    font-weight: 300;
    cursor: pointer;
    transition: .2s ease-in-out;
    /*
    padding: 12px 20px;
    color: #ffffff;
    border: 0;
    background-color: #ff2b48;
    font-size: 18px;
    font-weight: 300;
    cursor: pointer;
    transition: .2s ease-in-out;
    border-radius: 100px;
    margin-left: -145px;
    */
  }
  .barcode-input-submit:hover {
    /*background-color: #ce4e17;*/
  }
  #result {
    font-size: 1em;
    font-weight: 800;
  }
  .result-div {
    color: #ff0000;
    text-align: center;
    background-color: #ffffff;
    border-radius: 100px;
    padding: 10px 20px;
    width: 30%;
    margin: 0 auto;
    margin-top: 25px;
    margin-bottom: 25px;
    font-size: 20px;
    border: 1px solid #eeeeee;
  }
  #image-container {
    font-size: 18px;
    font-weight: 400;
    margin-top: 20px;
  }
  #image-container img {
    border-radius: 0;
    width: auto;
    max-height: 150px;
  }
  #productNameContainer {
    font-size: 14px;
    font-weight: 400;
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  #productNameContainer h2 {
    font-size: 24px;
    font-weight: 600;
  }

  /* Phone Scanner Div */
  .video-container {
    width: 50%;
    position: fixed;
    background-color: #000000;
    top: 150px;
    border-radius: 30px;
    margin-left: 25%;
    height: 60vh;
    z-index: 999999;
    display: none;
  }

  /* How It Works */
  .hiw-container {
    width: 100%;
    text-align: center;
    background-color: #e8f0fe73;
    bottom: 60px;
    left: 20px;
    z-index: 9;
    border-radius: 0px;
    padding: 10px;
    margin: 0 auto;
    border: 1px solid #eeeeee;
    position: fixed;
    bottom: 78px;
    float: left;
    left: 0;
  }
  .hiw-container img {
    width: 50px
  }
  .hiw {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .hiw-col {
    flex-basis: 32%;
    color: #000000;
    text-align: center;
    background-color: #97da7c;
    min-height: 10vh;
    border-radius: 4px;
    padding: 10px;
    max-height: 15vh;
  }
  .hiw-container h2 {
    font-size: 1.2em;
    color: #000000;
    font-weight: 600;
    margin-bottom: 10px;
  }
  .hiw-container h3 {
    font-size: 12px;
    font-weight: 600;
    color: #363636;
    margin-bottom: 10px;
  }
  .hiw-container p {
    font-size: 12px;
  }

  /* Footer Bar */

  .footer-bar-container {
    width: 100%;
    padding: 10px;
    background-color: #ffffff;
    border-top: 1px solid #eeeeee;
    color: #000000;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999999;
  }
  .footer-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .footer-bar-col {
    flex-basis: 24%;
    text-align: center;
  }
  .footer-bar-container .icons {
    font-size: 1.5em;
  }
    .footer-bar-container button {
    padding: 10px;
    border-radius: 14px;
    background-color: #ffffff;
    cursor: pointer;
    border: 1px solid #cdcdcd;
    color:#333333;
    }
    .footer-bar-container button:hover {
    padding: 10px;
    border-radius: 14px;
    background-color: #ff8c69;
    cursor: pointer;
    border: 1px solid #ff8c69;
    color: #ffffff;
    }
    .footer-bar-container p {
      font-size: 10px;
    }

    /* Recall Modal */
    .recallmodal {
      display: none; /* Hidden by default */
      position: fixed; /* Stay in place */
      z-index: 1; /* Sit on top */
      left: 0;
      top: 0;
      width: 100%; /* Full width */
      height: 42.5vh; /* Full height */
      overflow: auto; /* Enable scroll if needed */
      background-color: #ffffff;
      top: 120px;
  }
  .recall-modal-content {
      background-color: #fefefe;
      padding: 10px;
  }
  .recall-close-button {
    position: relative;
    float: right;
    font-size: 1.5em;
    right: 10px;
    top: -5px;
    border: 1px solid #eeeeee;
    padding: 0 10px;
    background-color: #eeeeee;
    border-radius: 8px;
  }
  .recallclose-button:hover,
  .recallclose-button:focus {
      color: black;
      text-decoration: none;
      cursor: pointer;
  }
  #recallList {
    padding: 20px;
    border: 1px solid #eeeeee;
    border-radius: 20px;
  }

  /* Responsive */
  @media screen and (max-width: 600px) {
    .logo {
      width: 130px;
    }
    .video-container {
      min-width: 390px;
      max-height: 350px;
      position: absolute;
      background-color: #0000007e;
      top: 140px;
      border-radius: 20px;
      margin-left: 0;
      z-index: 999999;
      display: none;
      overflow: hidden
    }
    .header-dropdown.open .header-dropdown-menu {
      width: 80%;
      top: 150px;
      left: 42px;
      height: 60vh;
    }
    .header-dropdown-menu p {
      font-size: 14px;
    }
    .hs-content-col {
      flex-basis: 100%;
    }
    .hiw-container h3 {
      font-size: 10px;
    }
    .hiw-col {
      min-height: 15vh;
      max-height: 15vh;
    }
    .recallmodal {
      display: none; /* Hidden by default */
      position: fixed; /* Stay in place */
      z-index: 1; /* Sit on top */
      left: 0;
      top: 0;
      width: 100%; /* Full width */
      height: 40vh; /* Full height */
      overflow: auto; /* Enable scroll if needed */
      background-color: #ffffff;
      top: 140px;
    }
  }