.wp-admin {
  // Page: Add/Edit Post
  #chps_customfields {
    .section {
      margin-bottom: 1rem;

      label {
        display: inline-block;
        margin-bottom: 8px;
      }
    }

    #chps_image_preview {
      #clear_image {
        display: none;
      }

      &.has-image {
        padding-top: 66%;
        position: relative;
        overflow: hidden;

        img {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          object-fit: cover;
          object-position: top center;
        }

        #clear_image {
          position: absolute;
          background: #333;
          color: #fff;
          border: 1px solid;
          display: block;
          width: 25px;
          height: 25px;
          line-height: 25px;
          font-size: 15px;
          border-radius: 100%;
          z-index: 999;
          text-align: center;
          top: 10px;
          right: 10px;
          cursor: pointer;

          &:hover {
            background: black;
          }
        }
      }
    }
  }

  // Page: Add/Edit Content Hub
  &.post-type-chps-content-hub.post-new-php, 
  &.post-type-chps-content-hub.post-php {
    .intro {
      background-image: url(images/bg_black.png);
      background-repeat: no-repeat;
      background-position: top left;
      background-color: rgb(29, 35, 39);
      background-size: cover;
      padding: 30px 26px;
      margin: -6px -12px 0 -12px;
      color: white;

      img {
        width: 390px;
        max-width: 100%;
      }

      h2 {
        color: #fff;
        font-size: 24px !important;
        padding: 0 !important;
        margin-top: 30px !important;
      }
    }

    .shortcode {
      margin: 50px 15px;
    }

    .chps-wrap-settings {
      display: flex;
      padding-bottom: 60px;

      .chps-settings {
        width: 100%;

        .shortcode {
          padding: 20px 10px;
        }
    
        .nav-tab-wrapper {
          .nav-tab {
            outline: none;
            box-shadow: none;
          }
        }
    
        .tab-content {
          .tab-pane {
            display: none;
            padding: 1rem;
    
            &.active {
              display: block;
            }
          }
        }
    
        .form-table td {
          vertical-align: top;
        }
    
        #chps_image_preview {
          #clear_image {
            display: none;
          }
    
          &.has-image {
            padding-top: 66%;
            position: relative;
            overflow: hidden;
    
            img {
              position: absolute;
              top: 0;
              left: 0;
              width: 100%;
              height: 100%;
              object-fit: cover;
              object-position: top center;
            }
    
            #clear_image {
              position: absolute;
              background: #333;
              color: #fff;
              border: 1px solid;
              display: block;
              width: 25px;
              height: 25px;
              line-height: 25px;
              font-size: 15px;
              border-radius: 100%;
              z-index: 999;
              text-align: center;
              top: 10px;
              right: 10px;
              cursor: pointer;
    
              &:hover {
                background: black;
              }
            }
          }
        }
    
        .sublabel_color {
          font-weight: bold;
          display: inline-block;
          margin-right: 10px;
          line-height: 30px;
          top: 5px;
          position: relative;
        }
    
        .hint {
          margin-top: 15px;
          margin-bottom: 15px;
          font-style: italic;
          opacity: 0.6;
        }
    
        .pro-badge {
          display: inline-block;
          background: #135e96;
          border-radius: 3px;
          color: white;
          text-transform: uppercase;
          padding: 1px 5px;
          margin: 5px 5px 5px 0;
        }
      
        .chps-gopro-tr td {
          opacity: 0.65;
        }
      }
  
      .chps-upgrade-info {
        >div {
          padding: 40px 60px;
          width: 300px;
          margin: 90px 30px auto 90px;
          background-image: url(images/bg_black.png);
          background-repeat: no-repeat;
          background-position: top left;
          background-color: rgb(29, 35, 39);
          background-size: cover;
          color: white;

          ul {
            list-style-type: inherit;
            padding: 0 0 0 15px;
            margin-bottom: 30px;
          }
        }
      }
    }
  }
}
