.radio-player.skin12.shortcode {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  padding: 0;
  box-shadow: rgba(100, 100, 111, 0.2) 0 7px 29px 0;

  .radio-player-wrap {
    display: flex;
    flex-wrap: wrap;
    height: 500px;
    width: 100%;
    border-bottom: 1px solid rgba(92, 99, 126, 0.24);
    position: relative;

    // Scrollbar
    .radio-player-content-list,
    .playlist-items {
      &::-webkit-scrollbar {
        width: 6px;
        height: 6px;
      }

      &::-webkit-scrollbar-thumb {
        background: rgba(92, 99, 126, 0.24);
        border-radius: 10px;
      }

      &::-webkit-scrollbar-track {
        background: rgba(92, 99, 126, 0.16);
        border-radius: 10px;
      }
    }


    // Sidebar
    .radio-player-sidebar {
      padding: 20px 15px;
      width: 30%;
      max-width: 250px;
      height: 100%;


      .title {
        display: flex;
        gap: 8px;
        align-items: center;
        flex-wrap: nowrap;
        margin-bottom: 20px;

        img {
          max-width: 30px;
          height: 30px;
        }

        h3 {
          font-size: 16px;
          font-style: normal;
          background: linear-gradient(154deg, #bbe897 3.43%, #08cd87 90.47%);
          background-clip: text;
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          font-weight: 600;
          line-height: normal;
          text-transform: uppercase;
          margin: 0;
          padding: 0;
        }

        .sidebar-close {
          margin-left: auto;
          opacity: .7;
          display: none;

          i {
            width: 24px;
            height: 24px;
            font-size: 24px !important;
            color: #555;
            cursor: pointer;
          }

          &:hover {
            opacity: 1;
          }

        }

      }

      .search {
        position: relative;
        margin-bottom: 15px;

        input {
          width: 100%;
          height: 33px;
          border-radius: 5px;
          border: 1px solid #e5e5e5;
          padding: 8px 16px;
          border-radius: 5px;
          border: 1px solid rgba(92, 99, 126, 0.16);
          background: rgba(255, 255, 255, 0.6);
          box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.02);

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

          &::placeholder {
            color: rgba(92, 99, 126, 0.6);
            font-family: Inter;
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
          }
        }

        svg {
          position: absolute;
          top: 50%;
          right: 16px;
          transform: translateY(-50%);
        }
      }

      .playlist-wrap {
        display: flex;
        flex-direction: column;
        height: calc(100% - 85px);

        .playlist-title {
          color: #212121;
          font-size: 14px;
          font-style: normal;
          font-weight: 600;
          line-height: normal;
          text-align: left;
          margin-bottom: 10px;
        }

        .playlist-items {
          overflow-y: auto;
          padding-right: 10px;
          margin-right: -15px;
        }

        .playlist-item {
          text-transform: capitalize;
          margin-bottom: 8px;
          cursor: pointer;

          &-header {
            display: flex;
            justify-content: space-between;
            gap: 10px;
            padding: 8px;
            border-radius: 5px;
            background: linear-gradient(154deg, rgba(187, 232, 151, 0.16) 3.43%, rgba(8, 205, 135, 0.16) 90.47%);

            &-content {
              display: flex;
              align-items: center;
              gap: 8px;

              svg {
                path {
                  fill: #5c637e;
                }
              }

              span {
                color: #5c637e;
                font-family: Inter;
                font-size: 14px;
                font-style: normal;
                font-weight: 500;
                line-height: normal;
              }
            }
          }

          &-stations {
            display: none;
            flex-direction: column;

            .playlist-item-station {
              color: #111;
              font-size: 12px;
              font-style: normal;
              font-weight: 400;
              line-height: normal;
              padding: 7px 7px 7px 15px;
              margin: 0;
              text-align: left;
              width: 100%;

              &.active {
                color: $radio_player_color_dark;
              }
            }
          }

          &.active {
            .playlist-item-header {
              background: linear-gradient(154deg, #bbe897 3.43%, #08cd87 90.47%);

              svg {
                path {
                  fill: #fff;
                }
              }

              span {
                color: #fff;
              }
            }

            .playlist-item-stations {
              display: flex;
            }
          }

        }

      }
    }

    .radio-player-content {
      background-color: #fff;
      flex: 1;
      height: 100%;

      // Content Header
      &-header {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        align-items: center;

        .sidebar-toggle {
          margin-right: 5px;

          i {
            height: 24px;
            width: 24px;
            font-size: 24px !important;
            color: #333;
          }
        }

        .header-title {
          color: #111;
          font-size: 20px;
          font-style: normal;
          font-weight: 500;
          line-height: normal;
          text-transform: capitalize;
          margin: 0 auto 0 0;
        }

        .header-sort {
          display: flex;
          gap: 0px;
          align-items: center;

          .sort-title {
            margin: 0;
            color: #000;
            font-family: Inter;
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
          }

          select {
            border: 0;
            color: #00bb45;
            width: min-content;
            box-shadow: none;

            &:focus {
              outline: none;
            }
          }
        }
      }


      // Stations list
      &-list {
        display: flex;
        gap: 15px;
        flex: 1;
        flex-wrap: wrap;
        max-height: calc(100% - 50px);
        overflow-y: auto;
        padding: 10px 15px 15px;
        align-items: flex-start;

        .station-item {
          border-radius: 10px;
          position: relative;
          width: calc(33.33% - 10px);
          aspect-ratio: 1;
          border: 1px solid #ddd;
          overflow: hidden;

          img {
            width: 100%;
            height: calc(100% - 30px);
            object-fit: cover;
          }

          button {
            position: absolute;
            left: 50%;
            top: calc(50% - 12px);
            transform: translate(-50%, -50%);
            border: 1px solid #ddd;
            cursor: pointer;
            background: #fff;
            border-radius: 50%;
            box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.2);
            padding: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: all 0.3s ease;

            &:hover {
              background: #08cd87;
              box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.2);
            }

            svg {
              width: 30px;
              height: 30px;

              path {
                fill: #333;
              }
            }
          }

          &-title {
            border-radius: 0 0 10px 10px;
            background: rgba(108, 108, 108, 0.6);
            backdrop-filter: blur(3.5px);
            color: #fff;
            padding: 10px;
            width: 100%;
            position: absolute;
            bottom: 0;
            font-size: 12px;
            font-style: normal;
            font-weight: 500;
            line-height: normal;
            text-transform: capitalize;
            margin: 0;
          }

          &.active {
            border-color: $radio_player_color_light;

            button {
              background: #08cd87;
              box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.2);

              svg {
                path {
                  fill: #fff;
                }
              }
            }

            &-title {
              background: rgba(8, 205, 135, 0.6);
            }
          }

        }
      }

    }
  }

  .radio-player-footer {
    display: flex;
    flex-wrap: wrap;
    padding: 7px 15px;
    width: 100%;
  }

  .radio-player-details {
    max-width: 50%;
    width: auto;
    justify-content: flex-start;

    .radio-player-thumbnail {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
    }

    .station-meta-wrap {
      flex: 1;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      padding-right: 10px;

      .radio-player-title {
        color: var(--radio-player-text-color);
      }

      .radio-player-status {
        margin-left: 10px;
      }

      .radio-player-song-title {
        margin-bottom: 0;
        width: 100%;
        align-items: flex-start;
        margin-top: 7px;
      }

    }
  }

  .radio-player-controls {
    flex: 1;
    justify-self: flex-end;
    margin-left: auto;

    button {
      box-shadow: none;

      svg {
        width: 20px;
        height: 20px;
      }

      &.radio-play-pause {

      }

      &.active,
      &:hover {
        background: transparent !important;
      }
    }

    span {
      color: var(--radio-player-text-color);
      margin: 0;
      font-size: 1rem;
    }
  }

  &.player-xxs,
  &.player-xs {

    .radio-player-wrap {

      .radio-player-sidebar {
        width: 100%;
        max-width: 100%;
        height: 100%;
        padding: 15px 10px;
        position: absolute;
        z-index: 99;
        background: #fff;

        .sidebar-close {
          display: block;
        }

      }

      .radio-player-content {
        &-list {
          .station-item {
            width: calc(50% - 10px);
          }
        }
      }

    }

    .radio-player-footer {
      padding: 5px 10px;
      position: relative;

      .radio-player-details {
        max-width: 60%;

        .radio-player-thumbnail {
          width: 40px;
          height: 40px;
          border-radius: 5px;
        }

        .station-meta-wrap {
          .radio-player-title {
            font-size: 14px;
          }

          .radio-player-status {
            font-size: 12px;
          }

          .radio-player-song-title {
            font-size: 12px;
          }
        }
      }

      .radio-player-controls {

        .popup-icon,
        .radio-player-volume,
        .playlist-icon, {
          display: none;
        }

        .radio-player-progressbar {
          position: absolute;
          top: -5px;
          width: 100%;
          max-width: 100%;
          padding: 0;
          left: 0;
          margin: 0;
          height: auto;
          border-radius: 0;

          .progress-time,
          .progress-handle {
            display: none;
          }

          .progress-slider {
            height: 5px;
            border-radius: 0;
          }

        }

      }

    }

  }

  &.player-xs {
    .radio-player-content {
      &-list {
        .station-item {
          width: calc(33% - 10px) !important;
        }
      }
    }
  }

  &.player-sm {
    .radio-player-wrap {

      .radio-player-content {
        &-list {
          .station-item {
            width: calc(33% - 10px);
          }
        }
      }

      &:not(:has(.radio-player-sidebar)) {
        .radio-player-content {
          &-list {
            .station-item {
              width: calc(25% - 12px);
            }
          }
        }
      }

    }
  }

  &.player-lg {
    .radio-player-wrap {

      .radio-player-content {
        &-list {
          .station-item {
            width: calc(25% - 12px);
          }
        }
      }

      &:not(:has(.radio-player-sidebar)) {
        .radio-player-content {
          &-list {
            .station-item {
              width: calc(20% - 12px);
            }
          }
        }
      }

    }
  }

  &.player-xl {
    .radio-player-wrap {

      .radio-player-content {
        &-list {
          .station-item {
            width: calc(20% - 12px);
          }
        }
      }

      &:not(:has(.radio-player-sidebar)) {
        .radio-player-content {
          &-list {
            .station-item {
              width: calc(16.5% - 12px);
            }
          }
        }
      }

    }
  }

}
