@import 'grid';
@import 'common';

.next3offload-settings-wrap {
    display: block;
    overflow: hidden;
    position: relative;
    background: white;
    border-radius: 10px;
  }
  
  .nextcampaign-content-area .next3offload-settings-wrap {
    padding: 0px;
  }
  
  .next3offload-settings-wrap {
    .title {
      border-bottom: 1px #dddddd solid;
      padding-bottom: 15px;
    }
    .wrap-header{
      padding: 10px 0 10px;
      background: #2563EC;
      h2 {
        margin: 0px 0px 3px;
        text-align: center;
        font-size: 25px;
        line-height: 25px;
        font-weight: 600;
        color: #ffffff;
      }
    }
    > {
  
      span {
        font-size: 16px;
        color: #5c5c5c;
        font-weight: 400;
        line-height: 26px;
        padding-bottom: 25px;
        margin: 0;
      }
    }
  
    h3.next3offload-heading {
      margin: 0px 0px 5px;
      text-align: left;
      font-size: 24px;
      line-height: 30px;
      font-weight: 700;
      color: #444444;
      margin: 20px 0px;
  
      > a {
        font-size: 14px;
        float: right;
      }
    }
    .next3offload-body{
      padding: 10px 40px;
      .error-print {
        margin: 0;
        width: 100%;
        color: #2563ec;
        font-size: 14px;
        line-height: 2;
        margin: 16px 0;
        padding: 0 0 0 15px;
        outline: 0;
        border-radius: 3px;
        border: 1px solid #2563ec;
        background: #FFF;
        display: inline-block;
        align-items: center;
        gap: 5px;
      }
      .nextactive-license{
        .ins-active-license{
          .nextactive-message{
            border: 1px solid #2563ec;
            color: #2563ec;
            margin-top: 20px;
            border-radius: 4px;
            transition: all 0.3s;
            a{
              text-decoration: none;
              font-weight: bold;
              color: #2563ec;
              padding: 13px;
              display: block;
              font-size: 16px;
              text-align: center;
            }
            &:hover{
              background: #F4F4FC;
              border: 1px solid #A4C0FF;
            }
          }
        }
      }
    }
  }
  
  /*Progress Bar*/
  
  
  .next3-progressbars .next3-progressbar span {
    color: black;
    font-size: 13px;
  }
  
  .next3-progressbars-wrap {
    .next3-progressbar-show {
      color: rgb(255, 255, 255);
      font-size: 13px;
      font-weight: 400;
      text-align: center;
      font-style: italic;
    }
  
    .next3-progressbars {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      column-gap: 0px;
      width: 100%;
    }
  
    .next3-progressbar {
      &:first-child {
        border-radius: 5px 0px 0px 5px;
      }
  
      &:last-child {
        border-radius: 0px 5px 5px 0px;
      }
    }
  }
  
  .next3-progressbars .next3-progressbar {
    height: 16px;
    position: relative;
    background: #e3e1e1;
    border-radius: 0px;
    padding: 5px 8px;
    box-shadow: inset 0 -1px 1px rgb(255 255 255 / 30%);
    width: 100%;
    text-transform: capitalize;
  
    &.next3-progress-inactive {
      background: #a59b9b;
      background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
      opacity: 0.4;
      user-select: none;
      pointer-events: none;
    }
  
    &.next3-progress-process {
      background: #eb4f4f;
      background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
      background-size: 50px 50px;
      animation: hzmove 2s linear infinite;
      opacity: 1;
  
      span {
        color: #fff;
        display: none;
      }
  
      &::before {
        content: 'Processing...';
        position: absolute;
        top: 5px;
        z-index: 999;
        color: #fff;
      }
    }
  
    &.next3-progress-active {
      background: #0a7238cf;
      color: #fff;
      background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
      opacity: 1;
  
      span {
        color: #fff;
        display: none;
      }
  
      &::before {
        content: attr(data-title);
        position: absolute;
        top: 5px;
        z-index: 999;
        color: #fff;
      }
    }
  }
  
  .next3-settings-progressbars {
    display: none;
    width: 100%;
    margin-bottom: 10px;
    position: relative;
    height: 20px;
  
    &.nxopen {
      display: block;
    }
  
    .next3-progressbar {
      > span {
        position: absolute;
        height: 100%;
        right: 5px;
        top: 27px;
        font-size: 13px;
        font-weight: 600;
      }
  
      &.next3-progress-process {
        background: #8d8d91;
        background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
        background-size: 50px 50px;
        animation: hzmove 2s linear infinite;
        opacity: 1;
        position: relative;
        height: 20px;
        border-radius: 5px;
      }
    }
  
    > .complate-process {
      position: absolute;
      height: 100%;
      left: 0px;
      top: 0px;
      font-size: 13px;
      font-weight: 600;
      background: #165edd;
      z-index: 999;
      border-radius: 5px 0px 0px 5px;
    }
  }
  
  @keyframes hzmove {
    0% {
      background-position: 0 0;
    }
  
    100% {
      background-position: 50px 50px;
    }
  }
  
  /* Tabs */
  
  .next3offload-tabs {
    .nav-tabs {
      display: flex;
      justify-content: left !important;
      background: #dce1ec;
      padding: 18px;
      border-radius: 7px;
  
      .nav-item {
        padding: 0px;
        margin: 0px;
  
        a {
          text-decoration: none;
          padding: 5px 10px;
          color: #043959;
          font-size: 14px;
          font-weight: 600;
  
          &:active, &:focus {
            outline: none;
            box-shadow: none;
          }
  
          &.njs-active {
            border-bottom: 2px solid #949090;
            color: #f94881;
          }
        }
      }
    }
  
    .tab-content .njs-panel {
      display: none;
  
      &.njs-show {
        display: block;
      }
    }
  }
  
  .offload-content .nextactive-license .nextactive_container {
    background-color: #fff;
    border-radius: 5px;
    padding: 10px 0;
    margin: 10px 0px;
    position: relative;
  
    .ins-active-license {
      margin-top: 0px;
    }
  }
  
  /*providers*/
  
  .next3offload-providers {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 20px;
    justify-content: flex-start;
    .next3offload-provider {
      min-width: 155px;
      max-width: 200px;
      display: flex;
      flex-direction: column;
      row-gap: 5px;
      position: relative;
      text-align: center;
      .pro-img-label{
        input[type="radio"]{
          display: none;
        }
      }
      &.pro-disabled {
        user-select: none;
        cursor: no-drop;
        pointer-events: none;
      }
  
      &.upcomming::before {
        content: "Upcoming";
        position: absolute;
        top: 7px;
        left: 8px;
        background: #a65b23;
        padding: 3px 5px;
        border-radius: 10px;
        font-size: 12px;
        color: #fff;
      }
  
      .pro-img {
        background-color: #ffffff;
        padding: 0px 0px;
        border-radius: 10px;
        border: 1px solid #E1E7EE;
        width: auto;
        overflow: hidden;
        height: 115px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
  
        .dashicons {
          position: absolute;
          right: 7px;
          top: 6px;
          display: none;
          background: #2563ec;
          color: #fff;
          border-radius: 6px;
        }
        
  
        &.activediv {
          border: 1px solid #a4c0ff;
          background: #F4F4FC;
  
          .dashicons {
            display: block;
          }
          .nx-provider-marked{
            display: flex;
            width: 20px;
            height: 20px;
            padding: 3px;
            justify-content: center;
            align-items: center;
            flex-shrink: 0;
            border-radius: 20px;
            border: 1px solid #CBD5E1;
            background-color: #2563EC;
            position: absolute;
            top: 6px;
            right: 6px;
            &::before{
              content: "";
              position: absolute;
              top: 3px;
              left: -4px;
              margin: 0 auto;
              display: inline-block;
              transform: rotate(45deg);
              height: 9px;
              width: 3px;
              margin-left: 60%;
              border-bottom: 2px solid #ffffff;
              border-right: 2px solid #ffffff;
            }
          }
        }
  
        img {
          object-fit: contain;
          height: 50px;
          width: 100%;
        }
      }
  
      .pro-img-label > label {
        font-size: 14px;
        line-height: 16px;
        font-weight: 600;
      }
  
      &.pro-disabled {
        .pro-img-label, .pro-img {
          opacity: .4;
        }
      }
    }
  }
  
  .next3offload-providers-data {
    display: block;
    margin-top: 50px;
    border: 1px solid #E1E7EE;
    padding: 0px 30px 16px;
    border-radius: 10px;
  
    &.top-margin-0 {
      margin-top: 0px;
    }
  
    .next3offload-provider-data {
      display: none;
      margin: 30px 0 0px;
  
      &.activediv {
        display: block;
      }
  
      input {
        &[type="email"], &[type="text"], &[type="url"], &[type="password"] {
          width: 100%;
          border-radius: 5px;
          padding: 0px 10px 0px 20px;
          box-shadow: none;
          border: 1px solid #E1E7EE;
          margin: 0;
          direction: ltr;
          height: 44px;
          max-width: 350px;
        }
      }
  
      select {
        width: 100%;
        border-radius: 5px;
        padding: 0px 10px 0px 20px;
        -webkit-box-shadow: none;
        box-shadow: none;
        border: 1px solid #E1E7EE;
        margin: 0;
        direction: ltr;
        height: 44px;
        max-width: 350px;
      }
  
      textarea {
        width: 100%;
        height: 157px;
        white-space: pre;
        overflow: hidden;
        font-size: 13px;
        padding: 15px;
        border-radius: 5px;
        border: 1px solid #E1E7EE;
        background-color: unset;
        &:focus{
          outline: unset;
          box-shadow: unset;
        }
      }
  
      div.settings-item {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        margin: 10px 0px;
  
        label {
          font-size: 13px;
          display: -webkit-inline-box;
          display: -ms-inline-flexbox;
          display: inline-flex;
          line-height: 2em;
          font-weight: 600;
          width: 20%;
        }
  
        p {
          margin: 0;
          font-size: 14px;
          margin-bottom: 0px;
        }
        .nx-textarea-title{
          width: 10%;
        }
      }
    }
  }
  
  /*services*/
  
  .next3offload-services {
    // margin-top: 20px;
    // display: flex;
    // flex-wrap: wrap;
    // column-gap: 20px;
    // row-gap: 20px;
    margin-top: 20px;
    column-gap: 20px;
    row-gap: 10px;
    display: grid;
  
    .next3offload-service {
      // min-width: 180px;
      // max-width: 180px;
      display: flex;
      flex-direction: column;
      row-gap: 10px;
      position: relative;
      
      &.pro-disabled {
        user-select: none;
        cursor: no-drop;
        pointer-events: none;
      }
  
      &.upcomming::before {
        content: "Upcoming";
        position: absolute;
        top: 7px;
        left: 8px;
        background: #a65b23;
        padding: 3px 5px;
        border-radius: 10px;
        font-size: 12px;
        color: #fff;
      }
  
      .pro-img {
        background-color: #f4f4f4;
        padding: 0px 0px;
        border-radius: 5px;
        border: 1px solid #D8E4FC;
        width: auto;
        overflow: hidden;
        height: 70px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
  
        .dashicons {
          position: absolute;
          right: -7px;
          top: -8px;
          display: none;
          background: #90e0b1;
          color: #fff;
          border-radius: 100px;
        }
  
        &.activediv {
          border: 1px solid #ec705e;
  
          .dashicons {
            display: block;
          }
        }
  
        img {
          object-fit: contain;
          height: 50px;
          width: 100%;
        }

        border: 1px solid #E1E7EE !important;
        background: #FFF;
        box-shadow: unset;
        input[type="checkbox"] {
          display: none;
        }
        .nx-select-bg-border{
          position: absolute;
          width: 100%;
          height: 100%;
          left: 0;
          top: 0;
          z-index: 1;
          border-radius: 5px;
          border: 1px solid #a4c0ff;
          background: #F4F4FC;
          box-shadow: 0px 2px 10px 0px rgba(86,66,199,0.06);
          opacity: 0;
        }
        input[type="checkbox"]:checked + .nx-select-bg-border {
          opacity: 1;
          z-index: 999;
        }
        .nx-checkmark{
          display: flex;
          width: 24px;
          height: 24px;
          padding: 3px;
          justify-content: center;
          align-items: center;
          flex-shrink: 0;
          border-radius: 2px;
          border: 1px solid #CBD5E1;
          background: white;
          z-index: 999;
          position: absolute;
          right: 16px;
          border-radius: 4px;
          &::after{
            content: "";
            position: absolute;
            top: 6px;
            left: -4px;
            margin: 0 auto;
            display: inline-block;
            transform: rotate(45deg);
            height: 9px;
            width: 3px;
            margin-left: 60%;
            border-bottom: 2px solid #ffffff;
            border-right: 2px solid #ffffff;
          }
        }
        input[type="checkbox"]:checked~.nx-checkmark {
          background-color: #2563EC;
        }
        label{
          color: #000000;
          font-weight: 500;
          margin-bottom: 5px;
          font-size: 15px;
          padding: 20px 26px 20px 16px;
          z-index: 999;
          margin: 0;
          width: 100%;
          height: 100%;
          display: flex;
          align-items: center;
          cursor: pointer;
        }
      }
  
      .pro-img-label > label {
        font-family: Roboto;
        font-size: 16px;
        line-height: 24px;
        font-weight: 600;
      }
  
      &.pro-disabled {
        .pro-img-label, .pro-img {
          opacity: .4;
        }
      }
    }
  }
  
  /*end service*/
  
  .next3offload-types {
    display: block;
  
    .next3offload-types-header > {
      label {
        font-weight: 600;
        position: relative;
        .nx-options{
          color: #444444;
          font-weight: 600;
          font-size: 15px;
          padding: 12px 15px;
          height: 100%;
          display: flex;
          align-items: center;
          cursor: pointer;
          border: 1px solid #E1E7EE;
          border-radius: 5px;
          margin-left: 33px;
        }
        input[type="radio"]:checked ~ .nx-options{
          background: #F4F4FC;
          border: 1px solid #A4C0FF;
        }
        input[type="radio"]{
          display: none;
        }
        .nx-option-check{
          display: flex;
          width: 20px;
          height: 20px;
          padding: 3px;
          justify-content: center;
          align-items: center;
          flex-shrink: 0;
          border-radius: 20px;
          border: 1px solid #CBD5E1;
          background: white;
          transition: all 0.3s cubic-bezier(0.23,1,0.32,1);
          z-index: 999;
          position: absolute;
          left: 0px;
          top: 0;
          bottom: 0;
          margin: auto;
        }
        input[type="radio"]:checked + .nx-option-check{
          background-color: #2563EC;
          &::before{
            content: "";
            position: absolute;
            top: 0px;
            left: 0px;
            margin: 0 auto;
            height: 10px;
            width: 10px;
            background-color: white;
            border-radius: 20px;
            transform: translate(4px,4px);
          }
        }
      }
  
      p {
        font-weight: 500;
        margin-left: 33px;
      }
  
      a {
        font-weight: 500;
        display: inline-block;
      }
    }
  
    .next3offload-types-body {
      display: none;
  
      &.nxopend {
        display: block;
        padding: 0px 0 26px 26px;
      }
    }
  }
  
  .next3offload-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 50px;
  }
  
  .next3offload-settings-wrap .next3offload-admin-setting-button {
    padding-bottom: 0;
    .prev-btn{
      padding: 14px 49px;
      font-size: 16px;
      font-weight: 500;
      display: inline-block;
      line-height: 1;
      transition: all 0.4s ease;
      text-transform: capitalize;
      letter-spacing: 0.5px;
      outline: none;
      text-decoration: none;
      margin: 0px;
      cursor: pointer;
      color: #000;
      border: 2px solid #E5E9EC;
      border-radius: 5px;
      &:hover{
        background: #2563EC;
        color: white;
        border: 2px solid #ffffff;
      }
      &:focus{
        box-shadow: unset;
      }
    }
  
    button {
      background: #2563EC;
      box-shadow: unset;
      padding: 14px 49px;
      font-size: 16px;
      font-weight: 500;
      display: inline-block;
      line-height: 1;
      transition: all 0.4s ease;
      text-transform: capitalize;
      letter-spacing: 0.5px;
      outline: none;
      text-decoration: none;
      margin: 0px;
      cursor: pointer;
      color: #fff;
      border: 0;
      border-radius: 5px;
      height: 100%;
      &:hover{
        background: #3a73ef;
      }
    }
  }
  
  form.next3offload-settings {
    margin: 40px 0px;
  
    &.next3-loading {
      opacity: .4;
      user-select: none;
      pointer-events: none;
    }
  }
  
  .next3offload-config-area.next3-loading, form.next3offload-testsend.next3-loading {
    opacity: .4;
    user-select: none;
    pointer-events: none;
  }
  
  .next3-config-settings {
    margin: 0;
    
    .nx3_exiting_bucket_input{
      box-shadow: unset;
      border-radius: 5px;
      border: 1px solid #E1E7EE;
      &:focus{
        outline: none;
        box-shadow: unset;
      }
    }
    .nx3_new_region_input{
      border-radius: 5px;
      border: 1px solid #E1E7EE;
      &:focus{
        outline: none;
        box-shadow: unset;
      }
    }
    .nx_div_tr {
      display: flex;
      justify-content: flex-start;
      align-items: flex-start;
      align-self: center;
      flex-wrap: wrap;
      .nx_div_td {
        padding: 15px 0;
        position: relative;
        word-break: break-all;
        font-size: 13px;
  
        &:first-child {
          vertical-align: top;
          min-width: 90px;
          padding-top: 20px;
        }
  
        &:not(first-child) {
          vertical-align: middle;
        }
  
        > {
          h4 {
            font-weight: 500;
            margin-right: 10px;
            margin: 0;
            padding: 0;
          }
  
          span {
            font-weight: bold;
            margin-right: 10px;
          }
        }
      }
    }
  
    .nx3_msg_error {
      font-weight: bold;
      margin-right: 10px;
    }
  
    .nx_div_tr .nx_div_td a {
      text-decoration: none;
      font-weight: 400;
      font-size: 14px;
      line-height: 20px;
  
      &:visited, &:focus {
        outline: unset;
        box-shadow: none;
        border: none;
      }
  
      > i {
        text-decoration: none;
        font-weight: 400;
        font-size: 14px;
        vertical-align: middle;
        line-height: 20px;
      }
    }
  
    .nx_bucket_lists_views {
      background: #fff;
      position: relative;
      top: -13px;
      z-index: 99;
      left: 3px;
      list-style: none;
      box-shadow: 0 2px 8px 0 rgb(0 0 0 / 5%);
      border-radius: 6px;
      width: 100%;
      max-width: 397px;
      display: flex;
      flex-direction: column;
      height: 260px;
      overflow-y: scroll;
  
      li {
        padding: 10px 6px;
        border-bottom: 1px solid #cccccc36;
        cursor: pointer;
        list-style: none;
        font-size: 15px;
  
        &:last-child {
          border-bottom: unset;
        }
      }
    }
  
    .hide_tr {
      display: none;
    }
  
    .nx_div_tr {
      &.hide_tr {
        display: none;
      }
  
      .nx_div_td {
        input {
          &[type="email"], &[type="text"], &[type="url"], &[type="password"] {
            padding: 0.50rem 1rem;
            font-size: 0.875rem;
            background-color: #fff;
            border: 1px solid #d0d5dd;
            width: 100%;
          }
        }
  
        select {
          padding: 0.50rem 1rem;
          font-size: 0.875rem;
          background-color: #fff;
          border: 1px solid #d0d5dd;
          width: 100%;
        }
      }
  
      button {
        background: none;
        border-color: unset;
        -webkit-box-shadow: unset;
        box-shadow: unset;
        padding: 1px 7px;
        font-size: 14px;
        font-weight: 500;
        display: inline-block;
        line-height: 1;
        border-radius: 0px;
        -webkit-transition: all .4s ease;
        -o-transition: all .4s ease;
        transition: all .4s ease;
        text-transform: capitalize;
        letter-spacing: .5px;
        outline: none;
        text-decoration: none;
        margin: 0px;
        cursor: pointer;
        color: #393636;
        border: none;
        text-decoration: underline;
  
        /*border-radius: 6px;
        height: 3rem;
        display: flex;
        align-items: center;
        padding: 0 1.3rem;
        text-decoration: none;
        border: 1px solid #ec705e;
        -webkit-box-shadow: 0 2px 8px 0 rgb(0 0 0 / 5%), 0 2px 1px 0 rgb(0 0 0 / 5%);
        box-shadow: 0 2px 8px 0 rgb(0 0 0 / 5%), 0 2px 1px 0 rgb(0 0 0 / 5%);*/
  
        &.backcolor {
          background-image: -webkit-linear-gradient(300deg, #779bff 0%, #574ff7 100%);
          background-image: -o-linear-gradient(300deg, #779bff 0%, #574ff7 100%);
          background-image: linear-gradient(150deg, #779bff 0%, #574ff7 100%);
          border-color: #574ff7;
          -webkit-box-shadow: unset;
          box-shadow: unset;
          padding: 14px 20px;
          font-size: 14px;
          font-weight: 500;
          display: inline-block;
          line-height: 1;
          border-radius: 3px;
          -webkit-transition: all .4s ease;
          -o-transition: all .4s ease;
          transition: all .4s ease;
          text-transform: inherit;
          letter-spacing: .5px;
          outline: none;
          text-decoration: none;
          margin: 0px;
          cursor: pointer;
          color: #fff;
        }
      }
  
      &.bucket_footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0px 20px;
        .nx3_exiting_bucket_btn{
          background: #2563EC;
          box-shadow: unset;
          padding: 14px 28px;
          font-size: 16px;
          font-weight: 500;
          display: inline-block;
          line-height: 1;
          outline: none;
          text-decoration: none;
          margin: 0px;
          cursor: pointer;
          color: #fff;
          border: 0;
          border-radius: 5px;
          height: 100%;
          text-transform: capitalize;
        }
      }
    }
  }
  
  .next3-offload-wrap {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 0px;
    align-items: center;
  
    > .next3aws-toolbox-heading {
      width: 100%;
    }
  }
  
  .next3aws-footer-content.next3-offload-section {
    flex: 0 0 65%;
    display: flex !important;
    flex-wrap: wrap;
    column-gap: 10px;
  
    p {
      width: 100%;
    }
  }
  
  .next3-offload-pie {
    padding: 0px;
    margin: 0px;
    flex: 0 0 34%;
  
    .next3-offload-pie-chart {
      border-radius: 50%;
      width: 80px;
      height: 80px;
    }
  
    > p {
      margin: 0px;
      line-height: 2em;
    }
  }
  
  .next3aws-section .action-button {
    padding: 6px 6px !important;
    height: 30px;
  }
  
  .next3-offload-action, .next3-offload-pause, .next3-offload-cancel {
    display: none !important;
  }
  
  .next3-offload-action.nxopen, .next3-offload-pause.nxopen, .next3-offload-cancel.nxopen {
    display: block !important;
  }
  