@import "components/helpers";
@import "components/app";
@import "components/getting-started";
@import "components/settings";
@import "components/context-menu";

@import "components/notice";
@import "components/chart-widget";
@import "components/statistics";
@import "components/datepicker";

@import "components/player/player";
@import "components/player/skin1";
@import "components/player/skin2";
@import "components/player/skin3";
@import "components/player/skin4";
@import "components/player/skin5";
@import "components/player/skin6";
@import "components/player/skin7";
@import "components/player/skin8";
@import "components/player/skin9";
@import "components/player/skin10";
@import "components/player/skin11";
@import "components/player/skin12";


.menu-top#toplevel_page_radio-player {
  .wp-menu-image {
    img {
      padding-top: 5px;
    }
  }

  a[href="admin.php?page=radio-player-getting-started"] {
    color: $radio_player_color;
    font-weight: 500;

    &:hover {
      color: $radio_player_color_dark;
    }
  }

}

body.radio-player_page_radio-player-getting-started {
  #wpcontent {
    padding: 0;
    background: #FFF;
  }
}

//Radio Player Admin Pages
body.toplevel_page_radio-player,
body.radio-player_page_radio-player-add-new,
body.radio-player_page_radio-player-getting-started,
body.radio-player_page_radio-player-statistics,
body.radio-player_page_radio-player-settings, {

  #wpbody-content {
    & > div.updated,
    & > div.error,
    & > div.notice:not(.radio-player-admin-notice) {
      display: none !important;
    }
  }

  #wpfooter {
    display: none;
  }
}

.menu-top#toplevel_page_radio-player {

  a[href="admin.php?page=radio-player-getting-started"], {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 5px;
  }

  a[href="admin.php?page=radio-player-recommended-plugins"], {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 5px;
    padding-right: 0;
  }

  a:has(.radio-player-icon.icon-pro) {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: darken(#ffc300, 2%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3px;
    padding-top: 7px;

    i {
      margin-right: 5px;
    }

    &:hover {
      color: darken(#ffc300, 5%);
    }

  }

  a:has(.radio-player.account) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 5px;
    padding-top: 7px;
  }

}

.radio-player-swal {
  z-index: 99999;

  &-toast {
    .swal2-popup {
      padding: 5px 10px 5px 15px;

      .swal2-icon {
        margin: 0;
      }

      .swal2-title {
        margin-bottom: 0;
        margin-left: 12px;
      }

      .swal2-html-container {
        margin-top: 5px;
        font-size: 13px;
        margin-bottom: 0;
      }

    }

  }

}