.import-options {
  display: flex;
  justify-content: flex-start;
  align-items: center;

  .default-csv {
    margin-right: 15px;
  }

  .choose-file {
    margin: 0 15px;
  }

  .next {
    margin-left: 5px;
  }

}

.wptv-importer {
  position: relative;

  .ms-container {
    width: 100%;

    .ms-list {
      border-radius: 0;
      border-color: #333;
      height: 380px;

      & > li {
        display: flex;
        align-items: center;
        padding: 5px !important;
        cursor: pointer;

        .country-meta {
          justify-self: flex-end;
          margin-left: auto;

          span {
            padding: 0 10px;
            border-radius: 10px;
            color: #fff;

            &.premium {
              margin-right: 15px;
              color: deeppink;
              display: inline-flex;
              align-items: center;
              justify-content: center;

              .dashicons {
                padding: 0;
                color: #ffc107 !important;
                margin-right: 5px;
              }

              .pro-badge {
                color: deeppink;
                border: 1px solid;
              }

            }

            &.count {
              background: #17a2b8;
              margin-right: 10px;
            }
          }

        }

        .button {
          margin-right: 5px;
          display: flex;
          align-items: center;
        }

        img {
          width: 20px;
          margin-right: 5px;
          border: 1px solid #ddd;
          border-radius: 3px;
        }

      }

    }

    .ms-selectable {
      .ms-list {
        & > li {
          &.disabled {
            background: transparent;
            cursor: pointer;
          }

          &[selected] {
            display: none !important;
          }
        }
      }
    }

    .ms-selection {
      margin-top: 30px;
      .ms-list {
        & > li {
          display: none !important;

          &.ms-selected {
            display: flex !important;
            align-items: center;

            &.hide {
              display: none !important;
            }

          }

          .country-meta {
            margin-left: 10px;
            margin-right: auto;

            .premium {
              display: none;
            }

            .count {
              display: none;
            }
          }
        }
      }
    }

    .country-search {
      width: 100%;
      border-color: #333;
      margin: 0;
      padding: 5px 10px;
      border-radius: 0;
      border-bottom-width: 0;
    }

    .ms-selectable-header, .ms-selectable-footer, .ms-selected-header, .ms-selected-footer {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      background: #333;
      color: white;
      padding: 5px 15px;

      a {
        margin-right: 5px;
      }
    }
  }

  .import-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;

    a {
      margin-right: 10px;
      display: flex;
      align-items: center;

      &.done {
        display: none;
      }

      i{
        margin-right: 5px;
      }
    }


  }

  .import-progress {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(#000, .7);
    align-items: center;
    justify-content: center;
    display: none;
    text-align: center;
    padding: 30px 0;

    .import-progress-content {
      width: 100%;
      max-width: 700px;
      background: #fff;
      overflow: hidden;
      border-radius: 5px;
      padding: 50px 30px;

      h3 {
        color: dimgrey;
        font-weight: normal;
      }

      .progress-status {
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        width: 98%;
        margin-top: 10px;
        font-size: 15px;
        color: dimgray;

        .new-added, .updated {
          display: none;
        }

      }

      .progress-actions {
        border-top: 1px solid #ddd;
        margin-top: 15px;
        padding-top: 30px;

        a {
          margin: 0 5px;
        }

        #import-more, #import-done {
          display: none;
        }
      }

      &.done {
        #import-more, #import-done {
          display: inline-block;
        }

        #cancel-import {
          display: none;
        }
      }

    }

    &.update {
      .import-progress-content {
        .progress-status {
          .progress-percentage, .progress-count {
            display: none;
          }

          .new-added, .updated {
            display: block;
          }
        }

        &.done {
          #import-done {
            display: none;
          }

        }
      }
    }

    .progress {
      display: flex;
      height: 30px;
      overflow: hidden;
      font-size: .75rem;
      background-color: #e9ecef;
      border-radius: 10px;
      width: 100%;
      float: left;

      &-bar {
        display: flex;
        flex-direction: column;
        justify-content: center;
        color: #fff;
        text-align: center;
        white-space: nowrap;
        background-color: #007bff;
        transition: width .6s ease;

        &-striped {
          background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
          background-size: 30px 30px;
        }

        &-animated {
          animation: progress-bar-stripes .3s linear infinite;
        }

      }

      @-webkit-keyframes progress-bar-stripes {
        from {
          background-position: 30px 0;
        }
        to {
          background-position: 0 0;
        }
      }

    }

    &.csv_import {
      position: relative;
      border-radius: 10px;
      margin-top: -50px;

      .import-progress-content {
        margin: 50px;
      }
    }

  }

}

.wptv_page_import-channels {

  .import-instructions {
    border: 1px solid #ddd;
    padding: 10px;
    margin: 15px 0 40px;
    line-height: 1;

    h4{
      margin: 0;
      border-bottom: 1px dashed #ddd;
      padding-bottom: 10px;
      display: inline-block;
      margin-bottom: 6px;
    }

    p {
      margin: 0;
    }
  }

  .page-heading {
    h1 {
      padding: 0;
    }
  }
}

.promo-img {
  top: -71px !important;
}