// Quick Access add services modal

.qa-modal-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 9999;

    #dua-modal {
      position: absolute;
      top: 50%;
      left: 59%;
      transform: translate(-50%, -50%);
      background-color: rgba(255, 255, 255, 1);
      opacity: 1;
      padding: 2.7rem 2.2rem;
      border-radius: 10px;
      max-height: 550px;
      overflow-y: auto;

      @media (max-width: 1750px) {
        width: 1000px;
      }

      @media (max-width: 1600px) {
        width: 800px;
      }


      .dua-modal-header {
        margin: 0rem 0rem 9rem 0rem;
        padding: 0rem;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .dua-modal-header-left {
          display: flex;
          align-items: center;

          h3, p {
            color: #040059;
            font-size: 1.5rem;
            font-weight: bold;
            letter-spacing: 0.3px;
          }

          h3 {
            margin: 0rem 0.7rem 0rem 1.1rem;
          }
        }

        .dua-modal-close-btn-container {
          .close-btn {
            outline: none !important;
            border: none;
            background-color: #fff;
          }
        }
      }

      .modal-searchbar-container {
        margin-bottom: 7rem;
        display: flex;
        justify-content: center;


        input {
          width: 58rem;
          padding-bottom: 0.95rem;
          border: none;
          border-bottom: 1px solid #707070;
          font-size: 1.8rem;
          font-weight: 300;
          color: #707070;
          outline: none !important;

          &::placeholder {
            text-align: center;
            font-size: 1.8rem;
            font-weight: 100;
            color: #707070;
          }

          &:focus {
            border-bottom: 1px solid #1a73e8;
          }
        }
      }

      .qa-modal-content-container {
        padding: 0rem 2rem 4.4rem 2rem;
        margin-bottom: 2.5rem;
        display: grid;
        grid-template-columns: 430px 430px 430px;
        column-gap: 2rem;
        row-gap: 1.3rem;
        cursor: pointer;

        .qa-modal-app-container {
          width: 100%;
          background-color: #F8F8F8;
          border-radius: 5px;
          padding: 1.2rem 1.8rem 1.2rem 0rem;

          .qa-modal-app {
            margin-left: 3rem;

            p {
              font-size: 1.4rem;
              color: #040059;

              .qa-app-role {
                font-weight: bold;
              }
            }

            img {
              display: none;
            }
          }

          &:hover {
            background-color: #1a73e8;

            .qa-modal-app {
              display: flex;
              align-items: center;
              justify-content: space-between;

              p {
                color: #fff;
              }

              img {
                display: block;
              }
            }
          }
        }

        @media (max-width: 1750px) {
          grid-template-columns: auto auto;
        }
      }

      .qa-modal-footer {
        display: flex;
        justify-content: flex-end;

        .qa-modal-footer-btn {
          font-size: 1.3rem;
          background-color: #040059;
          color: #fff;
          letter-spacing: 0px;
          padding: 1.2rem 2.9rem;
          margin-left: 1.86rem;
          border-radius: 10px;
          transition: 0.5s;
          white-space: nowrap;
        }
      }

      /* Track */
      &::-webkit-scrollbar-track {
        background: #e9f0f9;
        border-radius: 10px;
        margin-top: 70px;
        margin-bottom: 20px;
      }

      /* Handle */
      &::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
      }

      /* Handle on hover */
      &::-webkit-scrollbar-thumb:hover {
        background: transparent;
      }
    }
}

//------------------------------------------------------------------------------------------------

// Gate Invitation modal

.gate-invitation-modal-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.3);

  #dua-modal {
    position: absolute;
    top: 50%;
    left: calc(50%);
    transform: translate(-50%, -50%);
    background-color: #EFF3F9;
    opacity: 1;
    padding: 2.7rem 2.2rem;
    border-radius: 0px;
    height: auto;
    max-height: 800px;
    width: auto;
    overflow-y: scroll;
    overflow-x: hidden;

    @media (max-width: 1599px) {
      width: 1000px;
    }

    @media (max-width: 1399px) {
      width: 700px;
    }

    @media (max-width: 1099px) {
      width: 500px;
    }

    .dua-modal-header {
      margin: 0rem 0rem 6rem 0rem;
      padding: 0rem;
      display: flex;
      align-items: center;
      justify-content: space-between;

      .dua-modal-header-left {
        display: flex;
        align-items: center;

        h3, p {
          color: #040059;
          font-size: 1.5rem;
          font-weight: bold;
          letter-spacing: 0.3px;
        }

        h3 {
          margin: 0rem 0.7rem 0rem 1.1rem;
        }
      }

      .dua-modal-close-btn-container {
        .hide-element {
          display: none;
        }
      }
    }

    &::-webkit-scrollbar {
      background: #e9f0f9;
      border-radius: 10px;
      width: 10px;
    }
      /* Track */
      &::-webkit-scrollbar-track {
        background: #e9f0f9;
        border-radius: 10px;
        margin-top: 70px;
        margin-bottom: 20px;
      }
  
      /* Handle */
      &::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
      }
  
      /* Handle on hover */
      &::-webkit-scrollbar-thumb:hover {
        background: transparent;
      }
  }
}

//------------------------------------------------------------------------------------------------

// Gate Invitation confirmation modal

.gate-invitation-confirm-modal-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.3);

  #dua-modal {
    position: absolute;
    left: calc(50% + 200px);
    top: 45vh;
    transform: translate(-50%, -50%);
    background-color: #EFF3F9;
    opacity: 1;
    padding: 2.7rem 2.2rem;
    height: auto;
    width: 1348px;
    overflow-y: auto;

    @media (max-width: 1750px) {
      width: 1000px;
    }

    @media (max-width: 1399px) {
      width: 800px;
    }

    @media (max-width: 1199px) {
      top: 50vh;
      width: 600px;
    }

    .dua-modal-header {
      margin: 0rem 0rem 9rem 0rem;
      padding: 0rem;
      display: flex;
      align-items: center;
      justify-content: space-between;

      .dua-modal-header-left {
        display: flex;
        align-items: center;

        h3, p {
          color: #040059;
          font-size: 1.5rem;
          font-weight: bold;
          letter-spacing: 0.3px;
        }

        h3 {
          margin: 0rem 0.7rem 0rem 1.1rem;
        }
      }

      .dua-modal-close-btn-container {
        .hide-element {
          display: none;
        }
      }
    }
  }

  .gate-invitation-confirm-modal {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  
    &--text-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4rem;
  
      p {
        margin: 0;
        font-size: 1.6rem;
        color: #040059;
        text-align: center;
  
        span {
          font-weight: bold;
        }
      }
    }
  
    &--btn-container {
      display: flex;
      justify-content: center;
  
      button {
        padding: 1.5rem 4.1rem;
        margin-top: 5rem;
        text-align: center;
        border: none;
        outline: none;
        border-radius: 1rem;
        background-color: #040059;
        color: #fff;
        font-size: 1.4rem;
        transition: 0.5s;
  
        &:hover {
          background-color: #1a73e8;
        }
      }
    }
  }
}

