.content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  background: var(--color-white);
  border-bottom: 1px solid #eee;
  min-height: 48px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  z-index: 40;

  .content-header-left,
  .content-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  #dynamic-action-btn {
    display: none;
  }

  .icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
    &:hover {
      opacity: 1;
      transform: scale(1.1);
    }
    &.spin {
      animation: spin 0.3s linear;
    }
  }

  #dynamic-action-btn[src] {
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.2s ease;
    &:hover {
      animation: action-hover 0.25s forwards;
    }
    &:active {
      animation: action-click 0.2s forwards;
    }
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes action-hover {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes action-click {
  0% { transform: scale(1); }
  40% { transform: scale(0.9); }
  100% { transform: scale(1); }
}
