.shared-panel {
  box-shadow:
    0px 0px 8px 0px rgba(223, 223, 223, 0.5),
    0px 3px 4px 0px rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  .shared-panel-header {
    height: 97px;
    box-shadow:
      0px 0px 8px 0px rgba(223, 223, 223, 0.5),
      0px 12px 23px 0px rgba(62, 73, 84, 0.04);
    border-radius: 20px 20px 0px 0px;
    padding-left: 32px;
    padding-right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .title {
      font-size: 20px;
      font-weight: 500;
      line-height: 97px;
      text-shadow: 0px 0px 8px rgba(223, 223, 223, 0.5);
    }

    .header-button-group {
      display: flex;
      align-items: center;
      padding: 8px 10px;
      background-color: rgba(225, 225, 225, 0.57);
      border-radius: 49px;
    }
    .button-item {
      display: inline-block;
      min-width: 135px;
      text-align: center;
      height: 47px;
      background: transparent;
      border-radius: 45px;
      line-height: 46px;
      color: #656565;
      margin-right: 8px;
      padding: 0 16px;
      cursor: pointer;
      transition: all 0.3s;
      font-size: 18px;
      font-weight: 600;
      &:hover {
        background-color: #ffffff50;
      }

      &:last-child {
        margin-right: 0;
      }
      &.active {
        background-color: #ffffff;
        color: var(--deep-blue);
      }
    }
  }
  .shared-panel-content {
    padding: 24px;
  }
}

.shared-button-group {
  display: flex;
  align-items: center;
  height: 100%;
}
.shared-button-item {
  display: inline-block;
  border-radius: 10px;
  padding: 0 24px;
  height: 32px;
  line-height: 32px;
  color: rgba(102, 102, 102, 0.667);
  margin-right: 8px;
  cursor: pointer;
  transition: all 0.3s;
  &:hover {
    background-color: var(--ant-primary-1);
  }

  &:last-child {
    margin-right: 0;
  }
  &.active {
    background-color: var(--deep-blue);
    color: #ffffff;
  }
}

.play-pulse {
  animation: heart-pulse 2s linear infinite;
  &:hover {
    animation-duration: 1850ms;
    animation-delay: 150ms;
    animation-name: heart-pulse;
  }
}
.orange-var {
  --shadow-width: 10px;
  --shadow-color: #fd6d1f;
}
@keyframes heart-pulse {
  0% {
    background-color: #fd6d1f;
    opacity: 1;
    box-shadow: 0.5px 0 0 0 #fd6d1f;
  }
  70% {
    background-color: #fd6d1f;
    opacity: 0.3;
    box-shadow: 0 0 0 10px rgba(229, 0, 119, 0);
  }
  100% {
    background-color: #fd6d1f;
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(229, 0, 119, 0);
  }
}

.gradient-text {
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
  background: linear-gradient(180deg, #ffffff 40%, #96bdfe 99%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fake-compose-position-input {
  display: block;
  min-height: 32px;
  // width: 200px;
  // margin-left: 8px;
  cursor: pointer;
  position: relative;
  padding-right: 24px;
  .clear {
    transition: all 0.2s;
    position: absolute;
    right: 8px;
    top: 50%;
    color: #999999;
    transform: translate(0, -50%) scale(1);
    opacity: 0;
    &:hover {
      color: #666666;
      transform: translate(0, -50%) scale(1.1);
    }
  }
  &:hover {
    &:not(.readonly) {
      .clear {
        opacity: 1;
      }
    }
  }
}
