:host {
  display: block;
  padding: 20px;
  height: calc(100vh - var(--datav-header-height));
  overflow-y: auto;
}

.panel-box {
  color: #ffffff;
  background-color: rgba(45, 54, 71, 0.3);
  border-radius: 4px;
  border: 1px solid rgba(145, 185, 255, 0.1);
  padding: 0 20px 20px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 53px;

  .period-buttons {
    height: 100%;
    flex: 1;
    display: flex;
    border-bottom: 1px solid rgba(145, 185, 255, 0.2);
    .btn {
      min-width: 120px;
      height: 100%;
      border-bottom: 3px solid transparent;
      background: transparent;
      text-align: center;
      line-height: 47px;
      font-size: 24px;
      cursor: pointer;
      user-select: none;
      &:hover {
        border-bottom: 3px solid rgba(25, 108, 251, 0.15);
        background: linear-gradient(180deg, rgba(25, 108, 251, 0) 0%, rgba(25, 108, 251, 0.15) 100%);
      }
      &.active {
        border-bottom: 3px solid #5593ff;
        background: linear-gradient(180deg, rgba(25, 108, 251, 0) 0%, rgba(25, 108, 251, 0.15) 100%);
        color: #5593ff;
        font-weight: 600;
      }
    }
  }

  .period-widget {
    width: 150px;
    height: 100%;
    display: flex;
    align-items: end;
    justify-content: flex-end;
  }
}
