.import-modal__wrapper {
  .modal__item {
    display: flex;
    flex-direction: column;
    z-index: 100001;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    position: fixed;
    max-width: 100%;
    background: #fff;
    overflow-y: auto;
  }

  .modal__header {
    padding: 30px 10px 30px;
    z-index: 200000;
    position: relative;
    border-bottom: 1px solid #ccc;
    background-color: #000;
    .background {
      position: absolute;
      top: 0;
      bottom:0;
      left: 0;
      right: 0;
      z-index: 0;
      background-size: cover;
      background-position: center 30%;
      filter: blur(4px);
      &:after {
        background-color: rgba(0,0,0,0.7);
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: block;
      }
    }
    .title {
      @include unblur( .3s );
      position: relative;
      z-index:10000000;
      font-size: 30px;
      margin: 10px 0;
      line-height: 1.6;
      color: #fff;
      font-weight: 400;
    }
    .close {
      position: absolute;
      right: 10px;
      top: 5px;
      font-size: 30px;
      cursor: pointer;
      background: transparent;
      color: #fff;
      border: 0;
      font-weight: 600;
      &:hover {
        color: $error;
      }
    }
  }

  .modal__content {
    padding: 10px 10px;
  }
  .modal__footer {
    margin-top: auto;
    min-height: 30px;
    background: #fafafa;
    border-top: 1px solid #ccc;
    padding: 15px 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    a {
      margin-bottom: 0;

      &:last-of-type {
        margin-left: 10px;
      }
    }
    button:last-of-type {
      margin-left: 10px;
    }
  }
  .disclaimers {
    background: #e4f0f7;
    padding: 10px;
    border: 1px solid #a6c6df;
    border-radius: 3px;
    line-height: 1.6;
    color: #23282d;
    font-size: 14px;
    &.warning {
      background: #f7e4d2;
      border: 1px solid #dfac9a;
    }
    strong {
      font-size: 18px;
      font-weight: 400;
      display: flex;
      align-items: center;
      i {
        margin-right: 5px;
        font-size: 1em;
      }
    }
  }

  .success {
    @include unblur(.3s);
    color: #23282d;
    font-weight: 300;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    .dashicons {
      @include heartpop();
      color: $error;
      font-size: 18px;
      margin-right: 10px;
      &:before {
        right: 1px;
        position: relative;
      }
    }
  }
}

.import__options {
  padding: 20px 0 0;
  width: 100%;
  box-sizing: border-box;
  display: inline-block;
  &.disabled {
    pointer-events: none;
    opacity: .6;
    cursor: not-allowed;
  }
  h4 {
    font-size: 18px;
    font-weight: 400;
  }
  .option_toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin: 0;
    transition: .3s ease background-color;
    color: #32373c;
    .option-toggle-label.inactive > .dashicons {
      opacity: .35;
    }
    &:not(:last-of-type) {
      border-bottom: 1px solid #eeeeee;
    }
    span {
      margin-right: 10px;
    }
  }
}

@mixin modal--laptop() {
  .import-modal__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 100001;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(49, 57, 68, 0.85);

    .modal__item {
      display: block;
      margin: 0 auto;
      height: auto;
      top: unset;
      left: unset;
      right: unset;
      bottom: unset;
      max-height: 100vh;
      max-width: 675px;
      width: 675px;
      background: #fff;
      .close {
        top: 10px;
        right: 10px;
      }
      .modal__header {
        padding: 20px 10px;
        flex-direction: row;
        display:flex;
        align-items: center;
        justify-content: center;
        background-position: center center;
        background-size: cover;
      }
    }
  }
}
