.chemkit-buy-button {
  display: none;
}

chemkit-popup {
  display: none;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  z-index: 1001;

  .chemkit-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    padding: 30px;
    z-index: 1000;

    .chemkit-popup__header {
      text-align: right;

      .close {
        font-size: 24px;
        color: #999;
        text-decoration: none;
      }
    }

    .chemkit-popup__content {
      padding: 0px 10px;

      h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
      }

      ol {
        padding-left: 0px;
        margin-left: 20px;
        margin-bottom: 30px;
      }

      li {
        margin-bottom: 10px;
      }

      .chemkit-popup__inside-message {
        margin: 20px 0;
      }

      .chemkit-popup__redeem-form {
        margin-bottom: 20px;

        .chemkit-form-row {
          margin-bottom: 15px;
          display: flex;
          width: 100%;

          input[type="text"] {
            flex: 0 0 80%;
            padding: 10px;
            border: 1px solid #ccc;
            box-sizing: border-box;
          }

          button[type="submit"] {
            flex: 0 0 20%;
            padding: 10px;
            border: 1px solid #64760a;
            color: #fff;
            cursor: pointer;
            box-sizing: border-box;
    
            /* Add these properties to fix button on older iOS devices */
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            border-radius: 0;
            min-width: initial;
            display: inline-block;
            text-align: center;
          }
    
          button[type="submit"].loading {
            opacity: 0.5;
    
            span {
              display: none;
            }
          }
        }
      }

      .phoneNumber {
        font-weight: bold;
      }

      

      .chemkit-additional-information {
        font-size: 11px;
        color: #666;
      }
    }

    @media screen and (max-width: 749px) {
      .chemkit-popup__content {
        padding: 0px;
      }
    }
  }
}

chemkit-popup.open {
  display: block;
}

.overflow-hidden {
  overflow: hidden;
}

.chemkit-popup-outside-message,
.chemkit-popup__inside-message {
  display: none;
  border-top: 2px solid;
  padding: 1rem;
  color: #1b1b1b;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 2px 0px;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;

  &.info {
    border-top-color: #2066a8;
    background-color: #cde1ec;
  }

  &.success {
    border-top-color: #408140;
    background-color: #64c564;
  }

  &.error {
    border-top-color: #a00000;
    background-color: #d8a6a6;
  }
}

.flex {
  display: flex;
}
