.resource-main {
  height: 100%;

  :global {
    .n-tabs-tab-pad {
      width: 24px !important;
    }

    .n-tabs-nav {
      padding: 12px 20px 24px;
      position: relative;
    }

    .n-tabs-tab {
      color: #8B8D98;
      font-size: max(18px, 13Px);
      padding-top: 12px;
      padding-bottom: 6px;
      line-height: 22px;

      &.n-tabs-tab--active {
        font-weight: 600 !important;
        color: #131415 !important;
      }
    }

    .n-tabs-tab__label {
      z-index: 10;
    }

    .n-tabs-bar {
      height: 10px;
      background: linear-gradient(90deg, #77BBFF 0%, rgba(163, 231, 255, 0.22) 100%);
      z-index: 0;
      bottom: 6px;
    }

    .n-tab-pane {
      padding-top: 0 !important;
    }

    .n-tabs-nav__suffix {
      padding-left: 0 !important;
    }

    .n-tabs.n-tabs--top .n-tabs-nav-scroll-wrapper::after {
      box-shadow: none !important;
    }
  }

  .iconScreen {
    margin-top: 6px;
    position: absolute;
    right: 20px;
    font-size: 18px;
    color: var(--n-color);
    font-weight: bold;
    width: 22px;
    height: 22px;
    cursor: pointer;
  }

  .homerowkTabs {
    :global {
      .n-tabs-tab-pad {
        width: 15px !important;
      }

      .n-tabs-tab {
        color: #8B8D98;
        font-size: max(18px, 13Px);
      }

      .v-x-scroll {
        padding-right: 40px;
      }
    }
  }

}

:global {

  .workSetingBoxClass_drag,
  .selectResourceStatusAddBoxClass_drag {
    .bom_drag {
      position: absolute;
      left: 0;
      bottom: 0;
      z-index: 1;
    }
  }
}

.selectMusicModal {
  position: relative;
  width: 1352px;

  :global {
    .n-card-header {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;

      .n-card-header__main {
        color: #fff;
      }
    }
  }
}

.trainEditModal {
  width: 524px;
}