.toplevel_page_radio-player,
.radio-player_page_radio-player-add-new {
  #wpcontent {
    padding-left: 0;
  }
}

.radio-player-app {
  * {
    box-sizing: border-box;
  }

  &__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFF;
    padding: 10px 10px 10px 10px;

    .header-title {
      display: flex;
      align-items: center;
      font-size: 1.1rem;
      font-weight: 500;
      cursor: pointer;
      margin-right: auto;

      .btn-back {
        border: none;
        background: 0 0;
        border-right: 1px solid #ccc;
        padding: 0 10px 0 0;
        margin-right: 10px;
        cursor: pointer;
        color: #5c637e;
        height: 30px;
        border-radius: 0;

        &:hover {
          color: $radio_player_color_dark;
        }

      }

      img {
        width: 35px;
        margin-right: 10px;
      }

      input[type=text] {
        border-radius: 7px;
        padding: 5px 12px;
        border: 1px solid rgba(92, 99, 126, 0.3);
        position: relative;
        margin-left: 10px;
        width: auto;
      }

    }

    .header__actions {
      display: flex;
      align-items: center;

      .btn-save {
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;

        &.disabled {
          pointer-events: none;
          background: #f1f1f1 !important;
          color: #ccc !important;
        }
      }

      .components-button-group {
        border-radius: 5px;
        border: 1px solid #ddd;
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
        overflow: hidden;
        padding: 0;
        margin-right: 15px;

        button {
          color: #555c66;
          background: #f8f8f8;
          height: 38px;
          line-height: 1.5;
          transition: all .3s ease;
          box-shadow: none !important;
          font-weight: 500;
          margin: 0;
          border-radius: 0 !important;

          i {
            margin-right: 7px;
          }

          &:first-child {
            border-top-left-radius: 5px !important;
            border-bottom-left-radius: 5px !important;
          }

          &:last-child {
            border-top-right-radius: 5px !important;
            border-bottom-right-radius: 5px !important;
            border-left: 1px solid #ddd;
          }

          &:hover {
            background: rgba($radio_player_color, .05);
            color: $radio_player_color;
          }

        }
      }

    }

    .btn-back {
      background: #5C637E;
      color: #FFF;
    }

    @media (max-width: 767px) {
      .header__title {
        img {
          width: 30px;
        }

        span {
          font-size: 1rem;
        }
      }
    }

  }

  .empty-placeholder {
    padding: 2rem 2rem;
    border-radius: 10px;
    border: 1px solid rgba(#2FB44B, 0.3);
    background: #FFF;
    margin: 50px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    max-width: 100%;
    width: 30rem;

    img {
      max-width: 250px;
      width: 100%;
      margin-left: 40px;
    }

    h3 {
      color: #333;
      margin-top: 30px;
      margin-bottom: 5px;
      font-weight: 500;
    }

    p {
      color: #555;
      margin-bottom: 10px;
    }

    button {
      margin-top: 10px;
    }
  }

  .selection-actions-wrap {
    display: flex;
    align-items: center;
    margin-top: 30px;

    .selection-count {
      font-weight: 500;
      background: rgba(#2FB44B, 0.1);
      padding: 10px 10px;
      border-radius: 5px;
      height: 35px;
      border: 1px solid rgba(#2FB44B, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .9rem;
    }

    .radio-player-btn {
      margin-left: 10px;
      height: 35px;
    }
  }

  .components-base-control__field {
    margin-bottom: 0;

    .components-checkbox-control__input {
      border-color: rgba(#5c637e, 0.5);
      margin: 0;

      &-container {
        margin: 0;
      }

      &:checked {
        background: $radio_player_color_light;
        border-color: $radio_player_color_light;
      }

    }
  }

  .player-list {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;

    &-wrap {
      padding: 20px;
    }

    &-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 15px;
      margin-bottom: 15px;

      .player-list-title {
        font-size: 22px;
        font-weight: 600;
        margin: 0;

        .player-list-count {
          color: #5C637E;
          font-size: 1rem;
          font-weight: normal;
        }

      }

      .list-column-settings {

        i {
          width: 25px;
          height: 25px;
          font-size: 25px;
          color: #5c637e;
          cursor: pointer;
        }

        .list-settings-tooltip {
          display: flex;
          flex-wrap: wrap;
          justify-content: space-between;
          max-width: 580px;

          .settings-columns {
            width: 100%;
            margin-bottom: 10px;
          }

        }

        .settings-wrap {
          margin-bottom: 5px;

          h4 {
            margin-top: 0;
            margin-bottom: 7px;
          }


          .components-select-control {
            max-width: 150px;
            min-width: unset;
            width: unset;
          }

          .components-select-control__input {
            height: 35px !important;
            padding: 0 25px 0 8px !important;
          }

          .components-input-control__backdrop {
            border-color: #eee;
            height: 35px !important;
          }

        }

        .column-options {
          display: flex;

          .igd-column-setting {
            margin-bottom: 10px;
            margin-right: 10px;
            border: 1px solid #eee;
            padding: 5px 7px;
            border-radius: 5px;

            .components-base-control__field {
              display: flex;
              align-items: center;
            }

          }

          .components-checkbox-control__input-container {
            margin-right: 5px;
          }

        }

        .components-checkbox-control__label {
          text-transform: capitalize;
          font-size: 13px;
          line-height: 1.5;
        }

      }

    }

    thead {
      background: #FFF;

      th {
        padding: 24px 15px;
        font-size: .875rem;
        color: #5C637E;
        border-left-width: 0;
        border-right-width: 0;
        margin-bottom: 1rem;

        &:first-child {
          border-radius: 10px 0 0 10px;
        }

        &:last-child {
          border-radius: 0 10px 10px 0;
        }

        i {
          margin-left: 5px;
          color: #5c637e;
        }

        .radio-player-tooltip {
          font-weight: 500;
          font-size: 12px;
          width: 200px;
        }

      }
    }

    tbody {
      th, td {
        padding: 10px 20px;
        font-size: .875rem;
        color: #5C637E;
        white-space: nowrap;
        text-align: center;

        &:first-child {
          border-radius: 10px 0 0 10px;
        }

        &:last-child {
          border-radius: 0 10px 10px 0;
        }
      }
    }

    &-item {
      transition: all .3s ease;
      background: #fff;
      vertical-align: middle;

      &:hover {
        background: #fbfbfb;
      }
    }

    .col-selection {
      width: 50px;
      text-align: center;

      .components-base-control__field {
        margin-bottom: 0;
      }

    }

    .col-id {
      width: 30px;
    }

    .col-title {
      text-align: left;
    }

    td.col-title {
      font-weight: 600;
      cursor: pointer;
      transition: all .3s ease;

      &:hover {
        color: $radio_player_color_dark;
      }
    }

    td.col-id {
      font-weight: 500;
    }

    .col-code {
      & > div {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        position: relative;
        width: max-content;
        margin: auto;

        code {
          padding: 7px 10px 7px 35px;

          background: #FFF;
          color: #5C637E;
          border-radius: 7px;
          border: 1px solid rgba(#5C637E, .2);
          font-size: 12px;
        }

        i {
          left: 3px;
          color: $radio_player_color_light;
          padding: 7px;
          border-radius: 30px;
          height: auto;
          width: auto;
          cursor: pointer;
          position: absolute;
          font-size: 24px;
        }
      }
    }

    .col-count {
      text-align: center;

      .play-count {
        background: #E7E7E7;
        color: #5C637E;
        padding: 5px 10px;
        border-radius: 5px;
        border: 1px solid rgba(#5C637E, .2);

        &.pro-feature {
          background: #FED561;
          border-color: rgba(#FED561, .3);
        }
      }

    }

    .col-locations {
      text-align: center;

      .location-count {
        text-align: center;
        cursor: pointer;
        border: 1px solid rgba(#5C637E, .2);
        border-radius: 5px;
        padding: 5px 10px;
        color: #5c637e;

        &:hover {
          background: rgba(#5C637E, .2);
          color: #fff;
        }

      }

      h3 {
        margin-top: 0;
        margin-bottom: 10px;
      }

      .radio-player-tooltip {
        padding: 15px;
      }

      .location-item {
        margin-bottom: 7px;

        a {
          text-decoration: none;
          display: flex;
          align-items: center;

          i {
            margin-left: 7px;
          }
        }
      }

    }

    .col-date {
      text-align: center;
    }

    .col-actions {
      padding-right: 10px;
      text-align: right;

      button {
        padding: 7px 10px;
        display: inline-flex;
      }
    }

    th.col-actions {
      padding-right: 30px;
    }

    &-footer {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    @media (max-width: 767px) {
      &-wrap {
        overflow-x: auto;
        margin-right: 10px;
      }

      thead {
        th {
          padding: 15px;
          white-space: nowrap;
        }
      }
    }

  }

  .radio-player-form {
    padding: 20px;

    .form-header {
      background: #FFF;
      border-radius: 10px;
      padding: 20px;
      display: flex;
      flex-direction: column;
      margin-bottom: 30px;

      h3 {
        margin-bottom: 30px;
      }

      .header-controls {
        display: flex;
        align-items: center;
        flex-wrap: wrap;

        label {
          margin-bottom: 0;
          margin-right: 10px;
          font-weight: 500;
          color: #333;
          font-size: .875rem;
        }

        .player-title-wrap {
          display: flex;
          align-items: center;

          input[type="text"] {
            border: 1px solid #e5e5e5;
            border-radius: 7px;
            padding: 7px 10px;
            width: 300px;
            max-width: 100%;
            font-size: .875rem;
            color: #5C637E;
          }
        }

        .status-control {
          margin-left: auto;
        }

        .shortcode-control {
          margin-left: auto;
          display: flex;
          align-items: center;
        }

      }

      @media (max-width: 1199px) and (min-width: 992px) {
        .header-controls {
          .player-title-wrap {
            input[type=text] {
              width: 230px;
            }
          }
        }
      }

      @media (max-width: 767px) {
        .header-controls {
          .shortcode-control {
            display: none;
          }
        }
      }

      @media (max-width: 767px) {
        padding: 15px;

        .header-controls {

          label {
            font-size: 12px;
            margin-right: 0;
            margin-bottom: 7px;
          }

          .player-title-wrap {
            flex-direction: column;
            align-items: flex-start;
            margin-bottom: 10px;
          }

          .status-control {
            margin-left: 0;
          }

        }
      }

    }

    &-main {
      display: flex;
      flex-wrap: wrap;
      width: 100%;
      align-items: flex-start;

      @media (max-width: 991px) {
        flex-flow: column-reverse;
      }
    }

    &-settings {
      display: flex;
      flex-direction: column;
      width: 60%;

      .settings-tabs {
        background: #FFF;
        border-radius: 10px 10px 0 0;
        padding: 20px 10px;
        display: flex;
        align-items: center;
        justify-content: space-around;
        top: 32px;
        position: sticky;
        z-index: 9;
        border-bottom: 1px solid #e5e5e5;

        button {
          background: transparent;
          border: none;
          padding: 0;
          margin: 0 15px;
          display: flex;
          align-items: center;
          font-size: 15px;
          font-weight: 500;
          color: #5C637E;
          cursor: pointer;
          position: relative;
          transition: all .3s ease;

          .tab-icon {
            width: 25px;
            height: 25px;
            margin-right: 7px;
            background-color: #5C637E;
            transition: all .3s ease;
          }

          &.active {
            color: $radio_player_color_dark;

            .tab-icon {
              background-color: $radio_player_color_dark;
            }

            &:after {
              content: '';
              position: absolute;
              bottom: -20px;
              left: 0;
              width: 100%;
              height: 4px;
              background-color: $radio_player_color_dark;
            }

          }

          &:hover {
            color: $radio_player_color_dark;

            .tab-icon {
              background-color: $radio_player_color_dark;
            }
          }

          &.tab-stations {
            .tab-icon {
              mask: url("../images/tabs/stations.svg") no-repeat center / contain;
            }
          }

          &.tab-skins {
            .tab-icon {
              mask: url("../images/tabs/skins.svg") no-repeat center / contain;
            }
          }

          &.tab-controls {
            .tab-icon {
              mask: url("../images/tabs/controls.svg") no-repeat center / contain;
            }
          }

          &.tab-appearance {
            .tab-icon {
              mask: url("../images/tabs/appearance.svg") no-repeat center / contain;
            }
          }

          &.tab-schedules {
            .tab-icon {
              mask: url("../images/tabs/schedules.svg") no-repeat center / contain;
            }
          }

        }

      }

      .settings-header {
        border-bottom: 1px solid #e5e5e5;
        margin-bottom: 15px;

        h3 {
          margin-top: 0;
          margin-bottom: 0;
        }

        p {
          margin-bottom: 10px;
          margin-top: 5px;
        }

      }

      .settings-body {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: #FFF;
        border-radius: 0 0 10px 10px;
        padding: 20px;
      }

      .form-group {
        display: flex;
        align-items: flex-start;
        width: 100%;
        margin-bottom: 15px;
        background: #F7F8FA;
        padding: 15px 20px;
        border-radius: 7px;

        .form-label {
          font-weight: 600;
          display: flex;
          align-items: center;
          justify-content: space-between;
          margin-right: 20px;
          width: 180px;
          margin-top: 6px;
          margin-bottom: 0;

          span {
            display: flex;
            gap: 4px;
          }

          &:after {
            content: ":";
            margin-left: auto;
          }

          svg {
            margin-right: 10px;
          }

        }

        .form-field {
          flex: 1;
          display: flex;
          flex-flow: column;
          max-width: 100%;

          .description {
            margin-top: 5px;
            font-size: .875rem;
            color: #5C637E;
            max-width: 100%;

            a {
              color: $radio_player_color_dark;
              text-decoration: none;

            }
          }

          &-sub {
            margin-top: 15px;

            .form-group {
              align-items: flex-start;
              flex-direction: column;
              border: 1px dashed #ddd;
              padding: 12px 15px;

              .form-label {
                width: auto;
                margin-bottom: 10px;

                &:after {
                  content: "";
                }
              }

            }

          }

          &.stream {
            p {
              &:not(:last-child) {
                margin-bottom: 5px;
              }
            }
          }

          &.field-playlist-height {
            input {
              width: 200px;
            }
          }

        }

        &:last-child {
          margin-bottom: 0;
        }

        &.box-shadow {

          .components-range-control {
            margin-bottom: 15px;

            label {
              margin-bottom: 0;
              display: block;
            }
          }

          .radio-player-color-palette {
            margin: 10px 0 20px 0;
          }

          .shadow-color-label {
            font-size: 11px;
            font-weight: 500;
            line-height: 1.4;
            text-transform: uppercase;
            box-sizing: border-box;
            display: block;
            padding-top: 0px;
            padding-bottom: 0px;
            max-width: 100%;
            z-index: 1;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            margin-top: 0px;
            margin-bottom: 7px;

            & + .radio-player-color-picker-wrapper {
              margin-bottom: 15px;
            }

          }

          .components-select-control {
            width: 100px;
          }

          &:has(.components-base-control__field) {
            .components-form-toggle {
              margin-bottom: 30px;
            }
          }

        }

        &.group-week-days {
          flex-direction: column;
          align-items: flex-start;

          .form-label {
            margin-bottom: 10px;
            margin-right: 0;
            width: 100%;

            &:after {
              content: "";
            }
          }

        }

        &.group-month-dates {
          flex-direction: column;
          align-items: flex-start;

          .form-label {
            margin-bottom: 10px;
            margin-right: 0;
            width: 100%;

            &:after {
              content: "";
            }
          }

        }

        &.group-play-time {
          flex-direction: column;
          align-items: flex-start;

          .form-label {
            margin-right: 0;
            width: 100%;

            &:after {
              content: "";
            }
          }
        }

        .time-group {
          display: flex;
          align-items: center;
          border: 1px solid #e5e5e5;
          border-radius: 5px;
          padding: 10px;
          margin-bottom: 10px;
          background: #FFF;
          width: max-content;

          .time-index {
            font-weight: 600;
            margin-right: 10px;
          }

          &-wrap {
            display: flex;
            flex-direction: column;
            margin-top: 10px;

            & > button {
              width: 120px;
            }
          }

          .input-group {
            display: flex;
            align-items: center;

            span {
              margin-right: 10px;
              font-weight: 600;
            }

            input {
              border-color: #e5e5e5;
            }

            &:nth-child(3) {
              margin-left: 30px;
            }

          }

          button {
            margin-left: 10px;
            padding: 6px;

            i {
              margin-right: 0;
            }
          }

        }

        .week-day-time-wrap,
        .month-date-time-wrap {
          border: 1px solid #e5e5e5;
          border-radius: 5px;
          padding: 10px;
          margin-bottom: 10px;

          h4 {
            margin-top: 0;
            margin-bottom: 10px;
          }
        }

        .input-group {
          width: max-content;
          max-width: 100%;

          &.disabled {
            opacity: .5;

            .components-button-group,
            .radio-player-color-palette,
            .thumbnail-uploader-wrap {
              pointer-events: none;
            }
          }
        }

      }

      .upload-input-wrap {
        display: flex;
        align-items: center;

        input {
          width: 300px;

          &::placeholder {
            color: #ccc;
          }

        }

        button {
          margin-left: 15px;
          display: flex;
          align-items: center;
          background: #FFF;
          border-radius: 7px;
          height: 40px;

          &.select-file-btn {
            color: $radio_player_color;
            border: 1px dashed rgba(#5CB85C, .5);

            &:hover {
              background: #D5F0DB;
            }
          }

          &.remove-file-btn {
            color: #D9534F;
            border: 1px dashed rgba(#D9534F, .5);

            &:hover {
              background: #F2DEDE;
            }
          }

          i {
            width: auto;
            height: auto;
            font-size: 24px;
          }

          span:nth-child(2) {
            margin-left: 5px;
          }

        }

        .thumbnail-preview {
          width: 50px;
          border-radius: 7px;
          margin-right: 10px;
        }

      }

      .stream-type {
        display: flex;
        flex-direction: column;
        border: 1px solid #dddd;
        padding: 15px;
        border-radius: 7px;
        background: #FAFAFA;

        .source-type {
          margin-bottom: 10px;
        }

        .form-label {
          margin-top: 0;
          margin-bottom: 10px;
          margin-right: 0;
          width: 100%;

          &:after {
            content: "";
          }

        }

      }

      .fallback-field {
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        border: 1px solid #dddd;
        padding: 15px;
        border-radius: 7px;
        background: #FAFAFA;

        .source-type {
          margin-bottom: 10px;
        }

        .form-label {
          margin-top: 0;
          margin-bottom: 10px;
          margin-right: 0;
          width: 100%;

          &:after {
            content: "";
          }

        }

      }

      .add-new-btn {
        width: max-content;

        &.disabled {
          opacity: .5;
        }
      }

      .skins {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        row-gap: 20px;

        .skin-item {
          width: calc(33.33% - 20px);
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          border: 1px dashed #e5e5e5;
          border-radius: 10px;
          cursor: pointer;
          position: relative;
          overflow: hidden;
          background: #F7F8FA;

          &:nth-child(3n) {
            margin-right: 0;
          }

          &:hover {
            border-color: $radio_player_color_light;
          }

          &.active {
            border-color: $radio_player_color;
            border-style: solid;

            &:after {
              content: '\f15e';
              position: absolute;
              top: 7px;
              right: 7px;
              width: 20px;
              height: 20px;
              font-size: 20px;
              padding: 5px;
              background-color: $radio_player_color;
              color: #FFF;
              font-family: Dashicons;
              border-radius: 30px;
              z-index: 1;
              display: flex;
              align-items: center;
              justify-content: center;
              line-height: 1;
            }

            .skin-title {
              background: $radio_player_color_dark;
              border-color: rgba(#40CE87, .2);
              color: #FFF;

              a {
                border-color: $radio_player_color;
                color: $radio_player_color_dark;
              }
            }

          }

          .img-wrap {
            margin-top: auto;
          }

          img {
            width: 100%;
            height: 100%;
          }

          .skin-title {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 7px 10px;
            background: rgba(#40CE87, .1);
            margin-top: auto;
            border-top: 1px solid rgba(#40CE87, .2);

            a {
              color: #555;
              background: #FFF;
              text-decoration: none;
              display: flex;
              align-items: center;
              font-size: 12px;
              border: 1px solid #ccc;
              border-radius: 7px;
              padding: 4px 6px;
              transition: all .3s ease;

              &:hover {
                background: #40CE87;
                color: #FFF;
                border-color: $radio_player_color_dark;
              }

              i {
                margin-right: 5px;
                height: 18px;
                width: 18px;
                font-size: 18px;
                transition: none;
              }
            }

          }

          &.pro {
            border-color: rgba(#FFC300, .5);
            border-style: solid;

            .skin-title {
              background: rgba(#FFC300, .2);
              border-color: rgba(#FFC300, .1);

              a {
                background: #FFF;
                border-color: #ccc;

                &:hover {
                  background: $radio_player_color;
                  color: #FFF;
                  border-color: $radio_player_color_dark;
                }

              }
            }

          }

          .pro-icon-wrap {
            position: absolute;
            top: 10px;
            right: 10px;
            background: #FFC300;
            display: flex;
            align-items: center;
            color: #FFF;
            padding: 5px 7px;
            border-radius: 15px;

            i {
              margin-right: 3px;
            }
          }

        }

      }

      .settings-footer {
        margin-top: 30px;
        display: flex;
        align-items: center;
        justify-content: space-between;

        button {
          margin-right: 15px;
          padding: 10px 15px;

          &:first-child, &:last-child {
            background: #FFF;
            color: $radio_player_color;
            border-color: rgba(#2FB44B, .3);

            &:hover {
              background: #D5F0DB;
            }
          }

          &:last-child {
            i {
              margin-right: 0;
              margin-left: 5px;
            }
          }

          &.disabled {
            opacity: .5;
            pointer-events: none;
            background: #DDD;
            border-color: #DDD;

            &:hover {
              background: #DDD;
              border-color: #DDD;
            }
          }

        }
      }

      .width-devices {
        margin-bottom: 10px;

        button {
          i {
            margin-right: 5px;
          }
        }
      }

      @media (max-width: 1199px) and (min-width: 992px) {

        .settings-tabs {
          flex-wrap: wrap;
          padding: 10px;

          button {
            margin: 10px 0;
            font-size: .875rem;
            font-weight: 400;

            &:after {
              display: none;
            }

            .tab-icon {
              margin-right: 5px;
            }
          }
        }

        .form-group {
          flex-direction: column;
          align-items: flex-start;
          padding: 10px;

          .form-label {
            margin-right: 0;
            justify-content: flex-start;
            margin-bottom: 7px;

            &:after {
              display: none;
            }
          }

          .form-field {
            width: 100%;

            .description {
              font-size: 12px;
              word-break: break-all;
            }
          }
        }

        .skins {
          .skin-item {
            width: calc(50% - 10px);

            &:nth-child(2n) {
              margin-right: 0;
            }

            &:last-child {
              margin-right: auto;
              margin-left: 0;
            }
          }
        }
      }

      @media (max-width: 991px) {
        width: 100%;

        .thumbnail-uploader-wrap {
          button {
            margin: 5px;
          }
        }

        .skins {
          .skin-item {
            width: 48%;
            margin-bottom: 10px;

            &:last-child {
              margin: 0;
            }
          }
        }
      }

      @media (max-width: 767px) {

        .form-group {
          flex-direction: column;
          align-items: flex-start;
          padding: 10px;

          .form-label {
            margin-right: 0;
            justify-content: flex-start;
            margin-bottom: 7px;

            &:after {
              display: none;
            }
          }

          .form-field {
            width: 100%;

            .description {
              font-size: 12px;
              word-break: break-all;
            }
          }
        }

        .settings-tabs {
          flex-direction: column;
          align-items: flex-start;
          margin-bottom: 20px;
          position: static;

          button {
            margin: 10px 0;

            &:after {
              display: none;
            }
          }
        }

        .skins {
          .skin-item {
            width: 100%;
          }
        }
      }


    }

    &-sidebar {
      width: calc(40% - 20px);
      margin-left: 20px;
      position: sticky;
      top: 32px;

      @media (max-width: 991px) {
        width: 100%;
        margin-left: 0;
        position: static;
        margin-bottom: 20px;
      }

    }

    &-actions {
      background: #FFF;
      border-radius: 10px;
      padding: 12px 15px;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;

      .btn-delete {
        background: #FFD700;
        color: #FFF;
      }

      .btn-save {
        margin-left: auto;
      }

    }

    // Browser
    .preview-browser {
      border: 1px solid #ddd;
      border-radius: 15px;
      margin: auto;
      overflow: hidden;
      background: #fff;

      &.device-mobile {
        width: 375px;
      }

      &.device-tablet {
        width: 768px;
        max-width: 100%;
      }

    }

    .preview-browser-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px;
      background-color: #ebebeb;
      border-bottom: 1px solid #eee;

      .preview-browser-devices {
        .dashicons {
          font-size: 20px;
          margin-right: 10px;
          cursor: pointer;
          color: #555;

          &:hover {
            color: #333;
          }

          &.active {
            color: $radio_player_color;
          }

          &:last-child {
            margin-right: 0;
          }
        }
      }

    }

    .preview-browser-buttons {
      display: flex;

      .header-button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin-right: 4px;
      }

      .close {
        background-color: #ff605c;
      }

      .minimize {
        background-color: #FFC130FF;
      }

      .maximize {
        background-color: #2ECA71FF;
      }
    }

    .preview-browser-url {
      display: flex;
      align-items: center;

      i {
        margin-right: 5px;
      }
    }

    .browser-content {
      padding: 30px 15px;
    }

    .preview-devices {
      margin: 20px auto 0 auto;
      display: block;
    }


  }

  .rp-checkboxes {
    display: flex;
    flex-wrap: wrap;

    .rp-checkbox {
      margin-bottom: 10px;
      margin-right: 8px;
      border: 1px solid #eee;
      padding: 5px 8px;
      border-radius: 5px;

      .components-base-control__field {
        display: flex;
        align-items: center;
      }

    }

    .components-checkbox-control__input-container {
      margin-right: 5px;

      input {
        &:focus {
          outline: none;
          box-shadow: none;
        }
      }

    }

    .components-checkbox-control__label {
      text-transform: capitalize;
      font-size: .75rem;
    }

    .week-day,
    .month-date, {
      .rp-checkbox {
        background: #FFF;
      }
    }

  }

  .btn-tools {
    margin-left: 10px;
    padding: 0 !important;
    background: transparent;
    color: #555;
    transform: rotate(90deg);
  }

  .options-tooltip {
    padding: 0;
    border-radius: 7px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .action-tools {
    display: flex;
    flex-direction: column;

    button {
      padding: 10px 15px;
      display: flex;
      background: transparent;
      color: #555;
      justify-content: flex-start;
      border-radius: 0;
      border-bottom: 1px solid #e5e5e5;
      font-size: .875rem;
      margin: 0;

      &:hover {
        background: #e5e5e5;
      }

      &:last-child {
        border-bottom: none;
        margin-bottom: 0;
      }

      &.btn-delete {
        color: #FF605C;
      }

    }
  }

  .shortcode-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    width: max-content;
    background: #F5F5F5;

    code {
      padding: 10px 10px 10px 35px;

      background: #FFF;
      color: #5C637E;
      border-radius: 7px;
      border: 1px solid rgba(#5C637E, .2);
      font-size: 12px;
      word-break: break-all;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    i {
      left: 3px;
      color: $radio_player_color_light;
      padding: 7px;
      border-radius: 30px;
      height: auto;
      width: auto;
      cursor: pointer;
      position: absolute;
      font-size: 24px;
    }
  }

  .radio-player-select {
    .radio-player-select__input {
      height: auto;
    }
  }

}

.station-item {
  margin-bottom: 15px;
  border: 1px solid rgba(#5CB85C, .5);
  border-radius: 5px;
  background: #F7F8FA;

  .station-item-header {
    display: flex;
    align-items: center;
    background-color: rgba(#5CB85C, .3);
    padding: 7px;

    .sort-item {
      margin-right: 5px;
      cursor: pointer;
      transition: all .3s ease;
      fill: #a9a9a9;

      &:hover {
        fill: $radio_player_color_dark;
      }
    }

    h4 {
      margin: 0;
      color: #555;
      margin-right: auto;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      transition: all .3s ease;
      cursor: pointer;
      flex: 1;

      &:hover {
        color: $radio_player_color_dark;
      }

    }

    button {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 32px;
      width: 32px;
      transition: all .3s ease;
      min-height: auto;
      background: transparent;
      border: none;

      &.button-primary {
        color: $radio_player_color_dark;

        &:hover {
          color: #FFF;
          background: $radio_player_color_dark;
        }

      }

      &.button-link-delete {
        color: #FF605C;

        &:hover {
          color: #FFF;
          background: #FF605C;
        }
      }

    }

  }

  .station-item-body {
    border-top: none;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;

    .form-field.stream {
      > div {
        input {
          flex: 1;
        }
      }
    }

    .thumbnail-uploader-wrap {
      .thumbnail-preview-wrap {
        img {
          max-width: 100px;
        }
      }
    }

    .form-group {
      border-bottom: 1px solid #ededed;
      border-radius: 0;
    }

  }

  &.sortable-item {
    .station-item-header {
      border-radius: 5px;
    }

    .station-item-body {
      display: none;
    }
  }

  .form-group {
    margin-bottom: 0 !important;

    .form-label {
      width: 100px !important;
    }
  }

  &.active {
    .station-item-header {
      border-bottom-right-radius: 0;
      border-bottom-left-radius: 0;
    }
  }

  @media (max-width: 767px) {
    .form-group {
      flex-direction: column;
      margin-bottom: 15px;

      .form-label {
        margin-bottom: 10px;
      }
    }
  }

}


.notice-wrap {
  background: #FFF;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  padding: 10px;
  margin: 10px 0;
  display: flex;
  align-items: center;
  position: relative;

  .notice-icon {
    margin-right: 15px;
    width: 30px;
    height: 30px;
    font-size: 30px;
  }

  .notice-content {
    flex: 1;
    margin-right: 15px;
  }

  p {
    margin: 0;
  }

  a {
    text-decoration: none;
    color: #007bff;
  }

  .notice-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
  }


  &.notice-warning {
    border-color: #FFD700;
    background: #FFF8E1;

    .notice-icon {
      color: #FFD700;
    }
  }

}

/*----- pagination -----*/
.player-list-pagination {

  display: flex;
  padding: 0;

  li {
    justify-content: center !important;
    flex-wrap: wrap !important;
    list-style: none;
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px 16px;
    text-decoration: none !important;
    font-size: 15px;
    margin-left: -1px;
    border: 1px solid #dee2e6;
    margin-right: 0;
    margin-top: 0;
    cursor: pointer;
    background: #fff;

    &:hover, &.selected {
      background: $radio_player_color;
      color: #fff;
      border-color: $radio_player_color;
    }

    &.disabled {
      background: #D5D8DC;
      color: #333;
      cursor: not-allowed;
      border: none;
    }

    &:first-child {
      border-top-left-radius: 3px;
      border-bottom-left-radius: 3px;
    }

    &:last-child {
      border-top-right-radius: 3px;
      border-bottom-right-radius: 3px;
    }

    svg {
      fill: currentColor;
    }

  }
}